xdcjing_db.sql 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. -- MySQL dump 10.13 Distrib 5.7.19, for macos10.12 (x86_64)
  2. --
  3. -- Host: localhost Database: xdcjing_db
  4. -- ------------------------------------------------------
  5. -- Server version 5.7.19
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!40101 SET NAMES utf8 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `auth_group`
  18. --
  19. DROP TABLE IF EXISTS `auth_group`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!40101 SET character_set_client = utf8 */;
  22. CREATE TABLE `auth_group` (
  23. `id` int(11) NOT NULL AUTO_INCREMENT,
  24. `name` varchar(80) NOT NULL,
  25. PRIMARY KEY (`id`),
  26. UNIQUE KEY `name` (`name`)
  27. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  28. /*!40101 SET character_set_client = @saved_cs_client */;
  29. --
  30. -- Dumping data for table `auth_group`
  31. --
  32. LOCK TABLES `auth_group` WRITE;
  33. /*!40000 ALTER TABLE `auth_group` DISABLE KEYS */;
  34. /*!40000 ALTER TABLE `auth_group` ENABLE KEYS */;
  35. UNLOCK TABLES;
  36. --
  37. -- Table structure for table `auth_group_permissions`
  38. --
  39. DROP TABLE IF EXISTS `auth_group_permissions`;
  40. /*!40101 SET @saved_cs_client = @@character_set_client */;
  41. /*!40101 SET character_set_client = utf8 */;
  42. CREATE TABLE `auth_group_permissions` (
  43. `id` int(11) NOT NULL AUTO_INCREMENT,
  44. `group_id` int(11) NOT NULL,
  45. `permission_id` int(11) NOT NULL,
  46. PRIMARY KEY (`id`),
  47. UNIQUE KEY `group_id` (`group_id`,`permission_id`),
  48. KEY `auth_group__permission_id_1f49ccbbdc69d2fc_fk_auth_permission_id` (`permission_id`),
  49. CONSTRAINT `auth_group__permission_id_1f49ccbbdc69d2fc_fk_auth_permission_id` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
  50. CONSTRAINT `auth_group_permission_group_id_689710a9a73b7457_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`)
  51. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  52. /*!40101 SET character_set_client = @saved_cs_client */;
  53. --
  54. -- Dumping data for table `auth_group_permissions`
  55. --
  56. LOCK TABLES `auth_group_permissions` WRITE;
  57. /*!40000 ALTER TABLE `auth_group_permissions` DISABLE KEYS */;
  58. /*!40000 ALTER TABLE `auth_group_permissions` ENABLE KEYS */;
  59. UNLOCK TABLES;
  60. --
  61. -- Table structure for table `auth_permission`
  62. --
  63. DROP TABLE IF EXISTS `auth_permission`;
  64. /*!40101 SET @saved_cs_client = @@character_set_client */;
  65. /*!40101 SET character_set_client = utf8 */;
  66. CREATE TABLE `auth_permission` (
  67. `id` int(11) NOT NULL AUTO_INCREMENT,
  68. `name` varchar(255) DEFAULT NULL,
  69. `content_type_id` int(11) NOT NULL,
  70. `codename` varchar(100) NOT NULL,
  71. PRIMARY KEY (`id`),
  72. UNIQUE KEY `content_type_id` (`content_type_id`,`codename`),
  73. CONSTRAINT `auth__content_type_id_508cf46651277a81_fk_django_content_type_id` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`)
  74. ) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8;
  75. /*!40101 SET character_set_client = @saved_cs_client */;
  76. --
  77. -- Dumping data for table `auth_permission`
  78. --
  79. LOCK TABLES `auth_permission` WRITE;
  80. /*!40000 ALTER TABLE `auth_permission` DISABLE KEYS */;
  81. INSERT INTO `auth_permission` VALUES (1,'Can add log entry',1,'add_logentry'),(2,'Can change log entry',1,'change_logentry'),(3,'Can delete log entry',1,'delete_logentry'),(4,'Can add permission',2,'add_permission'),(5,'Can change permission',2,'change_permission'),(6,'Can delete permission',2,'delete_permission'),(7,'Can add group',3,'add_group'),(8,'Can change group',3,'change_group'),(9,'Can delete group',3,'delete_group'),(10,'Can add user',4,'add_user'),(11,'Can change user',4,'change_user'),(12,'Can delete user',4,'delete_user'),(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 users',7,'add_users'),(20,'Can change users',7,'change_users'),(21,'Can delete users',7,'delete_users'),(22,'Can add reader',8,'add_reader'),(23,'Can change reader',8,'change_reader'),(24,'Can delete reader',8,'delete_reader'),(25,'Can add article',9,'add_article'),(26,'Can change article',9,'change_article'),(27,'Can delete article',9,'delete_article'),(28,'Can add banner',10,'add_banner'),(29,'Can change banner',10,'change_banner'),(30,'Can delete banner',10,'delete_banner'),(31,'Can add news',11,'add_news'),(32,'Can change news',11,'change_news'),(33,'Can delete news',11,'delete_news'),(34,'Can add reply',12,'add_reply'),(35,'Can change reply',12,'change_reply'),(36,'Can delete reply',12,'delete_reply');
  82. /*!40000 ALTER TABLE `auth_permission` ENABLE KEYS */;
  83. UNLOCK TABLES;
  84. --
  85. -- Table structure for table `auth_user`
  86. --
  87. DROP TABLE IF EXISTS `auth_user`;
  88. /*!40101 SET @saved_cs_client = @@character_set_client */;
  89. /*!40101 SET character_set_client = utf8 */;
  90. CREATE TABLE `auth_user` (
  91. `id` int(11) NOT NULL AUTO_INCREMENT,
  92. `password` varchar(128) NOT NULL,
  93. `last_login` datetime(6) DEFAULT NULL,
  94. `is_superuser` tinyint(1) NOT NULL,
  95. `username` varchar(30) NOT NULL,
  96. `first_name` varchar(30) NOT NULL,
  97. `last_name` varchar(30) NOT NULL,
  98. `email` varchar(254) DEFAULT NULL,
  99. `is_staff` tinyint(1) NOT NULL,
  100. `is_active` tinyint(1) NOT NULL,
  101. `date_joined` datetime(6) NOT NULL,
  102. PRIMARY KEY (`id`),
  103. UNIQUE KEY `username` (`username`)
  104. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  105. /*!40101 SET character_set_client = @saved_cs_client */;
  106. --
  107. -- Dumping data for table `auth_user`
  108. --
  109. LOCK TABLES `auth_user` WRITE;
  110. /*!40000 ALTER TABLE `auth_user` DISABLE KEYS */;
  111. /*!40000 ALTER TABLE `auth_user` ENABLE KEYS */;
  112. UNLOCK TABLES;
  113. --
  114. -- Table structure for table `auth_user_groups`
  115. --
  116. DROP TABLE IF EXISTS `auth_user_groups`;
  117. /*!40101 SET @saved_cs_client = @@character_set_client */;
  118. /*!40101 SET character_set_client = utf8 */;
  119. CREATE TABLE `auth_user_groups` (
  120. `id` int(11) NOT NULL AUTO_INCREMENT,
  121. `user_id` int(11) NOT NULL,
  122. `group_id` int(11) NOT NULL,
  123. PRIMARY KEY (`id`),
  124. UNIQUE KEY `user_id` (`user_id`,`group_id`),
  125. KEY `auth_user_groups_group_id_33ac548dcf5f8e37_fk_auth_group_id` (`group_id`),
  126. CONSTRAINT `auth_user_groups_group_id_33ac548dcf5f8e37_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`),
  127. CONSTRAINT `auth_user_groups_user_id_4b5ed4ffdb8fd9b0_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
  128. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  129. /*!40101 SET character_set_client = @saved_cs_client */;
  130. --
  131. -- Dumping data for table `auth_user_groups`
  132. --
  133. LOCK TABLES `auth_user_groups` WRITE;
  134. /*!40000 ALTER TABLE `auth_user_groups` DISABLE KEYS */;
  135. /*!40000 ALTER TABLE `auth_user_groups` ENABLE KEYS */;
  136. UNLOCK TABLES;
  137. --
  138. -- Table structure for table `auth_user_user_permissions`
  139. --
  140. DROP TABLE IF EXISTS `auth_user_user_permissions`;
  141. /*!40101 SET @saved_cs_client = @@character_set_client */;
  142. /*!40101 SET character_set_client = utf8 */;
  143. CREATE TABLE `auth_user_user_permissions` (
  144. `id` int(11) NOT NULL AUTO_INCREMENT,
  145. `user_id` int(11) NOT NULL,
  146. `permission_id` int(11) NOT NULL,
  147. PRIMARY KEY (`id`),
  148. UNIQUE KEY `user_id` (`user_id`,`permission_id`),
  149. KEY `auth_user_u_permission_id_384b62483d7071f0_fk_auth_permission_id` (`permission_id`),
  150. CONSTRAINT `auth_user_u_permission_id_384b62483d7071f0_fk_auth_permission_id` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
  151. CONSTRAINT `auth_user_user_permissi_user_id_7f0938558328534a_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
  152. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  153. /*!40101 SET character_set_client = @saved_cs_client */;
  154. --
  155. -- Dumping data for table `auth_user_user_permissions`
  156. --
  157. LOCK TABLES `auth_user_user_permissions` WRITE;
  158. /*!40000 ALTER TABLE `auth_user_user_permissions` DISABLE KEYS */;
  159. /*!40000 ALTER TABLE `auth_user_user_permissions` ENABLE KEYS */;
  160. UNLOCK TABLES;
  161. --
  162. -- Table structure for table `content_manage_article`
  163. --
  164. DROP TABLE IF EXISTS `content_manage_article`;
  165. /*!40101 SET @saved_cs_client = @@character_set_client */;
  166. /*!40101 SET character_set_client = utf8 */;
  167. CREATE TABLE `content_manage_article` (
  168. `id` int(11) NOT NULL AUTO_INCREMENT,
  169. `title` varchar(128) DEFAULT NULL,
  170. `img_url` varchar(500) DEFAULT NULL,
  171. `content` longtext,
  172. `type` smallint(6) NOT NULL,
  173. PRIMARY KEY (`id`)
  174. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
  175. /*!40101 SET character_set_client = @saved_cs_client */;
  176. --
  177. -- Dumping data for table `content_manage_article`
  178. --
  179. LOCK TABLES `content_manage_article` WRITE;
  180. /*!40000 ALTER TABLE `content_manage_article` DISABLE KEYS */;
  181. INSERT INTO `content_manage_article` VALUES (1,NULL,NULL,'<pre class=\"ql-syntax\" spellcheck=\"false\">现在财经主编致辞!\n</pre>',1),(2,'编委成员名单',NULL,'<ul><li>编委成员列表</li></ul><p><br></p><p class=\"ql-align-right\">衬里 不知道是谁 你知道吗 哈哈 。 我也不知道</p><p><br></p><p>那你地方十大城市的 地方地方给 。 电饭锅</p>',2),(3,' 投稿指南q',NULL,'<p>投稿指南qeq dfvsdfvrvewrver ergerge</p><p class=\"ql-align-center\">dfvdvfdfbdf sfgbsdfb</p>',3),(4,'选题指南',NULL,'<p>选题指南</p>',4),(5,NULL,NULL,'<p><span style=\"color: green;\">你不是这样的你知道吗</span></p><p>你都烦你</p>',0),(6,'年度指南',NULL,'<p>年度指南</p>',5);
  182. /*!40000 ALTER TABLE `content_manage_article` ENABLE KEYS */;
  183. UNLOCK TABLES;
  184. --
  185. -- Table structure for table `content_manage_banner`
  186. --
  187. DROP TABLE IF EXISTS `content_manage_banner`;
  188. /*!40101 SET @saved_cs_client = @@character_set_client */;
  189. /*!40101 SET character_set_client = utf8 */;
  190. CREATE TABLE `content_manage_banner` (
  191. `id` int(11) NOT NULL AUTO_INCREMENT,
  192. `position` int(11) NOT NULL,
  193. `img_url` varchar(500) DEFAULT NULL,
  194. `display_title` varchar(128) NOT NULL,
  195. `article_url` varchar(200) DEFAULT NULL,
  196. `article_title` varchar(128) NOT NULL,
  197. `author` varchar(32) DEFAULT NULL,
  198. `content` longtext,
  199. `create_time` date NOT NULL,
  200. PRIMARY KEY (`id`)
  201. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
  202. /*!40101 SET character_set_client = @saved_cs_client */;
  203. --
  204. -- Dumping data for table `content_manage_banner`
  205. --
  206. LOCK TABLES `content_manage_banner` WRITE;
  207. /*!40000 ALTER TABLE `content_manage_banner` DISABLE KEYS */;
  208. INSERT INTO `content_manage_banner` VALUES (8,3,'http://tederen.oss-cn-shanghai.aliyuncs.com/xdcjing/1511160691.png','qwer','wer','qwer','qwer','<p>qwer阿嘎而过</p>','2017-11-17'),(9,2,'http://tederen.oss-cn-shanghai.aliyuncs.com/xdcjing/1511160653.png','dfg','dfg','dfg','dfg','<p>dfg</p>','2017-11-20'),(10,1,'http://tederen.oss-cn-shanghai.aliyuncs.com/xdcjing/1511164584.png','标题1','去玩儿','圈儿','圈儿 ','<p><br></p><p><img src=\"http://tederen.oss-cn-shanghai.aliyuncs.com/xdcjing/1511163538.png\"></p>','2017-11-20'),(11,4,'http://tederen.oss-cn-shanghai.aliyuncs.com/xdcjing/1511164527.png','123132','123','123','123123','<p><br></p><p><img src=\"http://tederen.oss-cn-shanghai.aliyuncs.com/xdcjing/1511164152.png\"></p>','2017-11-20');
  209. /*!40000 ALTER TABLE `content_manage_banner` ENABLE KEYS */;
  210. UNLOCK TABLES;
  211. --
  212. -- Table structure for table `content_manage_news`
  213. --
  214. DROP TABLE IF EXISTS `content_manage_news`;
  215. /*!40101 SET @saved_cs_client = @@character_set_client */;
  216. /*!40101 SET character_set_client = utf8 */;
  217. CREATE TABLE `content_manage_news` (
  218. `id` int(11) NOT NULL AUTO_INCREMENT,
  219. `title` varchar(128) NOT NULL,
  220. `img_url` varchar(500) DEFAULT NULL,
  221. `author` varchar(32) DEFAULT NULL,
  222. `content` longtext,
  223. `create_time` date NOT NULL,
  224. PRIMARY KEY (`id`)
  225. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
  226. /*!40101 SET character_set_client = @saved_cs_client */;
  227. --
  228. -- Dumping data for table `content_manage_news`
  229. --
  230. LOCK TABLES `content_manage_news` WRITE;
  231. /*!40000 ALTER TABLE `content_manage_news` DISABLE KEYS */;
  232. INSERT INTO `content_manage_news` VALUES (6,'动态1',NULL,'author1','<p>动态1</p>','2017-11-20'),(7,'动态2',NULL,'author2','<p>动态2</p>','2017-11-20');
  233. /*!40000 ALTER TABLE `content_manage_news` ENABLE KEYS */;
  234. UNLOCK TABLES;
  235. --
  236. -- Table structure for table `django_admin_log`
  237. --
  238. DROP TABLE IF EXISTS `django_admin_log`;
  239. /*!40101 SET @saved_cs_client = @@character_set_client */;
  240. /*!40101 SET character_set_client = utf8 */;
  241. CREATE TABLE `django_admin_log` (
  242. `id` int(11) NOT NULL AUTO_INCREMENT,
  243. `action_time` datetime(6) NOT NULL,
  244. `object_id` longtext,
  245. `object_repr` varchar(200) NOT NULL,
  246. `action_flag` smallint(5) unsigned NOT NULL,
  247. `change_message` longtext NOT NULL,
  248. `content_type_id` int(11) DEFAULT NULL,
  249. `user_id` int(11) NOT NULL,
  250. PRIMARY KEY (`id`),
  251. KEY `djang_content_type_id_697914295151027a_fk_django_content_type_id` (`content_type_id`),
  252. KEY `django_admin_log_user_id_52fdd58701c5f563_fk_auth_user_id` (`user_id`),
  253. CONSTRAINT `djang_content_type_id_697914295151027a_fk_django_content_type_id` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`),
  254. CONSTRAINT `django_admin_log_user_id_52fdd58701c5f563_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
  255. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  256. /*!40101 SET character_set_client = @saved_cs_client */;
  257. --
  258. -- Dumping data for table `django_admin_log`
  259. --
  260. LOCK TABLES `django_admin_log` WRITE;
  261. /*!40000 ALTER TABLE `django_admin_log` DISABLE KEYS */;
  262. /*!40000 ALTER TABLE `django_admin_log` ENABLE KEYS */;
  263. UNLOCK TABLES;
  264. --
  265. -- Table structure for table `django_content_type`
  266. --
  267. DROP TABLE IF EXISTS `django_content_type`;
  268. /*!40101 SET @saved_cs_client = @@character_set_client */;
  269. /*!40101 SET character_set_client = utf8 */;
  270. CREATE TABLE `django_content_type` (
  271. `id` int(11) NOT NULL AUTO_INCREMENT,
  272. `app_label` varchar(100) NOT NULL,
  273. `model` varchar(100) NOT NULL,
  274. PRIMARY KEY (`id`),
  275. UNIQUE KEY `django_content_type_app_label_45f3b1d93ec8c61c_uniq` (`app_label`,`model`)
  276. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
  277. /*!40101 SET character_set_client = @saved_cs_client */;
  278. --
  279. -- Dumping data for table `django_content_type`
  280. --
  281. LOCK TABLES `django_content_type` WRITE;
  282. /*!40000 ALTER TABLE `django_content_type` DISABLE KEYS */;
  283. INSERT INTO `django_content_type` VALUES (1,'admin','logentry'),(3,'auth','group'),(2,'auth','permission'),(4,'auth','user'),(5,'contenttypes','contenttype'),(9,'content_manage','article'),(10,'content_manage','banner'),(11,'content_manage','news'),(6,'sessions','session'),(8,'users','reader'),(12,'users','reply'),(7,'users','users');
  284. /*!40000 ALTER TABLE `django_content_type` ENABLE KEYS */;
  285. UNLOCK TABLES;
  286. --
  287. -- Table structure for table `django_migrations`
  288. --
  289. DROP TABLE IF EXISTS `django_migrations`;
  290. /*!40101 SET @saved_cs_client = @@character_set_client */;
  291. /*!40101 SET character_set_client = utf8 */;
  292. CREATE TABLE `django_migrations` (
  293. `id` int(11) NOT NULL AUTO_INCREMENT,
  294. `app` varchar(255) NOT NULL,
  295. `name` varchar(255) NOT NULL,
  296. `applied` datetime(6) NOT NULL,
  297. PRIMARY KEY (`id`)
  298. ) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8;
  299. /*!40101 SET character_set_client = @saved_cs_client */;
  300. --
  301. -- Dumping data for table `django_migrations`
  302. --
  303. LOCK TABLES `django_migrations` WRITE;
  304. /*!40000 ALTER TABLE `django_migrations` DISABLE KEYS */;
  305. INSERT INTO `django_migrations` VALUES (1,'contenttypes','0001_initial','2017-11-16 07:36:09.242970'),(2,'auth','0001_initial','2017-11-16 07:36:10.840553'),(3,'admin','0001_initial','2017-11-16 07:36:11.349527'),(4,'contenttypes','0002_remove_content_type_name','2017-11-16 07:36:11.624761'),(5,'auth','0002_alter_permission_name_max_length','2017-11-16 07:36:11.811673'),(6,'auth','0003_alter_user_email_max_length','2017-11-16 07:36:11.970218'),(7,'auth','0004_alter_user_username_opts','2017-11-16 07:36:12.004303'),(8,'auth','0005_alter_user_last_login_null','2017-11-16 07:36:12.118244'),(9,'auth','0006_require_contenttypes_0002','2017-11-16 07:36:12.120829'),(10,'sessions','0001_initial','2017-11-16 07:36:12.382079'),(11,'users','0001_initial','2017-11-16 07:36:12.500994'),(12,'users','0002_users_real_name','2017-11-16 07:36:12.781213'),(13,'users','0003_auto_20171116_0630','2017-11-16 07:36:14.120786'),(14,'users','0004_auto_20171116_0702','2017-11-16 07:36:14.487133'),(15,'users','0005_auto_20171116_0733','2017-11-16 07:36:14.604348'),(16,'users','0006_auto_20171116_0917','2017-11-16 09:17:11.003372'),(17,'content_manage','0001_initial','2017-11-16 10:20:02.468007'),(18,'users','0007_auto_20171116_1019','2017-11-16 10:20:02.480845'),(19,'content_manage','0002_auto_20171116_1047','2017-11-16 10:47:33.056994'),(20,'content_manage','0003_auto_20171116_1139','2017-11-16 11:40:07.117119'),(21,'content_manage','0004_auto_20171116_1253','2017-11-16 12:53:40.170944'),(22,'content_manage','0005_banner','2017-11-17 02:32:23.884475'),(23,'users','0008_auto_20171117_0232','2017-11-17 02:32:24.603995'),(24,'content_manage','0006_news','2017-11-17 03:33:58.510359'),(25,'users','0009_auto_20171117_0828','2017-11-17 08:28:20.463893'),(26,'users','0010_auto_20171117_0831','2017-11-17 08:31:26.534645'),(27,'content_manage','0007_auto_20171117_1117','2017-11-17 11:17:10.297705'),(28,'content_manage','0008_auto_20171120_0146','2017-11-20 01:46:11.697740'),(29,'users','0011_auto_20171120_0814','2017-11-20 08:15:03.925797'),(30,'users','0012_remove_reader_fb_id','2017-11-20 08:59:27.877032');
  306. /*!40000 ALTER TABLE `django_migrations` ENABLE KEYS */;
  307. UNLOCK TABLES;
  308. --
  309. -- Table structure for table `django_session`
  310. --
  311. DROP TABLE IF EXISTS `django_session`;
  312. /*!40101 SET @saved_cs_client = @@character_set_client */;
  313. /*!40101 SET character_set_client = utf8 */;
  314. CREATE TABLE `django_session` (
  315. `session_key` varchar(40) NOT NULL,
  316. `session_data` longtext NOT NULL,
  317. `expire_date` datetime(6) NOT NULL,
  318. PRIMARY KEY (`session_key`),
  319. KEY `django_session_de54fa62` (`expire_date`)
  320. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  321. /*!40101 SET character_set_client = @saved_cs_client */;
  322. --
  323. -- Dumping data for table `django_session`
  324. --
  325. LOCK TABLES `django_session` WRITE;
  326. /*!40000 ALTER TABLE `django_session` DISABLE KEYS */;
  327. INSERT INTO `django_session` VALUES ('09xwv8z66a3nljhub9dv4fvi9vlnrb03','NzUwZTI1MzhhZTc3NDc1YzYxOTQ4ZDhkMTJjMDc2YWEzODFjZTE4MTp7InVzZXIiOnsidXNlcm5hbWUiOiJUb255Iiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoxLCJ1aWQiOjEsInJlYWxuYW1lIjoiXHU2NzRlXHU2NjUzXHU1MzRlIn19','2017-11-17 04:37:50.099927'),('499i3fj93hxsbpkya8rzsu528y1mxaju','NzUwZTI1MzhhZTc3NDc1YzYxOTQ4ZDhkMTJjMDc2YWEzODFjZTE4MTp7InVzZXIiOnsidXNlcm5hbWUiOiJUb255Iiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoxLCJ1aWQiOjEsInJlYWxuYW1lIjoiXHU2NzRlXHU2NjUzXHU1MzRlIn19','2017-11-17 06:40:13.317221'),('5gjyw2byvgj513gnk77u5m7tgsise8jg','NzUwZTI1MzhhZTc3NDc1YzYxOTQ4ZDhkMTJjMDc2YWEzODFjZTE4MTp7InVzZXIiOnsidXNlcm5hbWUiOiJUb255Iiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoxLCJ1aWQiOjEsInJlYWxuYW1lIjoiXHU2NzRlXHU2NjUzXHU1MzRlIn19','2017-11-17 06:26:34.130527'),('5omzh1028st9llbeqapx9vlximlnqe1e','YzM1Y2IwMDVhMTczYTBjNDE3ZDdjMjYxNWU4ZjVhOWJmYWY1MWUwMzp7InVzZXIiOnsidXNlcm5hbWUiOiJUb255Iiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjowLCJ1aWQiOjksInJlYWxuYW1lIjpudWxsfX0=','2017-11-20 14:08:51.320312'),('60zort1zhas7ezv566hay3kz0wo1cwaa','YzM1Y2IwMDVhMTczYTBjNDE3ZDdjMjYxNWU4ZjVhOWJmYWY1MWUwMzp7InVzZXIiOnsidXNlcm5hbWUiOiJUb255Iiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjowLCJ1aWQiOjksInJlYWxuYW1lIjpudWxsfX0=','2017-11-17 13:54:37.103806'),('84nql97zeck4tfv3qtget2q6bnbln0dh','ZTVlYzdjZDUxZGI5NzRkM2RkYTIyOTIzZDYwNWE3NGZmZWVkZTgyMTp7InVzZXIiOnsidXNlcm5hbWUiOiJ0ZXN0NCIsInN0YXR1cyI6MSwicGVybWlzc2lvbiI6MSwidWlkIjoxMCwicmVhbG5hbWUiOm51bGx9fQ==','2017-11-17 14:14:46.327861'),('fgvn6hqdno7k2dgwzmlmbokyh0kmdoyp','YTk5ZGZkZGIxNjhjMTc4M2Q2MjQ4M2JjOGE4ZjNkY2U3MzE5Njc3YTp7InVzZXIiOnsidXNlcm5hbWUiOiJcdTZkNGJcdThiZDUxIiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoyLCJ1aWQiOjExLCJyZWFsbmFtZSI6bnVsbH19','2017-11-20 08:58:51.479830'),('jiu8ayygnq6kpc4zxhydwm5wd606a2t8','NzUwZTI1MzhhZTc3NDc1YzYxOTQ4ZDhkMTJjMDc2YWEzODFjZTE4MTp7InVzZXIiOnsidXNlcm5hbWUiOiJUb255Iiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoxLCJ1aWQiOjEsInJlYWxuYW1lIjoiXHU2NzRlXHU2NjUzXHU1MzRlIn19','2017-11-17 07:43:19.241970'),('kvrpv4vr7l2zzzzt3pztal3xgjpzjuy8','NzUwZTI1MzhhZTc3NDc1YzYxOTQ4ZDhkMTJjMDc2YWEzODFjZTE4MTp7InVzZXIiOnsidXNlcm5hbWUiOiJUb255Iiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoxLCJ1aWQiOjEsInJlYWxuYW1lIjoiXHU2NzRlXHU2NjUzXHU1MzRlIn19','2017-11-17 06:39:07.001343'),('mwwgi0cwati7o347fjp08sciq750vzgk','YTk5ZGZkZGIxNjhjMTc4M2Q2MjQ4M2JjOGE4ZjNkY2U3MzE5Njc3YTp7InVzZXIiOnsidXNlcm5hbWUiOiJcdTZkNGJcdThiZDUxIiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoyLCJ1aWQiOjExLCJyZWFsbmFtZSI6bnVsbH19','2017-11-20 14:46:46.032802'),('o7nihy1dlbvy1fzn8zcekyx1g7jy5wz7','NzUwZTI1MzhhZTc3NDc1YzYxOTQ4ZDhkMTJjMDc2YWEzODFjZTE4MTp7InVzZXIiOnsidXNlcm5hbWUiOiJUb255Iiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoxLCJ1aWQiOjEsInJlYWxuYW1lIjoiXHU2NzRlXHU2NjUzXHU1MzRlIn19','2017-11-17 07:14:29.630193'),('r795mjd4jld7kp5723wzjuuhslwc1ofw','ZmU0ZjJiYmIxZTM5YWE0ZmE0YTA5YTI1NWI2MGQ4Zjk0MGZmYzhmODp7InVzZXIiOnsidXNlcm5hbWUiOiJUb20yIiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoxLCJ1aWQiOjMsInJlYWxuYW1lIjpudWxsfX0=','2017-11-16 10:08:27.799721'),('vrnaygr43sn6ioavhschg3r18vkjnsvw','NzUwZTI1MzhhZTc3NDc1YzYxOTQ4ZDhkMTJjMDc2YWEzODFjZTE4MTp7InVzZXIiOnsidXNlcm5hbWUiOiJUb255Iiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoxLCJ1aWQiOjEsInJlYWxuYW1lIjoiXHU2NzRlXHU2NjUzXHU1MzRlIn19','2017-11-17 06:26:05.897339'),('y22a7kx6ux6cff1wohtizinudk3cm7nq','ZmU0ZjJiYmIxZTM5YWE0ZmE0YTA5YTI1NWI2MGQ4Zjk0MGZmYzhmODp7InVzZXIiOnsidXNlcm5hbWUiOiJUb20yIiwic3RhdHVzIjoxLCJwZXJtaXNzaW9uIjoxLCJ1aWQiOjMsInJlYWxuYW1lIjpudWxsfX0=','2017-11-16 09:17:42.386191');
  328. /*!40000 ALTER TABLE `django_session` ENABLE KEYS */;
  329. UNLOCK TABLES;
  330. --
  331. -- Table structure for table `users_reader`
  332. --
  333. DROP TABLE IF EXISTS `users_reader`;
  334. /*!40101 SET @saved_cs_client = @@character_set_client */;
  335. /*!40101 SET character_set_client = utf8 */;
  336. CREATE TABLE `users_reader` (
  337. `id` int(11) NOT NULL AUTO_INCREMENT,
  338. `readername` varchar(32) DEFAULT NULL,
  339. `create_time` date DEFAULT NULL,
  340. `question` longtext NOT NULL,
  341. PRIMARY KEY (`id`)
  342. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  343. /*!40101 SET character_set_client = @saved_cs_client */;
  344. --
  345. -- Dumping data for table `users_reader`
  346. --
  347. LOCK TABLES `users_reader` WRITE;
  348. /*!40000 ALTER TABLE `users_reader` DISABLE KEYS */;
  349. INSERT INTO `users_reader` VALUES (1,'hahaha',NULL,'为什么下雨');
  350. /*!40000 ALTER TABLE `users_reader` ENABLE KEYS */;
  351. UNLOCK TABLES;
  352. --
  353. -- Table structure for table `users_reply`
  354. --
  355. DROP TABLE IF EXISTS `users_reply`;
  356. /*!40101 SET @saved_cs_client = @@character_set_client */;
  357. /*!40101 SET character_set_client = utf8 */;
  358. CREATE TABLE `users_reply` (
  359. `id` int(11) NOT NULL AUTO_INCREMENT,
  360. `fb_content` longtext,
  361. `fb_id_id` int(11),
  362. `u_id_id` int(11),
  363. PRIMARY KEY (`id`),
  364. KEY `users_reply_fe932a18` (`fb_id_id`),
  365. KEY `users_reply_1ce89169` (`u_id_id`),
  366. CONSTRAINT `users_reply_fb_id_id_39a673f1c307e7d3_fk_users_reader_id` FOREIGN KEY (`fb_id_id`) REFERENCES `users_reader` (`id`),
  367. CONSTRAINT `users_reply_u_id_id_5939940f99e49777_fk_users_users_id` FOREIGN KEY (`u_id_id`) REFERENCES `users_users` (`id`)
  368. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  369. /*!40101 SET character_set_client = @saved_cs_client */;
  370. --
  371. -- Dumping data for table `users_reply`
  372. --
  373. LOCK TABLES `users_reply` WRITE;
  374. /*!40000 ALTER TABLE `users_reply` DISABLE KEYS */;
  375. INSERT INTO `users_reply` VALUES (2,'wwwwwwwss',1,9),(3,'wwwwwwwss',1,3),(4,'wwwwwwwss',1,3);
  376. /*!40000 ALTER TABLE `users_reply` ENABLE KEYS */;
  377. UNLOCK TABLES;
  378. --
  379. -- Table structure for table `users_users`
  380. --
  381. DROP TABLE IF EXISTS `users_users`;
  382. /*!40101 SET @saved_cs_client = @@character_set_client */;
  383. /*!40101 SET character_set_client = utf8 */;
  384. CREATE TABLE `users_users` (
  385. `id` int(11) NOT NULL AUTO_INCREMENT,
  386. `username` varchar(32) NOT NULL,
  387. `password` varchar(128) NOT NULL,
  388. `status` int(11),
  389. `permission` int(11),
  390. `signup_time` date NOT NULL,
  391. `real_name` varchar(32) DEFAULT NULL,
  392. PRIMARY KEY (`id`)
  393. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
  394. /*!40101 SET character_set_client = @saved_cs_client */;
  395. --
  396. -- Dumping data for table `users_users`
  397. --
  398. LOCK TABLES `users_users` WRITE;
  399. /*!40000 ALTER TABLE `users_users` DISABLE KEYS */;
  400. INSERT INTO `users_users` VALUES (3,'Tom2','pbkdf2_sha256$20000$TYf434zIJeXQ$0yUUy8G92ybd4T20JrSX1e7j+j/jbh8orx9V34XDu3A=',0,1,'2017-11-16',NULL),(4,'123','pbkdf2_sha256$20000$TrinQ3r5UCK7$S9JEPEnuE1wutv7Ia1SxzDmfAWUA+2MiLZa1uYIzgDM=',1,1,'2017-11-17',NULL),(9,'Tony','pbkdf2_sha256$20000$4iTT0Xyn0RWL$ur/WwPOlo+jAddR9cDTVdMscvaHF9MBNmVfX4Nw/yeE=',1,0,'2017-11-17',NULL),(10,'test4','pbkdf2_sha256$20000$EG8aQLNTtncy$x1t1YqdzzAeDYKOOnuDPvN7EbuLJALFy3VM3N15Tc0g=',1,0,'2017-11-17',NULL),(11,'测试1','pbkdf2_sha256$20000$j7C8qpfapD7h$bfFXIo/j7jCUQopeQIhz/EvzH/F31YTYXoFJsc1jUK8=',1,2,'2017-11-20',NULL);
  401. /*!40000 ALTER TABLE `users_users` ENABLE KEYS */;
  402. UNLOCK TABLES;
  403. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  404. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  405. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  406. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  407. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  408. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  409. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  410. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  411. -- Dump completed on 2018-01-15 17:18:50