-- MySQL dump 10.9 -- -- Host: localhost Database: aoty2007 -- ------------------------------------------------------ -- Server version 4.1.9-max /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE="NO_AUTO_VALUE_ON_ZERO" */; -- -- Table structure for table `catches` -- DROP TABLE IF EXISTS `catches`; CREATE TABLE `catches` ( `id` int(10) unsigned NOT NULL auto_increment, `user_id` int(11) NOT NULL default '0', `species_id` int(11) NOT NULL default '0', `length` double NOT NULL default '0', `date` date NOT NULL default '0000-00-00', `image` varchar(255) NOT NULL default '', `image2` varchar(255) NOT NULL default '', `image3` varchar(255) NOT NULL default '', `notes` text NOT NULL, `created_at` datetime NOT NULL default '0000-00-00 00:00:00', `updated_at` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=0; -- -- Dumping data for table `catches` -- /*!40000 ALTER TABLE `catches` DISABLE KEYS */; LOCK TABLES `catches` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `catches` ENABLE KEYS */; -- -- Table structure for table `schema_info` -- DROP TABLE IF EXISTS `schema_info`; CREATE TABLE `schema_info` ( `version` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `schema_info` -- /*!40000 ALTER TABLE `schema_info` DISABLE KEYS */; LOCK TABLES `schema_info` WRITE; INSERT INTO `schema_info` VALUES (2); UNLOCK TABLES; /*!40000 ALTER TABLE `schema_info` ENABLE KEYS */; -- -- Table structure for table `species` -- DROP TABLE IF EXISTS `species`; CREATE TABLE `species` ( `id` int(10) unsigned NOT NULL auto_increment, `speciesname` varchar(50) NOT NULL default '', `points` double NOT NULL default '0', `logo` varchar(50) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `species` -- /*!40000 ALTER TABLE `species` DISABLE KEYS */; LOCK TABLES `species` WRITE; INSERT INTO `species` VALUES (1,'Rockfish',7,'/images/vermillion.png'),(2,'Cabezon',7,'/images/cabezon.png'),(3,'Salmon',5,'/images/salmon.png'),(4,'Halibut',4,'/images/halibut.png'),(5,'Lingcod',4,'/images/lingcod.png'),(6,'Trout',7,'/images/trout.png'),(7,'Smallmouth Bass',10,'/images/smallmouth_bass.png'),(8,'Largemouth Bass',8,'/images/largemouth_bass.png'),(9,'Sturgeon',2.5,'/images/sturgeon.png'),(10,'Striped Bass',5,'/images/striped_bass.png'); UNLOCK TABLES; /*!40000 ALTER TABLE `species` ENABLE KEYS */; -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `login` varchar(255) default NULL, `email` varchar(255) default NULL, `crypted_password` varchar(40) default NULL, `salt` varchar(40) default NULL, `created_at` datetime default NULL, `updated_at` datetime default NULL, `remember_token` varchar(255) default NULL, `remember_token_expires_at` datetime default NULL, `date_paid` date default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- /*!40000 ALTER TABLE `users` DISABLE KEYS */; LOCK TABLES `users` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `users` ENABLE KEYS */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;