regluit/test/campaign_starter.sql

1741 lines
117 KiB
MySQL
Raw Normal View History

-- 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 ch
/*!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,
/*!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 pri
/*!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&amp;printsec=frontcover&amp;img=1&amp;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&amp;printsec=frontcover&amp;img=1&amp;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&amp;printsec=frontcover&amp;img=1&amp;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&amp;printsec=frontcover&amp;img=1&amp;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
/*!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