1741 lines
117 KiB
SQL
1741 lines
117 KiB
SQL
-- MySQL dump 10.13 Distrib 5.1.54, for debian-linux-gnu (x86_64)
|
||
--
|
||
-- Host: 127.0.0.1 Database: unglueit
|
||
-- ------------------------------------------------------
|
||
-- Server version 5.1.54-1ubuntu4
|
||
|
||
/*!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 `auth_group`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `auth_group`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `auth_group` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(80) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `name` (`name`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `auth_group`
|
||
--
|
||
|
||
LOCK TABLES `auth_group` WRITE;
|
||
/*!40000 ALTER TABLE `auth_group` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `auth_group` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `auth_group_permissions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `auth_group_permissions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `auth_group_permissions` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`group_id` int(11) NOT NULL,
|
||
`permission_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `group_id` (`group_id`,`permission_id`),
|
||
KEY `auth_group_permissions_425ae3c4` (`group_id`),
|
||
KEY `auth_group_permissions_1e014c8f` (`permission_id`),
|
||
CONSTRAINT `group_id_refs_id_3cea63fe` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`),
|
||
CONSTRAINT `permission_id_refs_id_5886d21f` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `auth_group_permissions`
|
||
--
|
||
|
||
LOCK TABLES `auth_group_permissions` WRITE;
|
||
/*!40000 ALTER TABLE `auth_group_permissions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `auth_group_permissions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `auth_message`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `auth_message`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `auth_message` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`user_id` int(11) NOT NULL,
|
||
`message` longtext NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `auth_message_403f60f` (`user_id`),
|
||
CONSTRAINT `user_id_refs_id_650f49a6` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `auth_message`
|
||
--
|
||
|
||
LOCK TABLES `auth_message` WRITE;
|
||
/*!40000 ALTER TABLE `auth_message` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `auth_message` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `auth_permission`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `auth_permission`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `auth_permission` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(50) NOT NULL,
|
||
`content_type_id` int(11) NOT NULL,
|
||
`codename` varchar(100) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `content_type_id` (`content_type_id`,`codename`),
|
||
KEY `auth_permission_1bb8f392` (`content_type_id`),
|
||
CONSTRAINT `content_type_id_refs_id_728de91f` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=155 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `auth_permission`
|
||
--
|
||
|
||
LOCK TABLES `auth_permission` WRITE;
|
||
/*!40000 ALTER TABLE `auth_permission` DISABLE KEYS */;
|
||
INSERT INTO `auth_permission` VALUES (1,'Can add permission',1,'add_permission'),(2,'Can change permission',1,'change_permission'),(3,'Can delete permission',1,'delete_permission'),(4,'Can add group',2,'add_group'),(5,'Can change group',2,'change_group'),(6,'Can delete group',2,'delete_group'),(7,'Can add user',3,'add_user'),(8,'Can change user',3,'change_user'),(9,'Can delete user',3,'delete_user'),(10,'Can add message',4,'add_message'),(11,'Can change message',4,'change_message'),(12,'Can delete message',4,'delete_message'),(13,'Can add content type',5,'add_contenttype'),(14,'Can change content type',5,'change_contenttype'),(15,'Can delete content type',5,'delete_contenttype'),(16,'Can add session',6,'add_session'),(17,'Can change session',6,'change_session'),(18,'Can delete session',6,'delete_session'),(19,'Can add site',7,'add_site'),(20,'Can change site',7,'change_site'),(21,'Can delete site',7,'delete_site'),(22,'Can add comment',8,'add_comment'),(23,'Can change comment',8,'change_comment'),(24,'Can delete comment',8,'delete_comment'),(25,'Can moderate comments',8,'can_moderate'),(26,'Can add comment flag',9,'add_commentflag'),(27,'Can change comment flag',9,'change_commentflag'),(28,'Can delete comment flag',9,'delete_commentflag'),(29,'Can add migration history',10,'add_migrationhistory'),(30,'Can change migration history',10,'change_migrationhistory'),(31,'Can delete migration history',10,'delete_migrationhistory'),(32,'Can add registration profile',11,'add_registrationprofile'),(33,'Can change registration profile',11,'change_registrationprofile'),(34,'Can delete registration profile',11,'delete_registrationprofile'),(35,'Can add user social auth',12,'add_usersocialauth'),(36,'Can change user social auth',12,'change_usersocialauth'),(37,'Can delete user social auth',12,'delete_usersocialauth'),(38,'Can add nonce',13,'add_nonce'),(39,'Can change nonce',13,'change_nonce'),(40,'Can delete nonce',13,'delete_nonce'),(41,'Can add association',14,'add_association'),(42,'Can change association',14,'change_association'),(43,'Can delete association',14,'delete_association'),(44,'Can add log entry',15,'add_logentry'),(45,'Can change log entry',15,'change_logentry'),(46,'Can delete log entry',15,'delete_logentry'),(47,'Can add queue',16,'add_queue'),(48,'Can change queue',16,'change_queue'),(49,'Can delete queue',16,'delete_queue'),(50,'Can add message',17,'add_message'),(51,'Can change message',17,'change_message'),(52,'Can delete message',17,'delete_message'),(53,'Can add celery task',18,'add_celerytask'),(54,'Can change celery task',18,'change_celerytask'),(55,'Can delete celery task',18,'delete_celerytask'),(56,'Can add claim',19,'add_claim'),(57,'Can change claim',19,'change_claim'),(58,'Can delete claim',19,'delete_claim'),(59,'Can add rights holder',20,'add_rightsholder'),(60,'Can change rights holder',20,'change_rightsholder'),(61,'Can delete rights holder',20,'delete_rightsholder'),(62,'Can add premium',21,'add_premium'),(63,'Can change premium',21,'change_premium'),(64,'Can delete premium',21,'delete_premium'),(65,'Can add campaign action',22,'add_campaignaction'),(66,'Can change campaign action',22,'change_campaignaction'),(67,'Can delete campaign action',22,'delete_campaignaction'),(68,'Can add campaign',23,'add_campaign'),(69,'Can change campaign',23,'change_campaign'),(70,'Can delete campaign',23,'delete_campaign'),(71,'Can add identifier',24,'add_identifier'),(72,'Can change identifier',24,'change_identifier'),(73,'Can delete identifier',24,'delete_identifier'),(74,'Can add work',25,'add_work'),(75,'Can change work',25,'change_work'),(76,'Can delete work',25,'delete_work'),(77,'Can add author',26,'add_author'),(78,'Can change author',26,'change_author'),(79,'Can delete author',26,'delete_author'),(80,'Can add subject',27,'add_subject'),(81,'Can change subject',27,'change_subject'),(82,'Can delete subject',27,'delete_subject'),(83,'Can add edition',28,'add_edition'),(84,'Can change edition',28,'change_edition'),(85,'Can delete edition',28,'delete_edition'),(86,'Can add was work',29,'add_waswork'),(87,'Can change was work',29,'change_waswork'),(88,'Can delete was work',29,'delete_waswork'),(89,'Can add ebook',30,'add_ebook'),(90,'Can change ebook',30,'change_ebook'),(91,'Can delete ebook',30,'delete_ebook'),(92,'Can add wishlist',31,'add_wishlist'),(93,'Can change wishlist',31,'change_wishlist'),(94,'Can delete wishlist',31,'delete_wishlist'),(95,'Can add wishes',32,'add_wishes'),(96,'Can change wishes',32,'change_wishes'),(97,'Can delete wishes',32,'delete_wishes'),(98,'Can add user profile',33,'add_userprofile'),(99,'Can change user profile',33,'change_userprofile'),(100,'Can delete user profile',33,'delete_userprofile'),(101,'Can add transaction',34,'add_transaction'),(102,'Can change transaction',34,'change_transaction'),(103,'Can delete transaction',34,'delete_transaction'),(104,'Can add payment response',35,'add_paymentresponse'),(105,'Can change payment response',35,'change_paymentresponse'),(106,'Can delete payment response',35,'delete_paymentresponse'),(107,'Can add receiver',36,'add_receiver'),(108,'Can change receiver',36,'change_receiver'),(109,'Can delete receiver',36,'delete_receiver'),(110,'Can add api access',37,'add_apiaccess'),(111,'Can change api access',37,'change_apiaccess'),(112,'Can delete api access',37,'delete_apiaccess'),(113,'Can add api key',38,'add_apikey'),(114,'Can change api key',38,'change_apikey'),(115,'Can delete api key',38,'delete_apikey'),(116,'Can add task meta',39,'add_taskmeta'),(117,'Can change task meta',39,'change_taskmeta'),(118,'Can delete task meta',39,'delete_taskmeta'),(119,'Can add taskset meta',40,'add_tasksetmeta'),(120,'Can change taskset meta',40,'change_tasksetmeta'),(121,'Can delete taskset meta',40,'delete_tasksetmeta'),(122,'Can add interval',41,'add_intervalschedule'),(123,'Can change interval',41,'change_intervalschedule'),(124,'Can delete interval',41,'delete_intervalschedule'),(125,'Can add crontab',42,'add_crontabschedule'),(126,'Can change crontab',42,'change_crontabschedule'),(127,'Can delete crontab',42,'delete_crontabschedule'),(128,'Can add periodic tasks',43,'add_periodictasks'),(129,'Can change periodic tasks',43,'change_periodictasks'),(130,'Can delete periodic tasks',43,'delete_periodictasks'),(131,'Can add periodic task',44,'add_periodictask'),(132,'Can change periodic task',44,'change_periodictask'),(133,'Can delete periodic task',44,'delete_periodictask'),(134,'Can add worker',45,'add_workerstate'),(135,'Can change worker',45,'change_workerstate'),(136,'Can delete worker',45,'delete_workerstate'),(137,'Can add task',46,'add_taskstate'),(138,'Can change task',46,'change_taskstate'),(139,'Can delete task',46,'delete_taskstate'),(140,'Can add notice type',47,'add_noticetype'),(141,'Can change notice type',47,'change_noticetype'),(142,'Can delete notice type',47,'delete_noticetype'),(143,'Can add notice setting',48,'add_noticesetting'),(144,'Can change notice setting',48,'change_noticesetting'),(145,'Can delete notice setting',48,'delete_noticesetting'),(146,'Can add notice',49,'add_notice'),(147,'Can change notice',49,'change_notice'),(148,'Can delete notice',49,'delete_notice'),(149,'Can add notice queue batch',50,'add_noticequeuebatch'),(150,'Can change notice queue batch',50,'change_noticequeuebatch'),(151,'Can delete notice queue batch',50,'delete_noticequeuebatch'),(152,'Can add observed item',51,'add_observeditem'),(153,'Can change observed item',51,'change_observeditem'),(154,'Can delete observed item',51,'delete_observeditem');
|
||
/*!40000 ALTER TABLE `auth_permission` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `auth_user`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `auth_user`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `auth_user` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`username` varchar(30) NOT NULL,
|
||
`first_name` varchar(30) NOT NULL,
|
||
`last_name` varchar(30) NOT NULL,
|
||
`email` varchar(75) NOT NULL,
|
||
`password` varchar(128) NOT NULL,
|
||
`is_staff` tinyint(1) NOT NULL,
|
||
`is_active` tinyint(1) NOT NULL,
|
||
`is_superuser` tinyint(1) NOT NULL,
|
||
`last_login` datetime NOT NULL,
|
||
`date_joined` datetime NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `username` (`username`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `auth_user`
|
||
--
|
||
|
||
LOCK TABLES `auth_user` WRITE;
|
||
/*!40000 ALTER TABLE `auth_user` DISABLE KEYS */;
|
||
INSERT INTO `auth_user` VALUES (1,'RaymondYee','Raymond','Yee','rdhyee@gluejar.com','!',0,1,0,'2012-03-02 13:17:24','2012-03-02 13:17:24'),(2,'rdhyee','Raymond','Yee','raymond.yee@gmail.com','sha1$e2d7b$55e51c0fad5f39292e7f99ad180c8ab31bb5bbc1',1,1,1,'2012-03-02 13:22:05','2012-03-02 13:21:21'),(3,'rdhyeetest','','','raymond.yee@dataunbound.com','sha1$1bd37$02b99913f602a80c5f810443ce82d73f336c26d3',0,1,0,'2012-03-13 19:14:27','2012-03-13 19:11:32');
|
||
/*!40000 ALTER TABLE `auth_user` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `auth_user_groups`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `auth_user_groups`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `auth_user_groups` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`user_id` int(11) NOT NULL,
|
||
`group_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_id` (`user_id`,`group_id`),
|
||
KEY `auth_user_groups_403f60f` (`user_id`),
|
||
KEY `auth_user_groups_425ae3c4` (`group_id`),
|
||
CONSTRAINT `group_id_refs_id_f116770` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`),
|
||
CONSTRAINT `user_id_refs_id_7ceef80f` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `auth_user_groups`
|
||
--
|
||
|
||
LOCK TABLES `auth_user_groups` WRITE;
|
||
/*!40000 ALTER TABLE `auth_user_groups` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `auth_user_groups` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `auth_user_user_permissions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `auth_user_user_permissions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `auth_user_user_permissions` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`user_id` int(11) NOT NULL,
|
||
`permission_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_id` (`user_id`,`permission_id`),
|
||
KEY `auth_user_user_permissions_403f60f` (`user_id`),
|
||
KEY `auth_user_user_permissions_1e014c8f` (`permission_id`),
|
||
CONSTRAINT `permission_id_refs_id_67e79cb` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
|
||
CONSTRAINT `user_id_refs_id_dfbab7d` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `auth_user_user_permissions`
|
||
--
|
||
|
||
LOCK TABLES `auth_user_user_permissions` WRITE;
|
||
/*!40000 ALTER TABLE `auth_user_user_permissions` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `auth_user_user_permissions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `celery_taskmeta`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `celery_taskmeta`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `celery_taskmeta` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`task_id` varchar(255) NOT NULL,
|
||
`status` varchar(50) NOT NULL DEFAULT 'PENDING',
|
||
`result` longtext,
|
||
`date_done` datetime NOT NULL,
|
||
`traceback` longtext,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `task_id` (`task_id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `celery_taskmeta`
|
||
--
|
||
|
||
LOCK TABLES `celery_taskmeta` WRITE;
|
||
/*!40000 ALTER TABLE `celery_taskmeta` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `celery_taskmeta` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `celery_tasksetmeta`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `celery_tasksetmeta`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `celery_tasksetmeta` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`taskset_id` varchar(255) NOT NULL,
|
||
`result` longtext NOT NULL,
|
||
`date_done` datetime NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `taskset_id` (`taskset_id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `celery_tasksetmeta`
|
||
--
|
||
|
||
LOCK TABLES `celery_tasksetmeta` WRITE;
|
||
/*!40000 ALTER TABLE `celery_tasksetmeta` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `celery_tasksetmeta` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_author`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_author`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_author` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`name` varchar(500) NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_author`
|
||
--
|
||
|
||
LOCK TABLES `core_author` WRITE;
|
||
/*!40000 ALTER TABLE `core_author` DISABLE KEYS */;
|
||
INSERT INTO `core_author` VALUES (1,'2012-03-02 13:02:58','Jorge Luis Borges'),(2,'2012-03-02 13:02:59','Djuna Barnes'),(3,'2012-03-02 13:02:59','Thomas Stearns Eliot'),(4,'2012-03-02 13:02:59','Jeanette Winterson'),(5,'2012-03-02 13:03:00','Gertrude Stein'),(6,'2012-03-02 13:03:00','Janet Flanner'),(7,'2012-03-02 13:03:00','Irving Drutman'),(8,'2012-03-02 13:03:01','Sylvia Beach'),(9,'2012-03-02 13:03:01','Keri Walsh'),(10,'2012-03-02 13:03:02','John B. Thompson'),(11,'2012-03-02 13:03:03','Noel Riley Fitch'),(12,'2012-03-02 13:03:04','Jessica Mitford'),(13,'2012-03-02 13:03:04','Christopher Hitchens'),(14,'2012-03-02 13:03:05','Jessamyn West'),(15,'2012-03-02 13:03:07','Julian P. Muller'),(16,'2012-03-02 13:03:07','Thomas J. Watson'),(17,'2012-03-02 13:03:07','Peter Petre'),(18,'2012-03-02 13:03:08','Samuel R. Delany'),(19,'2012-03-02 13:03:09','Daniel Goleman'),(20,'2012-03-02 13:03:10','Heidi Murkoff'),(21,'2012-03-02 13:03:10','Sharon Mazel'),(22,'2012-03-02 13:03:11','Manning Rubin'),(23,'2012-03-02 13:03:11','Paul Frahm'),(24,'2012-03-02 13:03:12','Lawrence Weschler'),(25,'2012-03-02 13:03:12','Getty Foundation'),(26,'2012-03-02 13:03:13','Roland Huntford'),(27,'2012-03-02 13:03:13','Wael Ghonim'),(28,'2012-03-02 13:03:14','Meredith Hooper'),(29,'2012-03-02 13:03:15','Dashiell Hammett'),(30,'2012-03-02 13:03:15','Richard Layman'),(31,'2012-03-02 13:03:15','Mary McCarthy'),(32,'2012-03-02 13:03:16','Sandra M. Gilbert'),(33,'2012-03-02 13:03:16','Susan Gubar'),(34,'2012-03-02 13:03:17','Elaine Showalter'),(35,'2012-03-02 13:03:17','Nancy Rawles'),(36,'2012-03-02 13:03:18','Ted Morgan'),(37,'2012-03-02 13:03:19','Michael Herr'),(38,'2012-03-02 13:03:19','Robert Stone'),(39,'2012-03-02 13:03:20','Archimedes L. A. Patti'),(40,'2012-03-02 13:03:20','Amnon Yariv'),(41,'2012-03-02 13:03:21','Neil W. Ashcroft'),(42,'2012-03-02 13:03:21','N. David Mermin'),(43,'2012-03-02 13:03:22','James L. Gould'),(44,'2012-03-02 13:03:22','Carol Grant Gould'),(45,'2012-03-02 13:03:26','Konrad Lorenz'),(46,'2012-03-02 13:03:26','Michael Martys'),(47,'2012-03-02 13:03:26','Angelika Tipler'),(48,'2012-03-02 13:03:26','Vernor Vinge'),(49,'2012-03-02 13:03:27','William Gibson'),(50,'2012-03-02 13:03:28','Nicholas Meyer'),(51,'2012-03-02 13:03:29','Oliver W. Sacks'),(52,'2012-03-02 13:03:29','Ursula K. Le Guin'),(53,'2012-03-02 13:03:31','John Le Carré');
|
||
/*!40000 ALTER TABLE `core_author` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_author_editions`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_author_editions`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_author_editions` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`author_id` int(11) NOT NULL,
|
||
`edition_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `core_author_editions_author_id_7e744d9d_uniq` (`author_id`,`edition_id`),
|
||
KEY `core_author_editions_337b96ff` (`author_id`),
|
||
KEY `core_author_editions_16ab133f` (`edition_id`),
|
||
CONSTRAINT `author_id_refs_id_17a0e6c8` FOREIGN KEY (`author_id`) REFERENCES `core_author` (`id`),
|
||
CONSTRAINT `edition_id_refs_id_6d94098` FOREIGN KEY (`edition_id`) REFERENCES `core_edition` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_author_editions`
|
||
--
|
||
|
||
LOCK TABLES `core_author_editions` WRITE;
|
||
/*!40000 ALTER TABLE `core_author_editions` DISABLE KEYS */;
|
||
INSERT INTO `core_author_editions` VALUES (1,1,1),(2,2,2),(3,3,2),(4,4,2),(5,5,3),(6,6,4),(7,7,4),(8,8,5),(9,8,6),(10,9,6),(11,10,7),(12,11,8),(13,12,9),(14,13,9),(15,14,10),(16,14,11),(17,14,12),(18,14,13),(19,15,13),(20,16,14),(21,17,14),(22,18,15),(23,19,16),(24,19,17),(25,19,18),(26,20,19),(27,21,19),(28,22,20),(29,23,20),(30,24,21),(32,24,22),(31,25,21),(33,26,23),(34,27,24),(35,28,25),(36,29,26),(37,30,26),(38,31,27),(39,32,28),(40,33,28),(41,34,29),(42,35,30),(43,36,31),(44,36,32),(45,37,33),(46,38,33),(47,39,34),(48,40,35),(49,41,36),(50,42,36),(51,43,37),(53,43,38),(55,43,39),(58,43,41),(52,44,37),(54,44,38),(56,44,39),(57,44,40),(59,45,42),(60,46,42),(61,47,42),(62,48,43),(63,49,44),(64,50,45),(65,51,46),(66,52,47),(67,52,48),(68,52,49),(69,53,50),(70,53,51);
|
||
/*!40000 ALTER TABLE `core_author_editions` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_campaign`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_campaign`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_campaign` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`name` varchar(500) DEFAULT NULL,
|
||
`description` longtext,
|
||
`details` longtext,
|
||
`target` decimal(14,2) DEFAULT NULL,
|
||
`deadline` datetime NOT NULL,
|
||
`activated` datetime DEFAULT NULL,
|
||
`paypal_receiver` varchar(100) NOT NULL,
|
||
`amazon_receiver` varchar(100) NOT NULL,
|
||
`work_id` int(11) NOT NULL,
|
||
`status` varchar(15) DEFAULT NULL,
|
||
`left` decimal(14,2) DEFAULT NULL,
|
||
`license` varchar(255) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `core_campaign_50cafa73` (`work_id`),
|
||
CONSTRAINT `work_id_refs_id_fe13496` FOREIGN KEY (`work_id`) REFERENCES `core_work` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_campaign`
|
||
--
|
||
|
||
LOCK TABLES `core_campaign` WRITE;
|
||
/*!40000 ALTER TABLE `core_campaign` DISABLE KEYS */;
|
||
INSERT INTO `core_campaign` VALUES (1,'2012-03-02 13:04:03','60 ways to relieve stress in 60 seconds','Test Campaign',NULL,'8424.00','2012-05-17 02:36:40',NULL,'rh1_1317336251_biz@gluejar.com','',20,'INITIALIZED',NULL,'CC BY-NC-ND'),(2,'2012-03-02 13:04:03','A literature of their own','Test Campaign',NULL,'1950.00','2012-04-25 16:22:09',NULL,'rh1_1317336251_biz@gluejar.com','',29,'INITIALIZED',NULL,'CC BY-NC-ND'),(3,'2012-03-02 13:04:03','A Wizard of Earthsea','Test Campaign',NULL,'1636.00','2012-03-07 17:26:54',NULL,'rh1_1317336251_biz@gluejar.com','',48,'ACTIVE','1636.00','CC BY-NC-ND'),(4,'2012-03-02 13:04:03','Animal architects','Test Campaign',NULL,'1709.00','2012-07-12 14:12:21',NULL,'rh1_1317336251_biz@gluejar.com','',37,'INITIALIZED',NULL,'CC BY-NC-ND'),(5,'2012-03-02 13:04:03','Animal Architects','Test Campaign',NULL,'7554.00','2012-07-22 16:14:02',NULL,'rh1_1317336251_biz@gluejar.com','',38,'INITIALIZED',NULL,'CC BY-NC-ND'),(6,'2012-03-02 13:04:03','Call for the Dead','Test Campaign',NULL,'7057.00','2012-05-12 20:22:17',NULL,'rh1_1317336251_biz@gluejar.com','',51,'ACTIVE','7057.00','CC BY-NC-ND'),(7,'2012-03-02 13:04:03','Collected Stories of Jessamyn West','Test Campaign',NULL,'1252.00','2012-06-12 06:48:30',NULL,'rh1_1317336251_biz@gluejar.com','',13,'INITIALIZED',NULL,'CC BY-NC-ND'),(8,'2012-03-02 13:04:03','Dhalgren','Test Campaign',NULL,'4776.00','2012-04-30 23:12:21',NULL,'rh1_1317336251_biz@gluejar.com','',15,'ACTIVE','4776.00','CC BY-NC-ND'),(9,'2012-03-02 13:04:03','Dispatches','Test Campaign',NULL,'6557.00','2012-06-23 15:38:50',NULL,'rh1_1317336251_biz@gluejar.com','',33,'INITIALIZED',NULL,'CC BY-NC-ND'),(10,'2012-03-02 13:04:03','Emotional intelligence','Test Campaign',NULL,'7972.00','2012-08-21 19:47:26',NULL,'rh1_1317336251_biz@gluejar.com','',16,'ACTIVE','7972.00','CC BY-NC-ND'),(11,'2012-03-02 13:04:03','Ethology','Test Campaign',NULL,'2142.00','2012-06-12 10:59:01',NULL,'rh1_1317336251_biz@gluejar.com','',41,'ACTIVE','2142.00','CC BY-NC-ND'),(12,'2012-03-02 13:04:03','Father, Son & Co.','Test Campaign',NULL,'2837.00','2012-08-26 15:59:21',NULL,'rh1_1317336251_biz@gluejar.com','',14,'INITIALIZED',NULL,'CC BY-NC-ND'),(13,'2012-03-02 13:04:03','Four Ways to Forgiveness','Test Campaign',NULL,'9515.00','2012-03-09 20:47:59',NULL,'rh1_1317336251_biz@gluejar.com','',49,'INITIALIZED',NULL,'CC BY-NC-ND'),(14,'2012-03-02 13:04:03','Here am I--where are you?','Test Campaign',NULL,'4545.00','2012-03-10 05:06:43',NULL,'rh1_1317336251_biz@gluejar.com','',42,'ACTIVE','4545.00','CC BY-NC-ND'),(15,'2012-03-02 13:04:03','Hons and Rebels','Test Campaign',NULL,'6902.00','2012-08-28 22:00:05',NULL,'rh1_1317336251_biz@gluejar.com','',9,'INITIALIZED',NULL,'CC BY-NC-ND'),(16,'2012-03-02 13:04:03','Labyrinths','Test Campaign',NULL,'4434.00','2012-08-12 17:14:25',NULL,'rh1_1317336251_biz@gluejar.com','',1,'ACTIVE','4434.00','CC BY-NC-ND'),(17,'2012-03-02 13:04:03','Love like gumbo','Test Campaign',NULL,'5129.00','2012-06-22 05:11:03',NULL,'rh1_1317336251_biz@gluejar.com','',30,'INITIALIZED',NULL,'CC BY-NC-ND'),(18,'2012-03-02 13:04:03','Maugham','Test Campaign',NULL,'1833.00','2012-08-04 06:36:01',NULL,'rh1_1317336251_biz@gluejar.com','',31,'ACTIVE','1833.00','CC BY-NC-ND'),(19,'2012-03-02 13:04:04','Merchants of Culture','Test Campaign',NULL,'4231.00','2012-04-22 14:36:16',NULL,'rh1_1317336251_biz@gluejar.com','',7,'INITIALIZED',NULL,'CC BY-NC-ND'),(20,'2012-03-02 13:04:04','My battle of Algiers','Test Campaign',NULL,'6451.00','2012-05-01 19:39:11',NULL,'rh1_1317336251_biz@gluejar.com','',32,'ACTIVE','6451.00','CC BY-NC-ND'),(21,'2012-03-02 13:04:04','Neuromancer','Test Campaign',NULL,'7071.00','2012-07-29 12:32:08',NULL,'rh1_1317336251_biz@gluejar.com','',44,'ACTIVE','7071.00','CC BY-NC-ND'),(22,'2012-03-02 13:04:04','Nightwood','Test Campaign',NULL,'5770.00','2012-08-05 19:27:05',NULL,'rh1_1317336251_biz@gluejar.com','',2,'INITIALIZED',NULL,'CC BY-NC-ND'),(23,'2012-03-02 13:04:04','Paris was yesterday','Test Campaign',NULL,'4506.00','2012-08-24 19:28:42',NULL,'rh1_1317336251_biz@gluejar.com','',4,'INITIALIZED',NULL,'CC BY-NC-ND'),(24,'2012-03-02 13:04:04','Quantum electronics','Test Campaign',NULL,'1503.00','2012-06-24 05:45:09',NULL,'rh1_1317336251_biz@gluejar.com','',35,'ACTIVE','1503.00','CC BY-NC-ND'),(25,'2012-03-02 13:04:04','Rainbows End','Test Campaign',NULL,'5194.00','2012-05-01 05:04:27',NULL,'rh1_1317336251_biz@gluejar.com','',43,'INITIALIZED',NULL,'CC BY-NC-ND'),(26,'2012-03-02 13:04:04','Revolution 2:0','Test Campaign',NULL,'5154.00','2012-07-07 10:11:52',NULL,'rh1_1317336251_biz@gluejar.com','',24,'ACTIVE','5154.00','CC BY-NC-ND'),(27,'2012-03-02 13:04:04','Seeing is forgetting the name of the thing one sees','Test Campaign',NULL,'8275.00','2012-08-12 11:53:29',NULL,'rh1_1317336251_biz@gluejar.com','',21,'INITIALIZED',NULL,'CC BY-NC-ND'),(28,'2012-03-02 13:04:04','Seeing voices','Test Campaign',NULL,'7760.00','2012-04-15 09:55:26',NULL,'rh1_1317336251_biz@gluejar.com','',46,'ACTIVE','7760.00','CC BY-NC-ND'),(29,'2012-03-02 13:04:04','Selected Letters of Dashiell Hammett: 1921-1960','Test Campaign',NULL,'8350.00','2012-05-09 07:28:03',NULL,'rh1_1317336251_biz@gluejar.com','',26,'ACTIVE','8350.00','CC BY-NC-ND'),(30,'2012-03-02 13:04:04','Shakespeare and Company','Test Campaign',NULL,'5220.00','2012-07-03 21:15:22',NULL,'rh1_1317336251_biz@gluejar.com','',5,'INITIALIZED',NULL,'CC BY-NC-ND'),(31,'2012-03-02 13:04:04','Solid state physics','Test Campaign',NULL,'4675.00','2012-04-05 18:15:22',NULL,'rh1_1317336251_biz@gluejar.com','',36,'ACTIVE','4675.00','CC BY-NC-ND'),(32,'2012-03-02 13:04:04','Sylvia Beach and the Lost Generation','Test Campaign',NULL,'3389.00','2012-03-16 15:14:33',NULL,'rh1_1317336251_biz@gluejar.com','',8,'INITIALIZED',NULL,'CC BY-NC-ND'),(33,'2012-03-02 13:04:04','The animal mind','Test Campaign',NULL,'2955.00','2012-05-26 08:46:29',NULL,'rh1_1317336251_biz@gluejar.com','',39,'ACTIVE','2955.00','CC BY-NC-ND'),(34,'2012-03-02 13:04:04','The Friendly Persuasion','Test Campaign',NULL,'1933.00','2012-03-18 12:36:56',NULL,'rh1_1317336251_biz@gluejar.com','',10,'INITIALIZED',NULL,'CC BY-NC-ND'),(35,'2012-03-02 13:04:04','The group','Test Campaign',NULL,'2325.00','2012-07-27 22:44:31',NULL,'rh1_1317336251_biz@gluejar.com','',27,'ACTIVE','2325.00','CC BY-NC-ND'),(36,'2012-03-02 13:04:04','The Last Place on Earth','Test Campaign',NULL,'4197.00','2012-04-05 10:52:52',NULL,'rh1_1317336251_biz@gluejar.com','',23,'INITIALIZED',NULL,'CC BY-NC-ND'),(37,'2012-03-02 13:04:04','The left hand of darkness','Test Campaign',NULL,'9996.00','2012-03-13 20:52:58',NULL,'rh1_1317336251_biz@gluejar.com','',47,'ACTIVE','9996.00','CC BY-NC-ND'),(38,'2012-03-02 13:04:04','The letters of Sylvia Beach','Test Campaign',NULL,'9578.00','2012-04-05 20:07:06',NULL,'rh1_1317336251_biz@gluejar.com','',6,'INITIALIZED',NULL,'CC BY-NC-ND'),(39,'2012-03-02 13:04:04','The Longest Winter','Test Campaign',NULL,'623.00','2012-06-17 09:53:12',NULL,'rh1_1317336251_biz@gluejar.com','',25,'ACTIVE','623.00','CC BY-NC-ND'),(40,'2012-03-02 13:04:04','The madwoman in the attic','Test Campaign',NULL,'1738.00','2012-07-30 01:18:14',NULL,'rh1_1317336251_biz@gluejar.com','',28,'ACTIVE','1738.00','CC BY-NC-ND'),(41,'2012-03-02 13:04:04','The making of Americans','Test Campaign',NULL,'660.00','2012-07-01 04:21:11',NULL,'rh1_1317336251_biz@gluejar.com','',3,'INITIALIZED',NULL,'CC BY-NC-ND'),(42,'2012-03-02 13:04:04','The Massacre at Fall Creek','Test Campaign',NULL,'631.00','2012-03-18 02:57:42',NULL,'rh1_1317336251_biz@gluejar.com','',11,'ACTIVE','631.00','CC BY-NC-ND'),(43,'2012-03-02 13:04:04','The remarkable life of William Beebe','Test Campaign',NULL,'6519.00','2012-05-12 06:19:39',NULL,'rh1_1317336251_biz@gluejar.com','',40,'INITIALIZED',NULL,'CC BY-NC-ND'),(44,'2012-03-02 13:04:04','The seven-per-cent solution','Test Campaign',NULL,'8684.00','2012-03-08 17:25:05',NULL,'rh1_1317336251_biz@gluejar.com','',45,'INITIALIZED',NULL,'CC BY-NC-ND'),(45,'2012-03-02 13:04:04','The Spy Who Came in from the Cold','Test Campaign',NULL,'6151.00','2012-05-06 13:43:59',NULL,'rh1_1317336251_biz@gluejar.com','',50,'INITIALIZED',NULL,'CC BY-NC-ND'),(46,'2012-03-02 13:04:04','Vermeer in Bosnia: selected writings','Test Campaign',NULL,'8466.00','2012-05-28 12:14:10',NULL,'rh1_1317336251_biz@gluejar.com','',22,'ACTIVE','8466.00','CC BY-NC-ND'),(47,'2012-03-02 13:04:04','Vital lies, simple truths','Test Campaign',NULL,'1224.00','2012-04-05 13:50:30',NULL,'rh1_1317336251_biz@gluejar.com','',18,'INITIALIZED',NULL,'CC BY-NC-ND'),(48,'2012-03-02 13:04:04','What to Expect When You\'re Expecting','Test Campaign',NULL,'2814.00','2012-07-03 05:14:26',NULL,'rh1_1317336251_biz@gluejar.com','',19,'INITIALIZED',NULL,'CC BY-NC-ND'),(49,'2012-03-02 13:04:04','Why Viet Nam?','Test Campaign',NULL,'7074.00','2012-04-24 01:35:55',NULL,'rh1_1317336251_biz@gluejar.com','',34,'ACTIVE','7074.00','CC BY-NC-ND'),(50,'2012-03-02 13:04:04','Woman Said Yes','Test Campaign',NULL,'5191.00','2012-06-18 12:09:57',NULL,'rh1_1317336251_biz@gluejar.com','',12,'INITIALIZED',NULL,'CC BY-NC-ND'),(51,'2012-03-02 13:04:04','Working with emotional intelligence','Test Campaign',NULL,'8852.00','2012-04-14 23:35:50',NULL,'rh1_1317336251_biz@gluejar.com','',17,'ACTIVE','8852.00','CC BY-NC-ND');
|
||
/*!40000 ALTER TABLE `core_campaign` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_campaign_managers`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_campaign_managers`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_campaign_managers` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`campaign_id` int(11) NOT NULL,
|
||
`user_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `core_campaign_managers_campaign_id_6201021a_uniq` (`campaign_id`,`user_id`),
|
||
KEY `core_campaign_managers_702b94e6` (`campaign_id`),
|
||
KEY `core_campaign_managers_403f60f` (`user_id`),
|
||
CONSTRAINT `campaign_id_refs_id_14a43a05` FOREIGN KEY (`campaign_id`) REFERENCES `core_campaign` (`id`),
|
||
CONSTRAINT `user_id_refs_id_4ec5c04d` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_campaign_managers`
|
||
--
|
||
|
||
LOCK TABLES `core_campaign_managers` WRITE;
|
||
/*!40000 ALTER TABLE `core_campaign_managers` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_campaign_managers` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_campaignaction`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_campaignaction`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_campaignaction` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`timestamp` datetime NOT NULL,
|
||
`type` varchar(15) NOT NULL,
|
||
`comment` longtext,
|
||
`campaign_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `core_campaignaction_702b94e6` (`campaign_id`),
|
||
CONSTRAINT `campaign_id_refs_id_6277a473` FOREIGN KEY (`campaign_id`) REFERENCES `core_campaign` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_campaignaction`
|
||
--
|
||
|
||
LOCK TABLES `core_campaignaction` WRITE;
|
||
/*!40000 ALTER TABLE `core_campaignaction` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_campaignaction` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_celerytask`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_celerytask`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_celerytask` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL DEFAULT '2011-11-21 11:28:24',
|
||
`task_id` varchar(255) NOT NULL,
|
||
`user_id` int(11) DEFAULT NULL,
|
||
`description` varchar(2048) DEFAULT NULL,
|
||
`function_name` varchar(1024) NOT NULL,
|
||
`function_args` int(11) DEFAULT NULL,
|
||
`active` tinyint(1) DEFAULT '1',
|
||
PRIMARY KEY (`id`),
|
||
KEY `core_celerytask_403f60f` (`user_id`),
|
||
CONSTRAINT `user_id_refs_id_5724e0a2` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_celerytask`
|
||
--
|
||
|
||
LOCK TABLES `core_celerytask` WRITE;
|
||
/*!40000 ALTER TABLE `core_celerytask` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_celerytask` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_claim`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_claim`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_claim` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`rights_holder_id` int(11) NOT NULL,
|
||
`work_id` int(11) NOT NULL,
|
||
`user_id` int(11) NOT NULL,
|
||
`status` varchar(7) NOT NULL DEFAULT 'pending',
|
||
PRIMARY KEY (`id`),
|
||
KEY `core_claim_3369ff6d` (`rights_holder_id`),
|
||
KEY `core_claim_50cafa73` (`work_id`),
|
||
KEY `core_claim_403f60f` (`user_id`),
|
||
CONSTRAINT `rights_holder_id_refs_id_3813725f` FOREIGN KEY (`rights_holder_id`) REFERENCES `core_rightsholder` (`id`),
|
||
CONSTRAINT `user_id_refs_id_4daf1126` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`),
|
||
CONSTRAINT `work_id_refs_id_6b9b1671` FOREIGN KEY (`work_id`) REFERENCES `core_work` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_claim`
|
||
--
|
||
|
||
LOCK TABLES `core_claim` WRITE;
|
||
/*!40000 ALTER TABLE `core_claim` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_claim` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_ebook`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_ebook`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_ebook` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`format` varchar(25) NOT NULL,
|
||
`url` varchar(1024) NOT NULL,
|
||
`provider` varchar(255) NOT NULL,
|
||
`rights` varchar(255) DEFAULT NULL,
|
||
`edition_id` int(11) NOT NULL,
|
||
`user_id` int(11) DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `core_ebook_16ab133f` (`edition_id`),
|
||
KEY `core_ebook_403f60f` (`user_id`),
|
||
CONSTRAINT `edition_id_refs_id_3bf4f8d1` FOREIGN KEY (`edition_id`) REFERENCES `core_edition` (`id`),
|
||
CONSTRAINT `user_id_refs_id_38a40e3c` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_ebook`
|
||
--
|
||
|
||
LOCK TABLES `core_ebook` WRITE;
|
||
/*!40000 ALTER TABLE `core_ebook` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_ebook` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_edition`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_edition`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_edition` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`title` varchar(1000) NOT NULL,
|
||
`description` longtext,
|
||
`publisher` varchar(255) DEFAULT NULL,
|
||
`publication_date` varchar(50) DEFAULT NULL,
|
||
`public_domain` tinyint(1) DEFAULT NULL,
|
||
`work_id` int(11) DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `core_edition_50cafa73` (`work_id`),
|
||
CONSTRAINT `work_id_refs_id_441b48fb` FOREIGN KEY (`work_id`) REFERENCES `core_work` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_edition`
|
||
--
|
||
|
||
LOCK TABLES `core_edition` WRITE;
|
||
/*!40000 ALTER TABLE `core_edition` DISABLE KEYS */;
|
||
INSERT INTO `core_edition` VALUES (1,'2012-03-02 13:02:58','Labyrinths','A new edition of a classic work by a late forefront Argentinean writer features the 1964 augmented original text and is complemented by a biographical essay, a tribute to the writer\'s body of work, and a chronology of his life. Reprint.','New Directions Publishing Corporation','1964',NULL,1),(2,'2012-03-02 13:02:59','Nightwood','The fiery and enigmatic masterpiece-one of the greatest novels of the Modernist era.','New Directions','2006-09-01',NULL,2),(3,'2012-03-02 13:03:00','The making of Americans','\"Essential for all literature collections . . . Several of Stein\'s titles returned to print in 1995, but none more important than The Making of Americans.\"-Library Journal','Dalkey Archive Pr','1995',NULL,3),(4,'2012-03-02 13:03:00','Paris was yesterday','A portrait of French life and culture in the late twenties and thirties is presented in excerpts from the author\'s column in the New Yorker','Mariner Books','1988',NULL,4),(5,'2012-03-02 13:03:01','Shakespeare and Company','Sylvia Beach was intimately acquainted with the expatriate and visiting writers of the Lost Generation, a label that she never accepted. Like moths of great promise, they were drawn to her well-lighted bookstore and warm hearth on the Left Bank. Shakespeare and Company evokes the zeitgeist of an era through its revealing glimpses of James Joyce, Ernest Hemingway, Scott Fitzgerald, Sherwood Anderson, Andre Gide, Ezra Pound, Gertrude Stein, Alice B. Toklas, D. H. Lawrence, and others already famous or soon to be. In his introduction to this new edition, James Laughlin recalls his friendship with Sylvia Beach. Like her bookstore, his publishing house, New Directions, is considered a cultural touchstone.','Bison Books','1991-10-01',NULL,5),(6,'2012-03-02 13:03:01','The letters of Sylvia Beach','The first collection of selected correspondence of the noted bookseller and publisher includes letters to Ernest Hemingway, James Joyce, William Carlos Williams, Marianne Moore, and Gertrude Stein.','Columbia Univ Pr','2010-06-30',NULL,6),(7,'2012-03-02 13:03:02','Merchants of Culture','The world of book publishing is going through turbulent times. For nearly five centuries the methods and practices of book publishing remained largely unchanged, but at the dawn of the 21st century the industry finds itself faced with perhaps the greatest challenges since Gutenberg. A combination of economic pressures and technological change is forcing publishers to alter their practices and think hard about the future of the book in the digital age. In this book - the first major study of trade publishing for more than 30 years - Thompson situates the current challenges facing the industry in an historical context, analyzing the transformation of trade publishing in the United States and Britain since the 1960s. He gives a detailed account of how the world of trade publishing really works, dissecting the roles of publishers, agents and booksellers and showing how their practices are shaped by a field that has a distinctive structure and dynamic. Against this backdrop Thompson analyzes the impact of the digital revolution on book publishing and examines the pressures that are reshaping the field of trade publishing today.','Polity Pr','2010-09-22',NULL,7),(8,'2012-03-02 13:03:03','Sylvia Beach and the Lost Generation','Making use of the author\'s access to the Beach family papers, this account chronicles the literary circle that gathered at Beach\'s Paris book shop','W. W. Norton & Company','1985',NULL,8),(9,'2012-03-02 13:03:04','Hons and Rebels','In this \"wonderfully funny and very poignant\" (Philip Toynbee) autobiography, Mitford offers a fascinating study of the unusual upbringing of her famous family.','NYRB Classics','2004-09-30',NULL,9),(10,'2012-03-02 13:03:05','The Friendly Persuasion','Jess Birdwell, a Quaker with a fondness for fast horses, his wife Eliza, and their children struggle to deal with the turmoil, violence, and challenges of the Civil War in their own way. Reprint. 12,500 first printing.','Mariner Books','2003-09-15',NULL,10),(11,'2012-03-02 13:03:06','The Massacre at Fall Creek','Narrates the reactions of a small 1824 Indian settlement to the capture, trial, conviction and execution of five white men for the premeditated murder of nine peaceful men, women and children of the Seneca tribe','Mariner Books','1986-09-02',NULL,11),(12,'2012-03-02 13:03:06','Woman Said Yes','The noted American writer celebrates her mother\'s life-affirming values and behavior and records their influence on her own fight with tuberculosis and her sister\'s courageous response to the onslaught of incurable spinal cancer','Mariner Books','1986-09-02',NULL,12),(13,'2012-03-02 13:03:07','Collected Stories of Jessamyn West','Thirty-eight stories depict suspense, romance, obsession, the supernatural, adolescence, and sexual relationships','Mariner Books','1987-11-23',NULL,13),(14,'2012-03-02 13:03:07','Father, Son & Co.','The former CEO for IBM details his father\'s initial creation of the company, IBM\'s first foray into computers, and his own career with the company.','Bantam','2000-02-29',NULL,14),(15,'2012-03-02 13:03:08','Dhalgren','Journeying to the central United States city of Bellona, where all have fled save madmen and criminals, a poet and adventurer known only as the Kid wonders at the strange portents that appear in the city\'s cloud-covered sky.','Vintage','2001-05-15',NULL,15),(16,'2012-03-02 13:03:09','Emotional intelligence','Everyone knows that high IQ is no guarantee of success, happiness, or virtue, but until Emotional Intelligence, we could only guess why. Daniel Goleman\'s brilliant report from the frontiers of psychology and neuroscience offers startling new insight into our \"two minds\"—the rational and the emotional—and how they together shape our destiny. Through vivid examples, Goleman delineates the five crucial skills of emotional intelligence, and shows how they determine our success in relationships, work, and even our physical well-being. What emerges is an entirely new way to talk about being smart. The best news is that \"emotional literacy\" is not fixed early in life. Every parent, every teacher, every business leader, and everyone interested in a more civil society, has a stake in this compelling vision of human possibility. From the Trade Paperback edition.','Bantam','2006-09-26',NULL,16),(17,'2012-03-02 13:03:09','Working with emotional intelligence','The author of the breakthrough bestseller Emotional Intelligence demonstrates that emotional and social skills are more important than IQ in determining an individual\'s success in today\'s business world. Reprint.','Bantam','1998',NULL,17),(18,'2012-03-02 13:03:10','Vital lies, simple truths','A penetrating analysis of the dark corners of human deception, enlivened by intriguing case histories and experiments.','Simon and Schuster','1996-05-01',NULL,18),(19,'2012-03-02 13:03:10','What to Expect When You\'re Expecting','Cuts through the confusion surrounding pregnancy and birth by debunking dozens of myths that mislead parents, offering explanations of medical terms, and covering a variety of issues including prenatal care, birth defects, and amniocentesis.','Workman Pub Co','2008-04-10',NULL,19),(20,'2012-03-02 13:03:11','60 ways to relieve stress in 60 seconds','Suggests ways to alleviate stress through brief activities designed to relieve tension and distract one from the daily routine','Workman Publishing','1993',NULL,20),(21,'2012-03-02 13:03:12','Seeing is forgetting the name of the thing one sees','When this book first appeared in 1982, it introduced readers to Robert Irwin, the Los Angeles artist \"who one day got hooked on his own curiosity and decided to live it.\" Now expanded to include six additional chapters and twenty-four pages of color plates,Seeing Is Forgetting the Name of the Thing One Seeschronicles three decades of conversation between Lawrence Weschler and light and space master Irwin. It surveys many of Irwin\'s site-conditioned projects--in particular the Central Gardens at the Getty Museum (the subject of an epic battle with the site\'s principal architect, Richard Meier) and the design that transformed an abandoned Hudson Valley factory into Dia\'s new Beacon campus--enhancing what many had already considered the best book ever on an artist.','Univ of California Pr','2008',NULL,21),(22,'2012-03-02 13:03:12','Vermeer in Bosnia: selected writings',NULL,NULL,'2004',NULL,22),(23,'2012-03-02 13:03:13','The Last Place on Earth','Recounts the efforts of Scott, a British explorer, and Amundsen, a Norwegian, to be the first to reach the South Pole','Random House of Canada','1999',NULL,23),(24,'2012-03-02 13:03:13','Revolution 2:0','A key figure behind the Egyptian uprising in January 2011, which resulted in the ousting of President Mubarak tells the riveting inside story of what happened and presents lessons on how to unleash the power of crowds to create political change. 200,000 first printing.','Houghton Mifflin Harcourt (HMH)','2012-01-17',NULL,24),(25,'2012-03-02 13:03:14','The Longest Winter','Their tents were torn, their food was nearly finished, and the ship had failed to pick them up as planned. Gale-force winds blew, bitter with the cold of approaching winter. Stranded and desperate, the six men of the Northern Party faced disaster. Searching out a snow drift, they burrowed inside. Lieutenant Victor Campbell drew a line across the floor in the gloom to establish naval order: three officers on one side, the three seamen on the other. A birthday was celebrated with a carefully hoarded biscuit and they sang hymns every Sunday, so what kept these men going? Circumstances forced them closer together, their roles blurred and a shared sense of reality emerged. This mutual suffering made them indivisible and somehow they made it through the longest winter. To the south, the men waiting at headquarters knew that the Polar Party must be dead and hoped that another six men would not be added to the death toll. Working from expedition diaries, journals, and letters written by expedition members, Meredith Hooper tells the intensely human story of Scott’s other expedition.','John Murray Pubs Ltd','2010-05-01',NULL,25),(26,'2012-03-02 13:03:15','Selected Letters of Dashiell Hammett: 1921-1960','A collection of letters--to friends, lovers, family, and colleagues--by the legendary crime writer reveals the man behind the author as he discusses the craft of writing, his personal life, and his literary creations, Sam Spade and Nick and Nora Charles. Reprint. 25,000 first printing.','Counterpoint Press','2002-04-25',NULL,26),(27,'2012-03-02 13:03:15','The group','Depicts the experiences of eight Vassar graduates during the thirty years following their graduation','Mariner Books','1991-09-01',NULL,27),(28,'2012-03-02 13:03:16','The madwoman in the attic',NULL,NULL,'1979',NULL,28),(29,'2012-03-02 13:03:17','A literature of their own','Describes the female literary tradition in the English novel and the social backgrounds of the women who composed it','Princeton Univ Pr','1977',NULL,29),(30,'2012-03-02 13:03:17','Love like gumbo','In South Central Los Angeles in 1978, Grace Broussard, the youngest member of a Creole family transplanted from Louisiana, seeks to distance herself from her family through a ten point plan designed to shock them, but the ghost of her father interferes wi','Fjord Pr','1997-11',NULL,30),(31,'2012-03-02 13:03:18','Maugham',NULL,'Simon & Schuster','1980',NULL,31),(32,'2012-03-02 13:03:19','My battle of Algiers','A personal account of his experiences as a young officer during the horrors of the Algerian War in the 1950s by a Pulitzer Prize-winning historian details the horrific events of the conflict, which included bombings, assassinations, torture, and other unimaginable barbarities. 25,000 first printing.','Smithsonian','2005',NULL,32),(33,'2012-03-02 13:03:19','Dispatches','(Book Jacket Status: Jacketed) Written on the front lines in Vietnam, Dispatches became an immediate classic of war reportage when it was published in 1977. From its terrifying opening pages to its final eloquent words, Dispatches makes us see, in unforgettable and unflinching detail, the chaos and fervor of the war and the surreal insanity of life in that singular combat zone. Michael Herr’s unsparing, unorthodox retellings of the day-to-day events in Vietnam take on the force of poetry, rendering clarity from one of the most incomprehensible and nightmarish events of our time. Dispatches is among the most blistering and compassionate accounts of war in our literature.','Everyman\'s Library','2009-02-17',NULL,33),(34,'2012-03-02 13:03:20','Why Viet Nam?','Identifies the origins and causes of U.S. involvement in Viet Nam, beginning with the surrender of Japanese forces in Indochina in 1945','Univ of California Pr','1982-09-30',NULL,34),(35,'2012-03-02 13:03:20','Quantum electronics','This Third Edition of the popular text, while retaining nearly all the material of the previous edition, incorporates material on important new developments in lasers and quantum electronics. Covers phase-conjugate optics and its myriad applications, the long wavelength quaternary semiconductor laser, and our deepened understanding of the physics of semiconductor lasers--especially that applying to their current modulations and limiting bandwidth, laser arrays and the related concept of supermodes, quantum well semiconductor lasers, the role of phase amplitude coupling in laser noise, and free-electron lasers. In addition, the chapters on laser noise and third-order nonlinear effects have been extensively revised.','John Wiley & Sons Inc','1989-01-17',NULL,35),(36,'2012-03-02 13:03:21','Solid state physics',NULL,NULL,'1976',NULL,36),(37,'2012-03-02 13:03:22','Animal architects','Looks at why animals build, explores the building processes of a variety of species, and discusses how a study of animal building behavior can provides an understanding of the human mind.','Basic Books (AZ)','2007-03-12',NULL,37),(38,'2012-03-02 13:03:22','Animal Architects','From two of the world’s most distinguished experts in animal behavior, a radical, creative, and accessible new approach to understanding animal minds through the structures they build',NULL,'2012-03-06',NULL,38),(39,'2012-03-02 13:03:23','The animal mind','In this book, the author\'s examine the evidence of the innate & learned mental capacities of animals, including perceptual processing, & the most advanced forms of thought & language. Includes a final chapter on that animal we look at in the mirror each morning. Throughout their book, the authors challenge our basic assumptions about animal cognition & ask \"are animals capable of thought & awareness?\"','W H Freeman & Co','1999',NULL,39),(40,'2012-03-02 13:03:24','The remarkable life of William Beebe','When William Beebe needed to know what was going on in the depths of the ocean, he had himself lowered a half-mile down in a four-foot steel sphere to see-five times deeper than anyone had ever gone in the 1930s. When he wanted to trace the evolution of pheasants in 1910, he trekked on foot through the mountains and jungles of the Far East to locate every species. To decipher the complex ecology of the tropics, he studied the interactions of every creature and plant in a small area from the top down, setting the emerging field of tropical ecology into dynamic motion. William Beebe\'s curiosity about the natural world was insatiable, and he did nothing by halves. As the first biographer to see the letters and private journals Beebe kept from 1887 until his death in 1962, science writer Carol Grant Gould brings the life and times of this groundbreaking scientist and explorer compellingly to light. From the Galapagos Islands to the jungles of British Guiana, from the Bronx Zoo to the deep seas, Beebe\'s biography is a riveting adventure. A best-selling author in his own time, Beebe was a fearless explorer and thoughtful scientist who put his life on the line in pursuit of knowledge. The unique glimpses he provided into the complex web of interactions that keeps the earth alive and breathing have inspired generations of conservationists and ecologists. This exciting biography of a great naturalist brings William Beebe at last to the recognition he deserves.','Island Pr','2006-09-25',NULL,40),(41,'2012-03-02 13:03:25','Ethology','A history of ethology explains the neural and evolutionary mechanisms of behavior, the relationship of behavior to genetics, and the social and complex behavior of animals and humans','W. W. Norton & Company','1982',NULL,41),(42,'2012-03-02 13:03:26','Here am I--where are you?','Documents the social conduct of wild geese with anecdotes about specific geese who take on strikingly human characteristics','Harcourt','1991-10-01',NULL,42),(43,'2012-03-02 13:03:26','Rainbows End','In a near-future western civilization that is threatened by corruptive practices within its technologically advanced information networks, a recovered Alzheimer\'s victim, his military son and daughter-in-law, and his middle school-age granddaughter are caught up in a dangerous maelstrom beyond their worst imaginings. By the Hugo Award-winning author of A Deepness in the Sky. Reprint.','Tor Science Fiction','2007-04-03',NULL,43),(44,'2012-03-02 13:03:27','Neuromancer','Case, a burned-out computer whiz, is asked to steal a security code that is locked in the most heavily guarded databank in the solar system, in a new edition of the influential Hugo, Nebula, and Philip K. Dick Award winner. Reprint.','Ace Trade','2000-07-01',NULL,44),(45,'2012-03-02 13:03:28','The seven-per-cent solution','Back in print to tie-in with The Canary Trainer, this \"rediscovered\" Sherlock Holmes adventure recounts the unique collaboration of Holmes and Sigmund Freud in the solution of a mystery on which the lives of millions may depend.','W. W. Norton & Company','1993-09-23',NULL,45),(46,'2012-03-02 13:03:29','Seeing voices','A renowned neurologist investigates the world of the deaf, examining their past and present treatment at the hands of society, and assesses the value and significance of sign language. Reprint. 12,500 first printing.','Vintage','2000-11-28',NULL,46),(47,'2012-03-02 13:03:29','The left hand of darkness','The Terrans have sent a landing party to Gethan and what they find are a people outside their understanding, who do not see one another as men or women, strong or weak.',NULL,'1969',NULL,47),(48,'2012-03-02 13:03:30','A Wizard of Earthsea','Ursula K. Le Guin\'s first book of Earthsea--a treasured classic novel of wisdom and wizardry--introduces a boy who grows to manhood while attempting to subdue the evil he unleashed on the world as an apprentice to the Master Wizard. Young Adult.','Spectra','2004-09-28',NULL,48),(49,'2012-03-02 13:03:31','Four Ways to Forgiveness','Four interconnected novellas follow the stories of disgraced revolutionary Abberkam, callow \"space brat\" Solly, haughty soldier Teyeo, and historian and exile Havzhiva as each battles for duty and freedom, in a collection set in the author\'s Hainish universe. Reprint.','Harper Perennial','2004-12-14',NULL,49),(50,'2012-03-02 13:03:31','The Spy Who Came in from the Cold','Secret agent Alec Leamas is on a dangerous mission in East Berlin, but he has doubts about the organization he serves.','Walker & Co','2005-09-01',NULL,50),(51,'2012-03-02 13:03:32','Call for the Dead','Featuring an introduction by the author, this is a paperback reissue of the debut novel that introduces one of the most popular characters in espionage fiction: George Smiley.','Scribner','2002-02-01',NULL,51);
|
||
/*!40000 ALTER TABLE `core_edition` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_identifier`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_identifier`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_identifier` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`type` varchar(4) NOT NULL,
|
||
`value` varchar(31) NOT NULL,
|
||
`work_id` int(11) NOT NULL,
|
||
`edition_id` int(11) DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `core_identifier_type_73c65d72_uniq` (`type`,`value`),
|
||
KEY `core_identifier_50cafa73` (`work_id`),
|
||
KEY `core_identifier_16ab133f` (`edition_id`),
|
||
CONSTRAINT `edition_id_refs_id_3ef1dd63` FOREIGN KEY (`edition_id`) REFERENCES `core_edition` (`id`),
|
||
CONSTRAINT `work_id_refs_id_173a5601` FOREIGN KEY (`work_id`) REFERENCES `core_work` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=103 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_identifier`
|
||
--
|
||
|
||
LOCK TABLES `core_identifier` WRITE;
|
||
/*!40000 ALTER TABLE `core_identifier` DISABLE KEYS */;
|
||
INSERT INTO `core_identifier` VALUES (1,'goog','wtPxGztYx-UC',1,1),(2,'isbn','9780811216999',1,1),(3,'goog','v6iZL5n5cLwC',2,2),(4,'isbn','9780811216715',2,2),(5,'goog','cRMjLSUJB-8C',3,3),(6,'isbn','9781564780881',3,3),(7,'goog','ceZXAAAAYAAJ',4,4),(8,'isbn','9780156709903',4,4),(9,'goog','fEmg2ZGajiYC',5,5),(10,'isbn','9780803260979',5,5),(11,'goog','m8bro-kUA0IC',6,6),(12,'isbn','9780231145367',6,6),(13,'goog','8-G_hkBRHxgC',7,7),(14,'isbn','9780745647869',7,7),(15,'goog','Zpu5_c2o-2IC',8,8),(16,'isbn','9780393302318',8,8),(17,'goog','pzeGAQAACAAJ',9,9),(18,'isbn','9781590171103',9,9),(19,'goog','bw8OALeRZwwC',10,10),(20,'isbn','9780156029094',10,10),(21,'goog','_jlyGQAACAAJ',11,11),(22,'isbn','9780156576819',11,11),(23,'goog','P_JLcAcNXoUC',12,12),(24,'isbn','9780156982900',12,12),(25,'goog','Jj8e9sCds-kC',13,13),(26,'isbn','9780156189798',13,13),(27,'goog','S2ViPwAACAAJ',14,14),(28,'isbn','9780553380835',14,14),(29,'goog','NaZoQgAACAAJ',15,15),(30,'isbn','9780375706684',15,15),(31,'goog','c3PDO7jKTJMC',16,16),(32,'isbn','9780553804911',16,16),(33,'goog','0Zzcd8k6TNEC',17,17),(34,'isbn','9780553378580',17,17),(35,'goog','R_jF5yUjYSEC',18,18),(36,'isbn','9780684831077',18,18),(37,'goog','ASPVDMmiLZkC',19,19),(38,'isbn','9780761148579',19,19),(39,'goog','DKo0GcKyxXQC',20,20),(40,'isbn','9781563053382',20,20),(41,'goog','kWjtMAAACAAJ',21,21),(42,'isbn','9780520256095',21,21),(43,'goog','meDISAAACAAJ',22,22),(44,'isbn','9780679442707',22,22),(45,'goog','NpXhF9snsA4C',23,23),(46,'isbn','9780375754746',23,23),(47,'goog','JSdstTJWNq4C',24,24),(48,'isbn','9780547773988',24,24),(49,'goog','b1IQPQAACAAJ',25,25),(50,'isbn','9780719595806',25,25),(51,'goog','hr9AnjP9i3MC',26,26),(52,'isbn','9781582432106',26,26),(53,'goog','rXNMFENTY2wC',27,27),(54,'isbn','9780156372084',27,27),(55,'goog','O2GyQgAACAAJ',28,28),(56,'isbn','9780300022865',28,28),(57,'goog','baRxQgAACAAJ',29,29),(58,'isbn','9780691063188',29,29),(59,'goog','bmOxAAAAIAAJ',30,30),(60,'isbn','9780940242753',30,30),(61,'goog','fKrVrGbsQt8C',31,31),(62,'isbn','9780671240776',31,31),(63,'goog','JHV_QgAACAAJ',32,32),(64,'isbn','9780060852245',32,32),(65,'goog','QOI_jmwFxGkC',33,33),(66,'isbn','9780307270801',33,33),(67,'goog','e8EpyU3-2zwC',34,34),(68,'isbn','9780520047839',34,34),(69,'goog','UTWg1VIkNuMC',35,35),(70,'isbn','9780471609971',35,35),(71,'goog','oXIfAQAAMAAJ',36,36),(72,'isbn','9780030839931',36,36),(73,'goog','J02DI6uG8jgC',37,37),(74,'isbn','9780465027828',37,37),(75,'goog','Qc5kXwAACAAJ',38,38),(76,'isbn','9780465028382',38,38),(77,'goog','xTBUOgAACAAJ',39,39),(78,'isbn','9780716760351',39,39),(79,'goog','XCNOPgAACAAJ',40,40),(80,'isbn','9781597261074',40,40),(81,'goog','Wh2IAAAAIAAJ',41,41),(82,'isbn','9780393014884',41,41),(83,'goog','KAuKQgAACAAJ',42,42),(84,'isbn','9780151400560',42,42),(85,'goog','rF9zs9TRakYC',43,43),(86,'isbn','9780812536362',43,43),(87,'goog','IDFfMPW32hQC',44,44),(88,'isbn','9780441007462',44,44),(89,'goog','a_FQYUt63WEC',45,45),(90,'isbn','9780393311198',45,45),(91,'goog','0S4rLyDj8AgC',46,46),(92,'isbn','9780375704079',46,46),(93,'goog','tIuFygAACAAJ',47,47),(94,'isbn','9780760759141',47,47),(95,'goog','hwlCPgAACAAJ',48,48),(96,'isbn','9780553383041',48,48),(97,'goog','yj1NPgAACAAJ',49,49),(98,'isbn','9780060760298',49,49),(99,'goog','o6o7PgAACAAJ',50,50),(100,'isbn','9780802714541',50,50),(101,'goog','oY0NdYZbG2kC',51,51),(102,'isbn','9780743431675',51,51);
|
||
/*!40000 ALTER TABLE `core_identifier` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_premium`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_premium`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_premium` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`type` varchar(2) NOT NULL,
|
||
`campaign_id` int(11) DEFAULT NULL,
|
||
`amount` decimal(10,0) NOT NULL,
|
||
`description` longtext,
|
||
`limit` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `core_premium_702b94e6` (`campaign_id`),
|
||
CONSTRAINT `campaign_id_refs_id_512fbe69` FOREIGN KEY (`campaign_id`) REFERENCES `core_campaign` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_premium`
|
||
--
|
||
|
||
LOCK TABLES `core_premium` WRITE;
|
||
/*!40000 ALTER TABLE `core_premium` DISABLE KEYS */;
|
||
INSERT INTO `core_premium` VALUES (1,'2011-11-17 22:03:37','00',NULL,'1','The unglued ebook delivered to your inbox.',0),(2,'2011-11-17 22:03:37','00',NULL,'25','Your name under \"supporters\" in the acknowledgements section.',0),(3,'2011-11-17 22:03:37','00',NULL,'50','Your name and profile URL of your choice under \"benefactors\"',0),(4,'2011-11-17 22:03:37','00',NULL,'100','Your name, profile URL, and profile tagline under \"bibliophiles\"',0);
|
||
/*!40000 ALTER TABLE `core_premium` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_rightsholder`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_rightsholder`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_rightsholder` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`email` varchar(100) NOT NULL,
|
||
`rights_holder_name` varchar(100) NOT NULL,
|
||
`owner_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `core_rightsholder_5d52dd10` (`owner_id`),
|
||
CONSTRAINT `owner_id_refs_id_4785c9f2` FOREIGN KEY (`owner_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_rightsholder`
|
||
--
|
||
|
||
LOCK TABLES `core_rightsholder` WRITE;
|
||
/*!40000 ALTER TABLE `core_rightsholder` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_rightsholder` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_subject`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_subject`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_subject` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`name` varchar(200) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `core_subject_name_uniq` (`name`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_subject`
|
||
--
|
||
|
||
LOCK TABLES `core_subject` WRITE;
|
||
/*!40000 ALTER TABLE `core_subject` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_subject` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_subject_works`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_subject_works`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_subject_works` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`subject_id` int(11) NOT NULL,
|
||
`work_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `core_subject_works_subject_id_7fafdf11_uniq` (`subject_id`,`work_id`),
|
||
KEY `core_subject_works_638462f1` (`subject_id`),
|
||
KEY `core_subject_works_50cafa73` (`work_id`),
|
||
CONSTRAINT `subject_id_refs_id_1f2e6ee2` FOREIGN KEY (`subject_id`) REFERENCES `core_subject` (`id`),
|
||
CONSTRAINT `work_id_refs_id_23534694` FOREIGN KEY (`work_id`) REFERENCES `core_work` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_subject_works`
|
||
--
|
||
|
||
LOCK TABLES `core_subject_works` WRITE;
|
||
/*!40000 ALTER TABLE `core_subject_works` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_subject_works` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_userprofile`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_userprofile`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_userprofile` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`user_id` int(11) NOT NULL,
|
||
`tagline` varchar(140) NOT NULL,
|
||
`pic_url` varchar(200) NOT NULL,
|
||
`home_url` varchar(200) NOT NULL,
|
||
`twitter_id` varchar(15) NOT NULL,
|
||
`facebook_id` int(10) unsigned DEFAULT NULL,
|
||
`librarything_id` varchar(31) NOT NULL,
|
||
`goodreads_user_id` varchar(32) DEFAULT NULL,
|
||
`goodreads_user_name` varchar(200) DEFAULT NULL,
|
||
`goodreads_auth_token` longtext,
|
||
`goodreads_auth_secret` longtext,
|
||
`goodreads_user_link` varchar(200) DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_id` (`user_id`),
|
||
CONSTRAINT `user_id_refs_id_55007184` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_userprofile`
|
||
--
|
||
|
||
LOCK TABLES `core_userprofile` WRITE;
|
||
/*!40000 ALTER TABLE `core_userprofile` DISABLE KEYS */;
|
||
INSERT INTO `core_userprofile` VALUES (1,'2012-03-02 13:17:24',1,'','','','',NULL,'',NULL,NULL,NULL,NULL,NULL),(2,'2012-03-02 13:21:21',2,'','','','',NULL,'',NULL,NULL,NULL,NULL,NULL),(3,'2012-03-13 19:11:32',3,'','','','',NULL,'',NULL,NULL,NULL,NULL,NULL);
|
||
/*!40000 ALTER TABLE `core_userprofile` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_waswork`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_waswork`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_waswork` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`work_id` int(11) NOT NULL,
|
||
`was` int(11) NOT NULL,
|
||
`moved` datetime NOT NULL,
|
||
`user_id` int(11) DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `was` (`was`),
|
||
KEY `core_waswork_50cafa73` (`work_id`),
|
||
KEY `core_waswork_403f60f` (`user_id`),
|
||
CONSTRAINT `user_id_refs_id_6b2efc3c` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`),
|
||
CONSTRAINT `work_id_refs_id_1a094c05` FOREIGN KEY (`work_id`) REFERENCES `core_work` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_waswork`
|
||
--
|
||
|
||
LOCK TABLES `core_waswork` WRITE;
|
||
/*!40000 ALTER TABLE `core_waswork` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_waswork` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_wishlist`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_wishlist`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_wishlist` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`user_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_id` (`user_id`),
|
||
CONSTRAINT `user_id_refs_id_109b8800` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_wishlist`
|
||
--
|
||
|
||
LOCK TABLES `core_wishlist` WRITE;
|
||
/*!40000 ALTER TABLE `core_wishlist` DISABLE KEYS */;
|
||
INSERT INTO `core_wishlist` VALUES (1,'2012-03-02 13:17:24',1),(2,'2012-03-02 13:21:21',2),(3,'2012-03-13 19:11:32',3);
|
||
/*!40000 ALTER TABLE `core_wishlist` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_wishlist_works`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_wishlist_works`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_wishlist_works` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`wishlist_id` int(11) NOT NULL,
|
||
`work_id` int(11) NOT NULL,
|
||
`created` datetime NOT NULL,
|
||
`source` varchar(15) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `core_wishlist_works_wishlist_id_7ac55979_uniq` (`wishlist_id`,`work_id`),
|
||
KEY `core_wishlist_works_515c0ae1` (`wishlist_id`),
|
||
KEY `core_wishlist_works_50cafa73` (`work_id`),
|
||
CONSTRAINT `wishlist_id_refs_id_29586d26` FOREIGN KEY (`wishlist_id`) REFERENCES `core_wishlist` (`id`),
|
||
CONSTRAINT `work_id_refs_id_117c3b10` FOREIGN KEY (`work_id`) REFERENCES `core_work` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_wishlist_works`
|
||
--
|
||
|
||
LOCK TABLES `core_wishlist_works` WRITE;
|
||
/*!40000 ALTER TABLE `core_wishlist_works` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `core_wishlist_works` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `core_work`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `core_work`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `core_work` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`created` datetime NOT NULL,
|
||
`title` varchar(1000) NOT NULL,
|
||
`language` varchar(2) NOT NULL,
|
||
`openlibrary_lookup` datetime DEFAULT NULL,
|
||
`num_wishes` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `core_work`
|
||
--
|
||
|
||
LOCK TABLES `core_work` WRITE;
|
||
/*!40000 ALTER TABLE `core_work` DISABLE KEYS */;
|
||
INSERT INTO `core_work` VALUES (1,'2012-03-02 13:02:58','Labyrinths','en',NULL,0),(2,'2012-03-02 13:02:59','Nightwood','en',NULL,0),(3,'2012-03-02 13:02:59','The making of Americans','en',NULL,0),(4,'2012-03-02 13:03:00','Paris was yesterday','en',NULL,0),(5,'2012-03-02 13:03:01','Shakespeare and Company','en',NULL,0),(6,'2012-03-02 13:03:01','The letters of Sylvia Beach','en',NULL,0),(7,'2012-03-02 13:03:02','Merchants of Culture','en',NULL,0),(8,'2012-03-02 13:03:03','Sylvia Beach and the Lost Generation','en',NULL,0),(9,'2012-03-02 13:03:04','Hons and Rebels','en',NULL,0),(10,'2012-03-02 13:03:05','The Friendly Persuasion','en',NULL,0),(11,'2012-03-02 13:03:06','The Massacre at Fall Creek','en',NULL,0),(12,'2012-03-02 13:03:06','Woman Said Yes','en',NULL,0),(13,'2012-03-02 13:03:07','Collected Stories of Jessamyn West','en',NULL,0),(14,'2012-03-02 13:03:07','Father, Son & Co.','en',NULL,0),(15,'2012-03-02 13:03:08','Dhalgren','en',NULL,0),(16,'2012-03-02 13:03:09','Emotional intelligence','en',NULL,0),(17,'2012-03-02 13:03:09','Working with emotional intelligence','en',NULL,0),(18,'2012-03-02 13:03:10','Vital lies, simple truths','en',NULL,0),(19,'2012-03-02 13:03:10','What to Expect When You\'re Expecting','en',NULL,0),(20,'2012-03-02 13:03:11','60 ways to relieve stress in 60 seconds','en',NULL,0),(21,'2012-03-02 13:03:11','Seeing is forgetting the name of the thing one sees','en',NULL,0),(22,'2012-03-02 13:03:12','Vermeer in Bosnia: selected writings','en',NULL,0),(23,'2012-03-02 13:03:13','The Last Place on Earth','en',NULL,0),(24,'2012-03-02 13:03:13','Revolution 2:0','en',NULL,0),(25,'2012-03-02 13:03:14','The Longest Winter','en',NULL,0),(26,'2012-03-02 13:03:15','Selected Letters of Dashiell Hammett: 1921-1960','en',NULL,0),(27,'2012-03-02 13:03:15','The group','en',NULL,0),(28,'2012-03-02 13:03:16','The madwoman in the attic','en',NULL,0),(29,'2012-03-02 13:03:17','A literature of their own','en',NULL,0),(30,'2012-03-02 13:03:17','Love like gumbo','en',NULL,0),(31,'2012-03-02 13:03:18','Maugham','en',NULL,0),(32,'2012-03-02 13:03:19','My battle of Algiers','en',NULL,0),(33,'2012-03-02 13:03:19','Dispatches','en',NULL,0),(34,'2012-03-02 13:03:20','Why Viet Nam?','en',NULL,0),(35,'2012-03-02 13:03:20','Quantum electronics','en',NULL,0),(36,'2012-03-02 13:03:21','Solid state physics','en',NULL,0),(37,'2012-03-02 13:03:22','Animal architects','en',NULL,0),(38,'2012-03-02 13:03:22','Animal Architects','en',NULL,0),(39,'2012-03-02 13:03:23','The animal mind','en',NULL,0),(40,'2012-03-02 13:03:24','The remarkable life of William Beebe','en',NULL,0),(41,'2012-03-02 13:03:25','Ethology','en',NULL,0),(42,'2012-03-02 13:03:26','Here am I--where are you?','en',NULL,0),(43,'2012-03-02 13:03:26','Rainbows End','en',NULL,0),(44,'2012-03-02 13:03:27','Neuromancer','en',NULL,0),(45,'2012-03-02 13:03:28','The seven-per-cent solution','en',NULL,0),(46,'2012-03-02 13:03:29','Seeing voices','en',NULL,0),(47,'2012-03-02 13:03:29','The left hand of darkness','en',NULL,0),(48,'2012-03-02 13:03:30','A Wizard of Earthsea','en',NULL,0),(49,'2012-03-02 13:03:31','Four Ways to Forgiveness','en',NULL,0),(50,'2012-03-02 13:03:31','The Spy Who Came in from the Cold','en',NULL,0),(51,'2012-03-02 13:03:32','Call for the Dead','en',NULL,0);
|
||
/*!40000 ALTER TABLE `core_work` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `django_admin_log`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `django_admin_log`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `django_admin_log` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`action_time` datetime NOT NULL,
|
||
`user_id` int(11) NOT NULL,
|
||
`content_type_id` int(11) DEFAULT NULL,
|
||
`object_id` longtext,
|
||
`object_repr` varchar(200) NOT NULL,
|
||
`action_flag` smallint(5) unsigned NOT NULL,
|
||
`change_message` longtext NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `django_admin_log_403f60f` (`user_id`),
|
||
KEY `django_admin_log_1bb8f392` (`content_type_id`),
|
||
CONSTRAINT `content_type_id_refs_id_288599e6` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`),
|
||
CONSTRAINT `user_id_refs_id_c8665aa` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `django_admin_log`
|
||
--
|
||
|
||
LOCK TABLES `django_admin_log` WRITE;
|
||
/*!40000 ALTER TABLE `django_admin_log` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `django_admin_log` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `django_comment_flags`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `django_comment_flags`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `django_comment_flags` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`user_id` int(11) NOT NULL,
|
||
`comment_id` int(11) NOT NULL,
|
||
`flag` varchar(30) NOT NULL,
|
||
`flag_date` datetime NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_id` (`user_id`,`comment_id`,`flag`),
|
||
KEY `django_comment_flags_403f60f` (`user_id`),
|
||
KEY `django_comment_flags_64c238ac` (`comment_id`),
|
||
KEY `django_comment_flags_111c90f9` (`flag`),
|
||
CONSTRAINT `comment_id_refs_id_373a05f7` FOREIGN KEY (`comment_id`) REFERENCES `django_comments` (`id`),
|
||
CONSTRAINT `user_id_refs_id_603c4dcb` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `django_comment_flags`
|
||
--
|
||
|
||
LOCK TABLES `django_comment_flags` WRITE;
|
||
/*!40000 ALTER TABLE `django_comment_flags` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `django_comment_flags` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `django_comments`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `django_comments`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `django_comments` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`content_type_id` int(11) NOT NULL,
|
||
`object_pk` longtext NOT NULL,
|
||
`site_id` int(11) NOT NULL,
|
||
`user_id` int(11) DEFAULT NULL,
|
||
`user_name` varchar(50) NOT NULL,
|
||
`user_email` varchar(75) NOT NULL,
|
||
`user_url` varchar(200) NOT NULL,
|
||
`comment` longtext NOT NULL,
|
||
`submit_date` datetime NOT NULL,
|
||
`ip_address` char(15) DEFAULT NULL,
|
||
`is_public` tinyint(1) NOT NULL,
|
||
`is_removed` tinyint(1) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `django_comments_1bb8f392` (`content_type_id`),
|
||
KEY `django_comments_6223029` (`site_id`),
|
||
KEY `django_comments_403f60f` (`user_id`),
|
||
CONSTRAINT `content_type_id_refs_id_d5868a5` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`),
|
||
CONSTRAINT `site_id_refs_id_7248df08` FOREIGN KEY (`site_id`) REFERENCES `django_site` (`id`),
|
||
CONSTRAINT `user_id_refs_id_7e9ddfef` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `django_comments`
|
||
--
|
||
|
||
LOCK TABLES `django_comments` WRITE;
|
||
/*!40000 ALTER TABLE `django_comments` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `django_comments` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `django_content_type`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `django_content_type`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `django_content_type` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(100) NOT NULL,
|
||
`app_label` varchar(100) NOT NULL,
|
||
`model` varchar(100) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `app_label` (`app_label`,`model`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `django_content_type`
|
||
--
|
||
|
||
LOCK TABLES `django_content_type` WRITE;
|
||
/*!40000 ALTER TABLE `django_content_type` DISABLE KEYS */;
|
||
INSERT INTO `django_content_type` VALUES (1,'permission','auth','permission'),(2,'group','auth','group'),(3,'user','auth','user'),(4,'message','auth','message'),(5,'content type','contenttypes','contenttype'),(6,'session','sessions','session'),(7,'site','sites','site'),(8,'comment','comments','comment'),(9,'comment flag','comments','commentflag'),(10,'migration history','south','migrationhistory'),(11,'registration profile','registration','registrationprofile'),(12,'user social auth','social_auth','usersocialauth'),(13,'nonce','social_auth','nonce'),(14,'association','social_auth','association'),(15,'log entry','admin','logentry'),(16,'queue','djkombu','queue'),(17,'message','djkombu','message'),(18,'celery task','core','celerytask'),(19,'claim','core','claim'),(20,'rights holder','core','rightsholder'),(21,'premium','core','premium'),(22,'campaign action','core','campaignaction'),(23,'campaign','core','campaign'),(24,'identifier','core','identifier'),(25,'work','core','work'),(26,'author','core','author'),(27,'subject','core','subject'),(28,'edition','core','edition'),(29,'was work','core','waswork'),(30,'ebook','core','ebook'),(31,'wishlist','core','wishlist'),(32,'wishes','core','wishes'),(33,'user profile','core','userprofile'),(34,'transaction','payment','transaction'),(35,'payment response','payment','paymentresponse'),(36,'receiver','payment','receiver'),(37,'api access','tastypie','apiaccess'),(38,'api key','tastypie','apikey'),(39,'task meta','djcelery','taskmeta'),(40,'taskset meta','djcelery','tasksetmeta'),(41,'interval','djcelery','intervalschedule'),(42,'crontab','djcelery','crontabschedule'),(43,'periodic tasks','djcelery','periodictasks'),(44,'periodic task','djcelery','periodictask'),(45,'worker','djcelery','workerstate'),(46,'task','djcelery','taskstate'),(47,'notice type','notification','noticetype'),(48,'notice setting','notification','noticesetting'),(49,'notice','notification','notice'),(50,'notice queue batch','notification','noticequeuebatch'),(51,'observed item','notification','observeditem');
|
||
/*!40000 ALTER TABLE `django_content_type` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `django_session`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `django_session`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `django_session` (
|
||
`session_key` varchar(40) NOT NULL,
|
||
`session_data` longtext NOT NULL,
|
||
`expire_date` datetime NOT NULL,
|
||
PRIMARY KEY (`session_key`),
|
||
KEY `django_session_3da3d3d8` (`expire_date`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `django_session`
|
||
--
|
||
|
||
LOCK TABLES `django_session` WRITE;
|
||
/*!40000 ALTER TABLE `django_session` DISABLE KEYS */;
|
||
INSERT INTO `django_session` VALUES ('18fbcae31f97186e23df72668c871697','OTU5N2MyYWZlMGEyZjQwMDlhNzhlZjQ2NzQ4ODY0YzM1MTFhN2VjNzqAAn1xAShVBm9wZW5pZH1V\nDV9hdXRoX3VzZXJfaWRxAooBAlUec29jaWFsX2F1dGhfbGFzdF9sb2dpbl9iYWNrZW5kcQNVBmdv\nb2dsZXEEVQp0ZXN0Y29va2llVQZ3b3JrZWRVEl9hdXRoX3VzZXJfYmFja2VuZHEFVSlzb2NpYWxf\nYXV0aC5iYWNrZW5kcy5nb29nbGUuR29vZ2xlQmFja2VuZHEGdS4=\n','2012-03-16 13:22:05'),('2a5014c0ae1d8df35a7ba7894737898c','OTIyOTliMjkxYjQ2NDE3ZGZiNmFhNThhZDUxN2U0NmZiNWY1YjJjMzqAAn1xAShVBm9wZW5pZH1V\nDV9hdXRoX3VzZXJfaWRxAooBAVUec29jaWFsX2F1dGhfbGFzdF9sb2dpbl9iYWNrZW5kcQNVBmdv\nb2dsZXEEVQp0ZXN0Y29va2llVQZ3b3JrZWRVEl9hdXRoX3VzZXJfYmFja2VuZHEFVSlzb2NpYWxf\nYXV0aC5iYWNrZW5kcy5nb29nbGUuR29vZ2xlQmFja2VuZHEGdS4=\n','2012-03-16 13:17:24'),('d588298920bbe41b16ba73a0dd2d6f2a','OGIzMmE3NTU0NTViODBhYWEwZGNhZTlkMDkyZWE2MDAwN2FhYTgwNTqAAn1xAShVEl9hdXRoX3Vz\nZXJfYmFja2VuZHECVSlkamFuZ28uY29udHJpYi5hdXRoLmJhY2tlbmRzLk1vZGVsQmFja2VuZHED\nVQ1fYXV0aF91c2VyX2lkcQSKAQN1Lg==\n','2012-03-27 19:14:27');
|
||
/*!40000 ALTER TABLE `django_session` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `django_site`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `django_site`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `django_site` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`domain` varchar(100) NOT NULL,
|
||
`name` varchar(50) NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `django_site`
|
||
--
|
||
|
||
LOCK TABLES `django_site` WRITE;
|
||
/*!40000 ALTER TABLE `django_site` DISABLE KEYS */;
|
||
INSERT INTO `django_site` VALUES (1,'unglue.it','unglue.it'),(2,'please.unglueit.com','unglue.it development'),(3,'localhost:8000','unglue.it local development'),(4,'ry-dev.dyndns.org','ry-dev development');
|
||
/*!40000 ALTER TABLE `django_site` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `djcelery_crontabschedule`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `djcelery_crontabschedule`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `djcelery_crontabschedule` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`minute` varchar(64) NOT NULL DEFAULT '*',
|
||
`hour` varchar(64) NOT NULL DEFAULT '*',
|
||
`day_of_week` varchar(64) NOT NULL DEFAULT '*',
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `djcelery_crontabschedule`
|
||
--
|
||
|
||
LOCK TABLES `djcelery_crontabschedule` WRITE;
|
||
/*!40000 ALTER TABLE `djcelery_crontabschedule` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `djcelery_crontabschedule` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `djcelery_intervalschedule`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `djcelery_intervalschedule`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `djcelery_intervalschedule` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`every` int(11) NOT NULL,
|
||
`period` varchar(24) NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `djcelery_intervalschedule`
|
||
--
|
||
|
||
LOCK TABLES `djcelery_intervalschedule` WRITE;
|
||
/*!40000 ALTER TABLE `djcelery_intervalschedule` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `djcelery_intervalschedule` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `djcelery_periodictask`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `djcelery_periodictask`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `djcelery_periodictask` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(200) NOT NULL,
|
||
`task` varchar(200) NOT NULL,
|
||
`interval_id` int(11) DEFAULT NULL,
|
||
`crontab_id` int(11) DEFAULT NULL,
|
||
`args` longtext NOT NULL,
|
||
`kwargs` longtext NOT NULL,
|
||
`queue` varchar(200) DEFAULT NULL,
|
||
`exchange` varchar(200) DEFAULT NULL,
|
||
`routing_key` varchar(200) DEFAULT NULL,
|
||
`expires` datetime DEFAULT NULL,
|
||
`enabled` tinyint(1) NOT NULL DEFAULT '1',
|
||
`last_run_at` datetime DEFAULT NULL,
|
||
`total_run_count` int(10) unsigned NOT NULL DEFAULT '0',
|
||
`date_changed` datetime NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `name` (`name`),
|
||
KEY `djcelery_periodictask_17d2d99d` (`interval_id`),
|
||
KEY `djcelery_periodictask_7aa5fda` (`crontab_id`),
|
||
CONSTRAINT `crontab_id_refs_id_1400a18c` FOREIGN KEY (`crontab_id`) REFERENCES `djcelery_crontabschedule` (`id`),
|
||
CONSTRAINT `interval_id_refs_id_dfabcb7` FOREIGN KEY (`interval_id`) REFERENCES `djcelery_intervalschedule` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `djcelery_periodictask`
|
||
--
|
||
|
||
LOCK TABLES `djcelery_periodictask` WRITE;
|
||
/*!40000 ALTER TABLE `djcelery_periodictask` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `djcelery_periodictask` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `djcelery_periodictasks`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `djcelery_periodictasks`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `djcelery_periodictasks` (
|
||
`ident` smallint(6) NOT NULL DEFAULT '1',
|
||
`last_update` datetime NOT NULL,
|
||
PRIMARY KEY (`ident`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `djcelery_periodictasks`
|
||
--
|
||
|
||
LOCK TABLES `djcelery_periodictasks` WRITE;
|
||
/*!40000 ALTER TABLE `djcelery_periodictasks` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `djcelery_periodictasks` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `djcelery_taskstate`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `djcelery_taskstate`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `djcelery_taskstate` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`state` varchar(64) NOT NULL,
|
||
`task_id` varchar(36) NOT NULL,
|
||
`name` varchar(200) DEFAULT NULL,
|
||
`tstamp` datetime NOT NULL,
|
||
`args` longtext,
|
||
`kwargs` longtext,
|
||
`eta` datetime DEFAULT NULL,
|
||
`expires` datetime DEFAULT NULL,
|
||
`result` longtext,
|
||
`traceback` longtext,
|
||
`runtime` double DEFAULT NULL,
|
||
`retries` int(11) NOT NULL DEFAULT '0',
|
||
`worker_id` int(11) DEFAULT NULL,
|
||
`hidden` tinyint(1) NOT NULL DEFAULT '0',
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `task_id` (`task_id`),
|
||
KEY `djcelery_taskstate_355bfc27` (`state`),
|
||
KEY `djcelery_taskstate_52094d6e` (`name`),
|
||
KEY `djcelery_taskstate_f459b00` (`tstamp`),
|
||
KEY `djcelery_taskstate_20fc5b84` (`worker_id`),
|
||
KEY `djcelery_taskstate_c91f1bf` (`hidden`),
|
||
CONSTRAINT `worker_id_refs_id_4e3453a` FOREIGN KEY (`worker_id`) REFERENCES `djcelery_workerstate` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `djcelery_taskstate`
|
||
--
|
||
|
||
LOCK TABLES `djcelery_taskstate` WRITE;
|
||
/*!40000 ALTER TABLE `djcelery_taskstate` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `djcelery_taskstate` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `djcelery_workerstate`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `djcelery_workerstate`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `djcelery_workerstate` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`hostname` varchar(255) NOT NULL,
|
||
`last_heartbeat` datetime DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `hostname` (`hostname`),
|
||
KEY `djcelery_workerstate_1475381c` (`last_heartbeat`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `djcelery_workerstate`
|
||
--
|
||
|
||
LOCK TABLES `djcelery_workerstate` WRITE;
|
||
/*!40000 ALTER TABLE `djcelery_workerstate` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `djcelery_workerstate` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `djkombu_message`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `djkombu_message`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `djkombu_message` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`visible` tinyint(1) NOT NULL,
|
||
`sent_at` datetime DEFAULT NULL,
|
||
`payload` longtext NOT NULL,
|
||
`queue_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `djkombu_message_16b2708a` (`visible`),
|
||
KEY `djkombu_message_774871ae` (`sent_at`),
|
||
KEY `djkombu_message_1e72d6b8` (`queue_id`),
|
||
CONSTRAINT `queue_id_refs_id_13f7812d` FOREIGN KEY (`queue_id`) REFERENCES `djkombu_queue` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `djkombu_message`
|
||
--
|
||
|
||
LOCK TABLES `djkombu_message` WRITE;
|
||
/*!40000 ALTER TABLE `djkombu_message` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `djkombu_message` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `djkombu_queue`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `djkombu_queue`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `djkombu_queue` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(200) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `name` (`name`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `djkombu_queue`
|
||
--
|
||
|
||
LOCK TABLES `djkombu_queue` WRITE;
|
||
/*!40000 ALTER TABLE `djkombu_queue` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `djkombu_queue` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `notification_notice`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `notification_notice`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `notification_notice` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`recipient_id` int(11) NOT NULL,
|
||
`sender_id` int(11) DEFAULT NULL,
|
||
`message` longtext NOT NULL,
|
||
`notice_type_id` int(11) NOT NULL,
|
||
`added` datetime NOT NULL,
|
||
`unseen` tinyint(1) NOT NULL,
|
||
`archived` tinyint(1) NOT NULL,
|
||
`on_site` tinyint(1) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `notification_notice_32f69dc` (`recipient_id`),
|
||
KEY `notification_notice_6fe0a617` (`sender_id`),
|
||
KEY `notification_notice_d734034` (`notice_type_id`),
|
||
CONSTRAINT `notice_type_id_refs_id_212d5727` FOREIGN KEY (`notice_type_id`) REFERENCES `notification_noticetype` (`id`),
|
||
CONSTRAINT `recipient_id_refs_id_690c45d1` FOREIGN KEY (`recipient_id`) REFERENCES `auth_user` (`id`),
|
||
CONSTRAINT `sender_id_refs_id_690c45d1` FOREIGN KEY (`sender_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `notification_notice`
|
||
--
|
||
|
||
LOCK TABLES `notification_notice` WRITE;
|
||
/*!40000 ALTER TABLE `notification_notice` DISABLE KEYS */;
|
||
INSERT INTO `notification_notice` VALUES (1,1,NULL,' \n \n <div class=\"comments row1\">\n <div class=\"nonavatar\">\n <div class=\"image\">\n <a href=\"/work/2003/?tab=2\"><img src=\"http://bks0.books.google.com/books?id=Lx-hrmLCGHkC&printsec=frontcover&img=1&zoom=1\" alt=\"cover image\" /></a>\n </div>\n <span><a href=\"/supporter/rdhyee/\">Raymond Yee</a> on <a href=\"/work/2003/?tab=2\">Bach</a></span><br />\n \n <span class=\"text\">fine book</span>\n </div>\n \n <div class=\"avatar\">\n <a href=\"/supporter/rdhyee/\">\n \n <img class=\"user-avatar\" src=\"/static/images/header/avatar.png\" height=\"50\" width=\"50\" alt=\"Generic Ungluer Avatar\" title=\"Ungluer\" />\n \n </a>\n </div>\n </div>\n \n \n',1,'2012-03-27 16:53:46',1,0,1),(2,1,NULL,' \n \n <div class=\"comments row1\">\n <div class=\"nonavatar\">\n <div class=\"image\">\n <a href=\"/work/2003/?tab=2\"><img src=\"http://bks2.books.google.com/books?id=Lx-hrmLCGHkC&printsec=frontcover&img=1&zoom=1\" alt=\"cover image\" /></a>\n </div>\n <span><a href=\"/supporter/rdhyee/\">Raymond Yee</a> on <a href=\"/work/2003/?tab=2\">Bach</a></span><br />\n \n <span class=\"text\">excellent book</span>\n </div>\n \n <div class=\"avatar\">\n <a href=\"/supporter/rdhyee/\">\n \n <img class=\"user-avatar\" src=\"/static/images/header/avatar.png\" height=\"50\" width=\"50\" alt=\"Generic Ungluer Avatar\" title=\"Ungluer\" />\n \n </a>\n </div>\n </div>\n \n \n',1,'2012-03-27 16:54:37',1,0,1),(3,14,NULL,' \n \n <div class=\"comments row1\">\n <div class=\"nonavatar\">\n <div class=\"image\">\n <a href=\"/work/2003/?tab=2\"><img src=\"http://bks1.books.google.com/books?id=Lx-hrmLCGHkC&printsec=frontcover&img=1&zoom=1\" alt=\"cover image\" /></a>\n </div>\n <span><a href=\"/supporter/rdhyee/\">Raymond Yee</a> on <a href=\"/work/2003/?tab=2\">Bach</a></span><br />\n \n <span class=\"text\">excellent book</span>\n </div>\n \n <div class=\"avatar\">\n <a href=\"/supporter/rdhyee/\">\n \n <img class=\"user-avatar\" src=\"/static/images/header/avatar.png\" height=\"50\" width=\"50\" alt=\"Generic Ungluer Avatar\" title=\"Ungluer\" />\n \n </a>\n </div>\n </div>\n \n \n',1,'2012-03-27 16:54:38',1,0,1),(4,466,NULL,' \n \n <div class=\"comments row1\">\n <div class=\"nonavatar\">\n <div class=\"image\">\n <a href=\"/work/79519/?tab=2\"><img src=\"http://bks5.books.google.com/books?id=QaYbM0Fvch8C&printsec=frontcover&img=1&zoom=1\" alt=\"cover image\" /></a>\n </div>\n <span><a href=\"/supporter/rdhyee4/\">rdhyee4</a> on <a href=\"/work/79519/?tab=2\">I Am America (And So Can You!)</a></span><br />\n \n <span class=\"text\">go, Stephen</span>\n </div>\n \n <div class=\"avatar\">\n <a href=\"/supporter/rdhyee4/\">\n \n <img class=\"user-avatar\" src=\"/static/images/header/avatar.png\" height=\"50\" width=\"50\" alt=\"Generic Ungluer Avatar\" title=\"Ungluer\" />\n \n </a>\n </div>\n </div>\n \n \n',1,'2012-03-27 16:59:48',1,0,1),(5,466,NULL,' \n \n <div class=\"comments row1\">\n <div class=\"nonavatar\">\n <div class=\"image\">\n <a href=\"/work/79519/?tab=2\"><img src=\"http://bks6.books.google.com/books?id=QaYbM0Fvch8C&printsec=frontcover&img=1&zoom=1\" alt=\"cover image\" /></a>\n </div>\n <span><a href=\"/supporter/rdhyee4/\">rdhyee4</a> on <a href=\"/work/79519/?tab=2\">I Am America (And So Can You!)</a></span><br />\n \n <span class=\"text\">Colbert is awesome</span>\n </div>\n \n <div class=\"avatar\">\n <a href=\"/supporter/rdhyee4/\">\n \n <img class=\"user-avatar\" src=\"/static/images/header/avatar.png\" height=\"50\" width=\"50\" alt=\"Generic Ungluer Avatar\" title=\"Ungluer\" />\n \n </a>\n </div>\n </div>\n \n \n',1,'2012-03-27 17:42:07',1,0,1),(6,466,NULL,' \n \n <div class=\"comments row1\">\n <div class=\"nonavatar\">\n <div class=\"image\">\n <a href=\"/work/79519/?tab=2\"><img src=\"http://bks6.books.google.com/books?id=QaYbM0Fvch8C&printsec=frontcover&img=1&zoom=1\" alt=\"cover image\" /></a>\n </div>\n <span><a href=\"/supporter/rdhyee4/\">rdhyee4</a> on <a href=\"/work/79519/?tab=2\">I Am America (And So Can You!)</a></span><br />\n \n <span class=\"text\">Colbert is awesomer.</span>\n </div>\n \n <div class=\"avatar\">\n <a href=\"/supporter/rdhyee4/\">\n \n <img class=\"user-avatar\" src=\"/static/images/header/avatar.png\" height=\"50\" width=\"50\" alt=\"Generic Ungluer Avatar\" title=\"Ungluer\" />\n \n </a>\n </div>\n </div>\n \n \n',1,'2012-03-27 17:43:23',1,0,1),(7,1,NULL,' \n \n <div class=\"comments row1\">\n <div class=\"nonavatar\">\n <div class=\"image\">\n <a href=\"/work/2003/?tab=2\"><img src=\"http://bks3.books.google.com/books?id=Lx-hrmLCGHkC&printsec=frontcover&img=1&zoom=1\" alt=\"cover image\" /></a>\n </div>\n <span><a href=\"/supporter/rdhyee/\">Raymond Yee</a> on <a href=\"/work/2003/?tab=2\">Bach</a></span><br />\n \n <span class=\"text\">awesome book about an awesome composer</span>\n </div>\n \n <div class=\"avatar\">\n <a href=\"/supporter/rdhyee/\">\n \n <img class=\"user-avatar\" src=\"/static/images/header/avatar.png\" height=\"50\" width=\"50\" alt=\"Generic Ungluer Avatar\" title=\"Ungluer\" />\n \n </a>\n </div>\n </div>\n \n \n',1,'2012-03-28 11:19:05',1,0,1);
|
||
/*!40000 ALTER TABLE `notification_notice` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `notification_noticequeuebatch`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `notification_noticequeuebatch`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `notification_noticequeuebatch` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`pickled_data` longtext NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `notification_noticequeuebatch`
|
||
--
|
||
|
||
LOCK TABLES `notification_noticequeuebatch` WRITE;
|
||
/*!40000 ALTER TABLE `notification_noticequeuebatch` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `notification_noticequeuebatch` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `notification_noticesetting`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `notification_noticesetting`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `notification_noticesetting` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`user_id` int(11) NOT NULL,
|
||
`notice_type_id` int(11) NOT NULL,
|
||
`medium` varchar(1) NOT NULL,
|
||
`send` tinyint(1) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_id` (`user_id`,`notice_type_id`,`medium`),
|
||
KEY `notification_noticesetting_403f60f` (`user_id`),
|
||
KEY `notification_noticesetting_d734034` (`notice_type_id`),
|
||
CONSTRAINT `notice_type_id_refs_id_1024de5c` FOREIGN KEY (`notice_type_id`) REFERENCES `notification_noticetype` (`id`),
|
||
CONSTRAINT `user_id_refs_id_8c53966` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `notification_noticesetting`
|
||
--
|
||
|
||
LOCK TABLES `notification_noticesetting` WRITE;
|
||
/*!40000 ALTER TABLE `notification_noticesetting` DISABLE KEYS */;
|
||
INSERT INTO `notification_noticesetting` VALUES (1,1,1,'1',1),(2,14,1,'1',1),(3,466,1,'1',1);
|
||
/*!40000 ALTER TABLE `notification_noticesetting` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `notification_noticetype`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `notification_noticetype`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `notification_noticetype` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`label` varchar(40) NOT NULL,
|
||
`display` varchar(50) NOT NULL,
|
||
`description` varchar(100) NOT NULL,
|
||
`default` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `notification_noticetype`
|
||
--
|
||
|
||
LOCK TABLES `notification_noticetype` WRITE;
|
||
/*!40000 ALTER TABLE `notification_noticetype` DISABLE KEYS */;
|
||
INSERT INTO `notification_noticetype` VALUES (1,'wishlist_comment','Wishlist Comment','a comment has been received on one of your wishlist books',2);
|
||
/*!40000 ALTER TABLE `notification_noticetype` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `notification_observeditem`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `notification_observeditem`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `notification_observeditem` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`user_id` int(11) NOT NULL,
|
||
`content_type_id` int(11) NOT NULL,
|
||
`object_id` int(10) unsigned NOT NULL,
|
||
`notice_type_id` int(11) NOT NULL,
|
||
`added` datetime NOT NULL,
|
||
`signal` longtext NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `notification_observeditem_403f60f` (`user_id`),
|
||
KEY `notification_observeditem_1bb8f392` (`content_type_id`),
|
||
KEY `notification_observeditem_d734034` (`notice_type_id`),
|
||
CONSTRAINT `content_type_id_refs_id_6c21f628` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`),
|
||
CONSTRAINT `notice_type_id_refs_id_4b098f3e` FOREIGN KEY (`notice_type_id`) REFERENCES `notification_noticetype` (`id`),
|
||
CONSTRAINT `user_id_refs_id_7555f7d4` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `notification_observeditem`
|
||
--
|
||
|
||
LOCK TABLES `notification_observeditem` WRITE;
|
||
/*!40000 ALTER TABLE `notification_observeditem` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `notification_observeditem` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `payment_paymentresponse`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `payment_paymentresponse`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `payment_paymentresponse` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`api` varchar(64) NOT NULL,
|
||
`correlation_id` varchar(512) DEFAULT NULL,
|
||
`timestamp` varchar(128) DEFAULT NULL,
|
||
`info` varchar(1024) DEFAULT NULL,
|
||
`transaction_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `payment_paymentresponse_45d19ab3` (`transaction_id`),
|
||
CONSTRAINT `transaction_id_refs_id_1f406d1c` FOREIGN KEY (`transaction_id`) REFERENCES `payment_transaction` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `payment_paymentresponse`
|
||
--
|
||
|
||
LOCK TABLES `payment_paymentresponse` WRITE;
|
||
/*!40000 ALTER TABLE `payment_paymentresponse` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `payment_paymentresponse` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `payment_receiver`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `payment_receiver`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `payment_receiver` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`email` varchar(64) NOT NULL,
|
||
`amount` decimal(14,2) NOT NULL DEFAULT '0.00',
|
||
`currency` varchar(10) NOT NULL,
|
||
`status` varchar(64) NOT NULL,
|
||
`reason` varchar(64) NOT NULL,
|
||
`primary` tinyint(1) NOT NULL DEFAULT '0',
|
||
`txn_id` varchar(64) NOT NULL,
|
||
`transaction_id` int(11) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `payment_receiver_45d19ab3` (`transaction_id`),
|
||
CONSTRAINT `transaction_id_refs_id_5b0405ed` FOREIGN KEY (`transaction_id`) REFERENCES `payment_transaction` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `payment_receiver`
|
||
--
|
||
|
||
LOCK TABLES `payment_receiver` WRITE;
|
||
/*!40000 ALTER TABLE `payment_receiver` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `payment_receiver` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `payment_transaction`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `payment_transaction`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `payment_transaction` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`type` int(11) NOT NULL DEFAULT '0',
|
||
`target` int(11) NOT NULL DEFAULT '0',
|
||
`status` varchar(32) NOT NULL DEFAULT 'NONE',
|
||
`amount` decimal(14,2) NOT NULL DEFAULT '0.00',
|
||
`currency` varchar(10) DEFAULT 'USD',
|
||
`secret` varchar(64) DEFAULT NULL,
|
||
`receipt` varchar(256) DEFAULT NULL,
|
||
`error` varchar(256) DEFAULT NULL,
|
||
`reason` varchar(64) DEFAULT NULL,
|
||
`date_created` datetime NOT NULL,
|
||
`date_modified` datetime NOT NULL,
|
||
`date_payment` datetime DEFAULT NULL,
|
||
`date_authorized` datetime DEFAULT NULL,
|
||
`date_expired` datetime DEFAULT NULL,
|
||
`user_id` int(11) DEFAULT NULL,
|
||
`campaign_id` int(11) DEFAULT NULL,
|
||
`list_id` int(11) DEFAULT NULL,
|
||
`anonymous` tinyint(1) NOT NULL DEFAULT '0',
|
||
`execution` int(11) NOT NULL,
|
||
`pay_key` varchar(128) DEFAULT NULL,
|
||
`preapproval_key` varchar(128) DEFAULT NULL,
|
||
`date_executed` datetime DEFAULT NULL,
|
||
`max_amount` decimal(14,2) NOT NULL,
|
||
`approved` tinyint(1) DEFAULT NULL,
|
||
`premium_id` int(11) DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `payment_transaction_403f60f` (`user_id`),
|
||
KEY `payment_transaction_702b94e6` (`campaign_id`),
|
||
KEY `payment_transaction_79ce8828` (`list_id`),
|
||
KEY `payment_transaction_bf4b5200` (`premium_id`),
|
||
CONSTRAINT `campaign_id_refs_id_3d3091ca` FOREIGN KEY (`campaign_id`) REFERENCES `core_campaign` (`id`),
|
||
CONSTRAINT `list_id_refs_id_6f72049` FOREIGN KEY (`list_id`) REFERENCES `core_wishlist` (`id`),
|
||
CONSTRAINT `premium_id_refs_id_2e3fbf62e3270f76` FOREIGN KEY (`premium_id`) REFERENCES `core_premium` (`id`),
|
||
CONSTRAINT `user_id_refs_id_54db781c` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `payment_transaction`
|
||
--
|
||
|
||
LOCK TABLES `payment_transaction` WRITE;
|
||
/*!40000 ALTER TABLE `payment_transaction` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `payment_transaction` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `registration_registrationprofile`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `registration_registrationprofile`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `registration_registrationprofile` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`user_id` int(11) NOT NULL,
|
||
`activation_key` varchar(40) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_id` (`user_id`),
|
||
CONSTRAINT `user_id_refs_id_313280c4` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `registration_registrationprofile`
|
||
--
|
||
|
||
LOCK TABLES `registration_registrationprofile` WRITE;
|
||
/*!40000 ALTER TABLE `registration_registrationprofile` DISABLE KEYS */;
|
||
INSERT INTO `registration_registrationprofile` VALUES (1,3,'ALREADY_ACTIVATED');
|
||
/*!40000 ALTER TABLE `registration_registrationprofile` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `social_auth_association`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `social_auth_association`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `social_auth_association` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`server_url` varchar(255) NOT NULL,
|
||
`handle` varchar(255) NOT NULL,
|
||
`secret` varchar(255) NOT NULL,
|
||
`issued` int(11) NOT NULL,
|
||
`lifetime` int(11) NOT NULL,
|
||
`assoc_type` varchar(64) NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `social_auth_association`
|
||
--
|
||
|
||
LOCK TABLES `social_auth_association` WRITE;
|
||
/*!40000 ALTER TABLE `social_auth_association` DISABLE KEYS */;
|
||
INSERT INTO `social_auth_association` VALUES (1,'https://www.google.com/accounts/o8/ud','AMlYA9WFUhmJ8_eEopkqPOTgFBPCb-O8pt_rPUUSu4S1E7SZjfbbpgbk','JLHXtrh7XWYR3y8FKhSFdpJTJRY=\n',1330712242,46800,'HMAC-SHA1');
|
||
/*!40000 ALTER TABLE `social_auth_association` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `social_auth_nonce`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `social_auth_nonce`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `social_auth_nonce` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`server_url` varchar(255) NOT NULL,
|
||
`timestamp` int(11) NOT NULL,
|
||
`salt` varchar(40) NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `social_auth_nonce`
|
||
--
|
||
|
||
LOCK TABLES `social_auth_nonce` WRITE;
|
||
/*!40000 ALTER TABLE `social_auth_nonce` DISABLE KEYS */;
|
||
INSERT INTO `social_auth_nonce` VALUES (1,'https://www.google.com/accounts/o8/ud',1330712243,'ttQdCPzKckEKOQ'),(2,'https://www.google.com/accounts/o8/ud',1330712525,'1lXNbgB3LygDwg');
|
||
/*!40000 ALTER TABLE `social_auth_nonce` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `social_auth_usersocialauth`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `social_auth_usersocialauth`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `social_auth_usersocialauth` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`user_id` int(11) NOT NULL,
|
||
`provider` varchar(32) NOT NULL,
|
||
`uid` varchar(255) NOT NULL,
|
||
`extra_data` longtext NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `provider` (`provider`,`uid`),
|
||
KEY `social_auth_usersocialauth_403f60f` (`user_id`),
|
||
CONSTRAINT `user_id_refs_id_60fa311b` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `social_auth_usersocialauth`
|
||
--
|
||
|
||
LOCK TABLES `social_auth_usersocialauth` WRITE;
|
||
/*!40000 ALTER TABLE `social_auth_usersocialauth` DISABLE KEYS */;
|
||
INSERT INTO `social_auth_usersocialauth` VALUES (1,1,'google','rdhyee@gluejar.com','null'),(2,2,'google','raymond.yee@gmail.com','null');
|
||
/*!40000 ALTER TABLE `social_auth_usersocialauth` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `south_migrationhistory`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `south_migrationhistory`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `south_migrationhistory` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`app_name` varchar(255) NOT NULL,
|
||
`migration` varchar(255) NOT NULL,
|
||
`applied` datetime NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `south_migrationhistory`
|
||
--
|
||
|
||
LOCK TABLES `south_migrationhistory` WRITE;
|
||
/*!40000 ALTER TABLE `south_migrationhistory` DISABLE KEYS */;
|
||
INSERT INTO `south_migrationhistory` VALUES (1,'core','0001_initial','2012-03-02 17:50:54'),(2,'core','0002_add_goodreads_id','2012-03-02 17:50:55'),(3,'core','0003_add_librarything_ids','2012-03-02 17:50:55'),(4,'core','0004_auto__add_field_campaign_status','2012-03-02 17:50:56'),(5,'core','0005_set_status','2012-03-02 17:50:56'),(6,'core','0006_wishes','2012-03-02 17:50:56'),(7,'core','0007_auto__add_field_wishes_created__add_field_wishes_source','2012-03-02 17:50:57'),(8,'core','0008_add_work_language_col','2012-03-02 17:50:58'),(9,'core','0009_add_work_language_data','2012-03-02 17:50:58'),(10,'core','0010_remove_edition_language','2012-03-02 17:50:58'),(11,'core','0011_auto__add_campaignaction__del_field_campaign_suspended_reason__del_fie','2012-03-02 17:50:59'),(12,'core','0012_auto__add_field_campaign_left','2012-03-02 17:51:00'),(13,'core','0013_move_subject_to_work','2012-03-02 17:51:01'),(14,'core','0015_auto__chg_field_subject_name__add_unique_subject_name','2012-03-02 17:51:01'),(15,'core','0016_auto__add_field_work_openlibrary_lookup','2012-03-02 17:51:02'),(16,'core','0017_isbn_to_13','2012-03-02 17:51:02'),(17,'core','0018_auto__del_field_edition_isbn_10','2012-03-02 17:51:02'),(18,'core','0019_googlebooks_id_must_be_unique','2012-03-02 17:51:02'),(19,'core','0020_auto__add_identifier__add_unique_identifier_type_value','2012-03-02 17:51:03'),(20,'core','0021_auto__del_field_work_librarything_id__del_field_work_openlibrary_id__d','2012-03-02 17:51:04'),(21,'core','0022_auto__chg_field_edition_publisher__chg_field_edition_publication_date','2012-03-02 17:51:05'),(22,'core','0023_auto__add_waswork','2012-03-02 17:51:05'),(23,'core','0024_auto__add_field_work_num_wishes','2012-03-02 17:51:06'),(24,'core','0025_count_wishes','2012-03-02 17:51:06'),(25,'core','0026_auto__add_field_ebook_user__add_field_waswork_moved__add_field_waswork','2012-03-02 17:51:08'),(26,'payment','0001_initial','2012-03-02 17:51:10'),(27,'payment','0002_auto__add_paymentresponse__del_field_transaction_reference__add_field_','2012-03-02 17:51:13'),(28,'payment','0003_auto__add_field_transaction_max_amount','2012-03-02 17:51:13'),(29,'payment','0004_auto__add_field_transaction_approved','2012-03-02 17:51:14'),(30,'tastypie','0001_initial','2012-03-02 17:51:14'),(31,'djcelery','0001_initial','2012-03-02 17:51:18'),(32,'payment','0005_auto__add_field_transaction_premium','2012-03-21 22:17:45'),(33,'core','0027_auto__add_field_campaign_license__chg_field_ebook_url','2012-03-28 15:24:25'),(34,'core','0028_auto__add_field_premium_limit','2012-03-28 15:24:25');
|
||
/*!40000 ALTER TABLE `south_migrationhistory` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `tastypie_apiaccess`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `tastypie_apiaccess`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `tastypie_apiaccess` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`identifier` varchar(255) NOT NULL,
|
||
`url` varchar(255) NOT NULL DEFAULT '',
|
||
`request_method` varchar(10) NOT NULL DEFAULT '',
|
||
`accessed` int(10) unsigned NOT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `tastypie_apiaccess`
|
||
--
|
||
|
||
LOCK TABLES `tastypie_apiaccess` WRITE;
|
||
/*!40000 ALTER TABLE `tastypie_apiaccess` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `tastypie_apiaccess` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `tastypie_apikey`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `tastypie_apikey`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `tastypie_apikey` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`user_id` int(11) NOT NULL,
|
||
`key` varchar(256) NOT NULL DEFAULT '',
|
||
`created` datetime NOT NULL DEFAULT '2012-03-02 12:51:14',
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `user_id` (`user_id`),
|
||
CONSTRAINT `user_id_refs_id_56bfdb62` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `tastypie_apikey`
|
||
--
|
||
|
||
LOCK TABLES `tastypie_apikey` WRITE;
|
||
/*!40000 ALTER TABLE `tastypie_apikey` DISABLE KEYS */;
|
||
INSERT INTO `tastypie_apikey` VALUES (1,1,'f48b2cd73b1733f32dc69ff1673265121397c13e','2012-03-02 13:17:24'),(2,2,'dbe45999934851c9370b5be4e1d2dd9e4822ff86','2012-03-02 13:21:21'),(3,3,'f31487e061d226829f298209f82d32fec75e4484','2012-03-13 19:11:32');
|
||
/*!40000 ALTER TABLE `tastypie_apikey` 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 2012-03-28 15:24:41
|