-- MySQL dump 10.11 -- -- Host: localhost Database: hardcitizen_development -- ------------------------------------------------------ -- Server version 5.0.67 /*!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 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!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' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `coconspirators` -- DROP TABLE IF EXISTS `coconspirators`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `coconspirators` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) default NULL, `bio` text, `coconspirator_photo_file_name` varchar(255) default NULL, `coconspirator_photo_content_type` varchar(255) default NULL, `coconspirator_photo_file_size` varchar(255) default NULL, `created_at` datetime default NULL, `updated_at` datetime default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `coconspirators` -- LOCK TABLES `coconspirators` WRITE; /*!40000 ALTER TABLE `coconspirators` DISABLE KEYS */; INSERT INTO `coconspirators` VALUES (1,'Some Guy','This is a bio','hardwork.jpg','image/jpeg','309208','2009-06-08 20:25:11','2009-06-08 20:39:32'),(2,'Guy','Thing','hardhomegrey.jpg','image/jpeg','274387','2009-06-08 20:39:56','2009-06-08 20:39:56'); /*!40000 ALTER TABLE `coconspirators` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `photos` -- DROP TABLE IF EXISTS `photos`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `photos` ( `id` int(11) NOT NULL auto_increment, `photo_file_name` varchar(255) default NULL, `photo_content_type` varchar(255) default NULL, `photo_file_size` varchar(255) default NULL, `coconspirator_id` int(11) default NULL, `project_id` int(11) default NULL, `created_at` datetime default NULL, `updated_at` datetime default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `photos` -- LOCK TABLES `photos` WRITE; /*!40000 ALTER TABLE `photos` DISABLE KEYS */; INSERT INTO `photos` VALUES (1,'Picture_10.png','image/png','583021',2,NULL,'2009-06-08 20:40:12','2009-06-08 20:40:12'); /*!40000 ALTER TABLE `photos` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `projects` -- DROP TABLE IF EXISTS `projects`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `projects` ( `id` int(11) NOT NULL auto_increment, `title` varchar(255) default NULL, `brief` text, `production` text, `result` text, `project_pdf_file_name` varchar(255) default NULL, `project_pdf_content_type` varchar(255) default NULL, `project_pdf_file_size` varchar(255) default NULL, `project_photo_file_name` varchar(255) default NULL, `project_photo_content_type` varchar(255) default NULL, `project_photo_file_size` varchar(255) default NULL, `created_at` datetime default NULL, `updated_at` datetime default NULL, `home_rank` int(11) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `projects` -- LOCK TABLES `projects` WRITE; /*!40000 ALTER TABLE `projects` DISABLE KEYS */; INSERT INTO `projects` VALUES (1,'Test Project','This is a thing','That does this','and that.','00180_chinesetallow_1280x960.jpg','image/jpeg','65529','00228_drop_1280x960.jpg','image/jpeg','210472','2009-06-16 16:34:54','2009-06-16 18:56:21',1),(2,'Test Project 2','This is','the ','next brief',NULL,NULL,NULL,'00359_seamist_1440x900.jpg','image/jpeg','180332','2009-06-16 18:50:01','2009-06-16 18:56:28',2),(3,'Another Test','asf','asdf','asdf',NULL,NULL,NULL,'23.lil__truk_fall_1152.jpg','image/jpeg','53809','2009-06-16 18:53:12','2009-06-16 18:56:37',3),(4,'Thing','','','',NULL,NULL,NULL,'00231_leaflet_1280x960.jpg','image/jpeg','125167','2009-06-16 18:53:46','2009-06-16 18:57:42',4),(5,'Once More With Feeling','asf','lj','lkj',NULL,NULL,NULL,'00283_driftwoodbeach_1440x900.jpg','image/jpeg','139575','2009-06-16 18:54:02','2009-06-16 18:56:59',5),(6,'Last!','Who','Knows','The Sixth?',NULL,NULL,NULL,'00234_scrubby_1280x960.jpg','image/jpeg','108859','2009-06-16 18:54:21','2009-06-16 18:57:07',6); /*!40000 ALTER TABLE `projects` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `schema_migrations` -- DROP TABLE IF EXISTS `schema_migrations`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `schema_migrations` ( `version` varchar(255) NOT NULL, UNIQUE KEY `unique_schema_migrations` (`version`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `schema_migrations` -- LOCK TABLES `schema_migrations` WRITE; /*!40000 ALTER TABLE `schema_migrations` DISABLE KEYS */; INSERT INTO `schema_migrations` VALUES ('20090601201548'),('20090608134518'),('20090608134650'),('20090608134656'),('20090608134659'),('20090608134705'),('20090616175803'); /*!40000 ALTER TABLE `schema_migrations` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `scoops` -- DROP TABLE IF EXISTS `scoops`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `scoops` ( `id` int(11) NOT NULL auto_increment, `headline` varchar(255) default NULL, `category` varchar(255) default NULL, `article` text, `scoop_pdf_file_name` varchar(255) default NULL, `scoop_pdf_content_type` varchar(255) default NULL, `scoop_pdf_file_size` varchar(255) default NULL, `scoop_photo_file_name` varchar(255) default NULL, `scoop_photo_content_type` varchar(255) default NULL, `scoop_photo_file_size` varchar(255) default NULL, `created_at` datetime default NULL, `updated_at` datetime default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `scoops` -- LOCK TABLES `scoops` WRITE; /*!40000 ALTER TABLE `scoops` DISABLE KEYS */; INSERT INTO `scoops` VALUES (1,'This is a test','Some Cat','My article is write here!','00233_springinwinter_1280x960.jpg','image/jpeg','149625','00375_aprettygoodwall_1440x900.jpg','image/jpeg','222388','2009-06-16 17:17:08','2009-06-16 17:17:08'); /*!40000 ALTER TABLE `scoops` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `urls` -- DROP TABLE IF EXISTS `urls`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `urls` ( `id` int(11) NOT NULL auto_increment, `url` varchar(255) default NULL, `screenshot_file_name` varchar(255) default NULL, `screenshot_content_type` varchar(255) default NULL, `screenshot_file_size` varchar(255) default NULL, `coconspirator_id` int(11) default NULL, `project_id` int(11) default NULL, `created_at` datetime default NULL, `updated_at` datetime default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `urls` -- LOCK TABLES `urls` WRITE; /*!40000 ALTER TABLE `urls` DISABLE KEYS */; INSERT INTO `urls` VALUES (1,'http://www.innoveghtive.com','hardwork.jpg','image/jpeg','309208',2,NULL,'2009-06-08 20:41:26','2009-06-08 20:41:26'); /*!40000 ALTER TABLE `urls` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `videos` -- DROP TABLE IF EXISTS `videos`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `videos` ( `id` int(11) NOT NULL auto_increment, `video_file_name` varchar(255) default NULL, `video_content_type` varchar(255) default NULL, `video_file_size` varchar(255) default NULL, `video_photo_file_name` varchar(255) default NULL, `video_photo_content_type` varchar(255) default NULL, `video_photo_file_size` varchar(255) default NULL, `coconspirator_id` int(11) default NULL, `project_id` int(11) default NULL, `created_at` datetime default NULL, `updated_at` datetime default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `videos` -- LOCK TABLES `videos` WRITE; /*!40000 ALTER TABLE `videos` DISABLE KEYS */; INSERT INTO `videos` VALUES (1,'viff1-over_analyzer.mov','video/quicktime','7775485','hardwork.jpg','image/jpeg','309208',2,NULL,'2009-06-08 20:41:07','2009-06-08 20:41:07'); /*!40000 ALTER TABLE `videos` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!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 */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2009-06-17 13:03:16