-
Notifications
You must be signed in to change notification settings - Fork 36
/
collab.sql
3400 lines (2961 loc) · 177 KB
/
collab.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- MySQL dump 10.13 Distrib 5.7.23, for osx10.14 (x86_64)
--
-- Host: localhost Database: collaboration
-- ------------------------------------------------------
-- Server version 8.0.12
/*!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 `actstream_action`
--
DROP TABLE IF EXISTS `actstream_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `actstream_action` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`actor_object_id` varchar(255) NOT NULL,
`verb` varchar(255) NOT NULL,
`description` longtext,
`target_object_id` varchar(255) DEFAULT NULL,
`action_object_object_id` varchar(255) DEFAULT NULL,
`timestamp` datetime(6) NOT NULL,
`public` tinyint(1) NOT NULL,
`data` longtext,
`action_object_content_type_id` int(11) DEFAULT NULL,
`actor_content_type_id` int(11) NOT NULL,
`target_content_type_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `actstream_action_action_object_conten_ee623c15_fk_django_co` (`action_object_content_type_id`),
KEY `actstream_action_actor_content_type_i_d5e5ec2a_fk_django_co` (`actor_content_type_id`),
KEY `actstream_action_target_content_type__187fa164_fk_django_co` (`target_content_type_id`),
KEY `actstream_action_actor_object_id_72ef0cfa` (`actor_object_id`),
KEY `actstream_action_verb_83f768b7` (`verb`),
KEY `actstream_action_target_object_id_e080d801` (`target_object_id`),
KEY `actstream_action_action_object_object_id_6433bdf7` (`action_object_object_id`),
KEY `actstream_action_timestamp_a23fe3ae` (`timestamp`),
KEY `actstream_action_public_ac0653e9` (`public`),
CONSTRAINT `actstream_action_action_object_conten_ee623c15_fk_django_co` FOREIGN KEY (`action_object_content_type_id`) REFERENCES `django_content_type` (`id`),
CONSTRAINT `actstream_action_actor_content_type_i_d5e5ec2a_fk_django_co` FOREIGN KEY (`actor_content_type_id`) REFERENCES `django_content_type` (`id`),
CONSTRAINT `actstream_action_target_content_type__187fa164_fk_django_co` FOREIGN KEY (`target_content_type_id`) REFERENCES `django_content_type` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `actstream_action`
--
LOCK TABLES `actstream_action` WRITE;
/*!40000 ALTER TABLE `actstream_action` DISABLE KEYS */;
/*!40000 ALTER TABLE `actstream_action` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `actstream_follow`
--
DROP TABLE IF EXISTS `actstream_follow`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `actstream_follow` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`object_id` varchar(255) NOT NULL,
`actor_only` tinyint(1) NOT NULL,
`started` datetime(6) NOT NULL,
`content_type_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `actstream_follow_user_id_content_type_id_object_id_63ca7c27_uniq` (`user_id`,`content_type_id`,`object_id`),
KEY `actstream_follow_content_type_id_ba287eb9_fk_django_co` (`content_type_id`),
KEY `actstream_follow_object_id_d790e00d` (`object_id`),
KEY `actstream_follow_started_254c63bd` (`started`),
CONSTRAINT `actstream_follow_content_type_id_ba287eb9_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`),
CONSTRAINT `actstream_follow_user_id_e9d4e1ff_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `actstream_follow`
--
LOCK TABLES `actstream_follow` WRITE;
/*!40000 ALTER TABLE `actstream_follow` DISABLE KEYS */;
/*!40000 ALTER TABLE `actstream_follow` ENABLE KEYS */;
UNLOCK TABLES;
--
-- 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 AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!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 */;
INSERT INTO `auth_group` VALUES (1,'author'),(3,'community_admin'),(4,'group_admin'),(2,'publisher');
/*!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 `auth_group_permissions_group_id_permission_id_0cd325b0_uniq` (`group_id`,`permission_id`),
KEY `auth_group_permissio_permission_id_84c5c92e_fk_auth_perm` (`permission_id`),
CONSTRAINT `auth_group_permissio_permission_id_84c5c92e_fk_auth_perm` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
CONSTRAINT `auth_group_permissions_group_id_b120cbf9_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!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_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(255) NOT NULL,
`content_type_id` int(11) NOT NULL,
`codename` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `auth_permission_content_type_id_codename_01ab375a_uniq` (`content_type_id`,`codename`),
CONSTRAINT `auth_permission_content_type_id_2f476e4b_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=315 DEFAULT CHARSET=latin1;
/*!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 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 site',7,'add_site'),(20,'Can change site',7,'change_site'),(21,'Can delete site',7,'delete_site'),(22,'Can add comment',8,'add_xtdcomment'),(23,'Can change comment',8,'change_xtdcomment'),(24,'Can delete comment',8,'delete_xtdcomment'),(25,'Can moderate comments',8,'can_moderate'),(26,'Can add black listed domain',9,'add_blacklisteddomain'),(27,'Can change black listed domain',9,'change_blacklisteddomain'),(28,'Can delete black listed domain',9,'delete_blacklisteddomain'),(29,'Can add comment',10,'add_comment'),(30,'Can change comment',10,'change_comment'),(31,'Can delete comment',10,'delete_comment'),(32,'Can moderate comments',10,'can_moderate'),(33,'Can add comment flag',11,'add_commentflag'),(34,'Can change comment flag',11,'change_commentflag'),(35,'Can delete comment flag',11,'delete_commentflag'),(36,'Can add community',12,'add_community'),(37,'Can change community',12,'change_community'),(38,'Can delete community',12,'delete_community'),(39,'Can add community articles',13,'add_communityarticles'),(40,'Can change community articles',13,'change_communityarticles'),(41,'Can delete community articles',13,'delete_communityarticles'),(42,'Can add community courses',14,'add_communitycourses'),(43,'Can change community courses',14,'change_communitycourses'),(44,'Can delete community courses',14,'delete_communitycourses'),(45,'Can add community groups',15,'add_communitygroups'),(46,'Can change community groups',15,'change_communitygroups'),(47,'Can delete community groups',15,'delete_communitygroups'),(48,'Can add community media',16,'add_communitymedia'),(49,'Can change community media',16,'change_communitymedia'),(50,'Can delete community media',16,'delete_communitymedia'),(51,'Can add community membership',17,'add_communitymembership'),(52,'Can change community membership',17,'change_communitymembership'),(53,'Can delete community membership',17,'delete_communitymembership'),(54,'Can add request community creation',18,'add_requestcommunitycreation'),(55,'Can change request community creation',18,'change_requestcommunitycreation'),(56,'Can delete request community creation',18,'delete_requestcommunitycreation'),(57,'Can add favourite',19,'add_favourite'),(58,'Can change favourite',19,'change_favourite'),(59,'Can delete favourite',19,'delete_favourite'),(60,'Can add profile image',20,'add_profileimage'),(61,'Can change profile image',20,'change_profileimage'),(62,'Can delete profile image',20,'delete_profileimage'),(63,'Can add articles',21,'add_articles'),(64,'Can change articles',21,'change_articles'),(65,'Can delete articles',21,'delete_articles'),(66,'Can add article view logs',22,'add_articleviewlogs'),(67,'Can change article view logs',22,'change_articleviewlogs'),(68,'Can delete article view logs',22,'delete_articleviewlogs'),(69,'Can add group',23,'add_group'),(70,'Can change group',23,'change_group'),(71,'Can delete group',23,'delete_group'),(72,'Can add group articles',24,'add_grouparticles'),(73,'Can change group articles',24,'change_grouparticles'),(74,'Can delete group articles',24,'delete_grouparticles'),(75,'Can add group invitations',25,'add_groupinvitations'),(76,'Can change group invitations',25,'change_groupinvitations'),(77,'Can delete group invitations',25,'delete_groupinvitations'),(78,'Can add group media',26,'add_groupmedia'),(79,'Can change group media',26,'change_groupmedia'),(80,'Can delete group media',26,'delete_groupmedia'),(81,'Can add group membership',27,'add_groupmembership'),(82,'Can change group membership',27,'change_groupmembership'),(83,'Can delete group membership',27,'delete_groupmembership'),(84,'Can add revision',28,'add_revision'),(85,'Can change revision',28,'change_revision'),(86,'Can delete revision',28,'delete_revision'),(87,'Can add version',29,'add_version'),(88,'Can change version',29,'change_version'),(89,'Can delete version',29,'delete_version'),(90,'Can add Token',30,'add_token'),(91,'Can change Token',30,'change_token'),(92,'Can delete Token',30,'delete_token'),(93,'Can add states',31,'add_states'),(94,'Can change states',31,'change_states'),(95,'Can delete states',31,'delete_states'),(96,'Can add transitions',32,'add_transitions'),(97,'Can change transitions',32,'change_transitions'),(98,'Can delete transitions',32,'delete_transitions'),(99,'Can add association',33,'add_association'),(100,'Can change association',33,'change_association'),(101,'Can delete association',33,'delete_association'),(102,'Can add code',34,'add_code'),(103,'Can change code',34,'change_code'),(104,'Can delete code',34,'delete_code'),(105,'Can add nonce',35,'add_nonce'),(106,'Can change nonce',35,'change_nonce'),(107,'Can delete nonce',35,'delete_nonce'),(108,'Can add user social auth',36,'add_usersocialauth'),(109,'Can change user social auth',36,'change_usersocialauth'),(110,'Can delete user social auth',36,'delete_usersocialauth'),(111,'Can add partial',37,'add_partial'),(112,'Can change partial',37,'change_partial'),(113,'Can delete partial',37,'delete_partial'),(114,'Can add feedback',38,'add_feedback'),(115,'Can change feedback',38,'change_feedback'),(116,'Can delete feedback',38,'delete_feedback'),(117,'Can add faq',39,'add_faq'),(118,'Can change faq',39,'change_faq'),(119,'Can delete faq',39,'delete_faq'),(120,'Can add faq category',40,'add_faqcategory'),(121,'Can change faq category',40,'change_faqcategory'),(122,'Can delete faq category',40,'delete_faqcategory'),(123,'Can add course',41,'add_course'),(124,'Can change course',41,'change_course'),(125,'Can delete course',41,'delete_course'),(126,'Can add links',42,'add_links'),(127,'Can change links',42,'change_links'),(128,'Can delete links',42,'delete_links'),(129,'Can add topic article',43,'add_topicarticle'),(130,'Can change topic article',43,'change_topicarticle'),(131,'Can delete topic article',43,'delete_topicarticle'),(132,'Can add topics',44,'add_topics'),(133,'Can change topics',44,'change_topics'),(134,'Can delete topics',44,'delete_topics'),(135,'Can add videos',45,'add_videos'),(136,'Can change videos',45,'change_videos'),(137,'Can delete videos',45,'delete_videos'),(138,'Can add notification',46,'add_notification'),(139,'Can change notification',46,'change_notification'),(140,'Can delete notification',46,'delete_notification'),(141,'Can add action',47,'add_action'),(142,'Can change action',47,'change_action'),(143,'Can delete action',47,'delete_action'),(144,'Can add follow',48,'add_follow'),(145,'Can change follow',48,'change_follow'),(146,'Can delete follow',48,'delete_follow'),(147,'Can add type',49,'add_notificationtype'),(148,'Can change type',49,'change_notificationtype'),(149,'Can delete type',49,'delete_notificationtype'),(150,'Can add settings',50,'add_settings'),(151,'Can change settings',50,'change_settings'),(152,'Can delete settings',50,'delete_settings'),(153,'Can add notification',51,'add_notification'),(154,'Can change notification',51,'change_notification'),(155,'Can delete notification',51,'delete_notification'),(156,'Can add subscription',52,'add_subscription'),(157,'Can change subscription',52,'change_subscription'),(158,'Can delete subscription',52,'delete_subscription'),(159,'Can add kv store',53,'add_kvstore'),(160,'Can change kv store',53,'change_kvstore'),(161,'Can delete kv store',53,'delete_kvstore'),(162,'Can add article',54,'add_article'),(163,'Can change article',54,'change_article'),(164,'Can delete article',54,'delete_article'),(165,'Can edit all articles and lock/unlock/restore',54,'moderate'),(166,'Can change ownership of any article',54,'assign'),(167,'Can assign permissions to other users',54,'grant'),(168,'Can add Article for object',55,'add_articleforobject'),(169,'Can change Article for object',55,'change_articleforobject'),(170,'Can delete Article for object',55,'delete_articleforobject'),(171,'Can add article plugin',56,'add_articleplugin'),(172,'Can change article plugin',56,'change_articleplugin'),(173,'Can delete article plugin',56,'delete_articleplugin'),(174,'Can add article revision',57,'add_articlerevision'),(175,'Can change article revision',57,'change_articlerevision'),(176,'Can delete article revision',57,'delete_articlerevision'),(177,'Can add reusable plugin',58,'add_reusableplugin'),(178,'Can change reusable plugin',58,'change_reusableplugin'),(179,'Can delete reusable plugin',58,'delete_reusableplugin'),(180,'Can add revision plugin',59,'add_revisionplugin'),(181,'Can change revision plugin',59,'change_revisionplugin'),(182,'Can delete revision plugin',59,'delete_revisionplugin'),(183,'Can add revision plugin revision',60,'add_revisionpluginrevision'),(184,'Can change revision plugin revision',60,'change_revisionpluginrevision'),(185,'Can delete revision plugin revision',60,'delete_revisionpluginrevision'),(186,'Can add simple plugin',61,'add_simpleplugin'),(187,'Can change simple plugin',61,'change_simpleplugin'),(188,'Can delete simple plugin',61,'delete_simpleplugin'),(189,'Can add URL path',62,'add_urlpath'),(190,'Can change URL path',62,'change_urlpath'),(191,'Can delete URL path',62,'delete_urlpath'),(192,'Can add attachment',63,'add_attachment'),(193,'Can change attachment',63,'change_attachment'),(194,'Can delete attachment',63,'delete_attachment'),(195,'Can add attachment revision',64,'add_attachmentrevision'),(196,'Can change attachment revision',64,'change_attachmentrevision'),(197,'Can delete attachment revision',64,'delete_attachmentrevision'),(198,'Can add article subscription',65,'add_articlesubscription'),(199,'Can change article subscription',65,'change_articlesubscription'),(200,'Can delete article subscription',65,'delete_articlesubscription'),(201,'Can add image',66,'add_image'),(202,'Can change image',66,'change_image'),(203,'Can delete image',66,'delete_image'),(204,'Can add image revision',67,'add_imagerevision'),(205,'Can change image revision',67,'change_imagerevision'),(206,'Can delete image revision',67,'delete_imagerevision'),(207,'Can add article flag logs',68,'add_articleflaglogs'),(208,'Can change article flag logs',68,'change_articleflaglogs'),(209,'Can delete article flag logs',68,'delete_articleflaglogs'),(210,'Can add article score log',69,'add_articlescorelog'),(211,'Can change article score log',69,'change_articlescorelog'),(212,'Can delete article score log',69,'delete_articlescorelog'),(213,'Can add article user score logs',70,'add_articleuserscorelogs'),(214,'Can change article user score logs',70,'change_articleuserscorelogs'),(215,'Can delete article user score logs',70,'delete_articleuserscorelogs'),(216,'Can add community reputaion',71,'add_communityreputaion'),(217,'Can change community reputaion',71,'change_communityreputaion'),(218,'Can delete community reputaion',71,'delete_communityreputaion'),(219,'Can add flag reason',72,'add_flagreason'),(220,'Can change flag reason',72,'change_flagreason'),(221,'Can delete flag reason',72,'delete_flagreason'),(222,'Can add media flag logs',73,'add_mediaflaglogs'),(223,'Can change media flag logs',73,'change_mediaflaglogs'),(224,'Can delete media flag logs',73,'delete_mediaflaglogs'),(225,'Can add media score log',74,'add_mediascorelog'),(226,'Can change media score log',74,'change_mediascorelog'),(227,'Can delete media score log',74,'delete_mediascorelog'),(228,'Can add media user score logs',75,'add_mediauserscorelogs'),(229,'Can change media user score logs',75,'change_mediauserscorelogs'),(230,'Can delete media user score logs',75,'delete_mediauserscorelogs'),(231,'Can add resource score',76,'add_resourcescore'),(232,'Can change resource score',76,'change_resourcescore'),(233,'Can delete resource score',76,'delete_resourcescore'),(234,'Can add user score',77,'add_userscore'),(235,'Can change user score',77,'change_userscore'),(236,'Can delete user score',77,'delete_userscore'),(237,'Can add ether article',78,'add_etherarticle'),(238,'Can change ether article',78,'change_etherarticle'),(239,'Can delete ether article',78,'delete_etherarticle'),(240,'Can add ether community',79,'add_ethercommunity'),(241,'Can change ether community',79,'change_ethercommunity'),(242,'Can delete ether community',79,'delete_ethercommunity'),(243,'Can add ether group',80,'add_ethergroup'),(244,'Can change ether group',80,'change_ethergroup'),(245,'Can delete ether group',80,'delete_ethergroup'),(246,'Can add ether user',81,'add_etheruser'),(247,'Can change ether user',81,'change_etheruser'),(248,'Can delete ether user',81,'delete_etheruser'),(249,'Can add media',82,'add_media'),(250,'Can change media',82,'change_media'),(251,'Can delete media',82,'delete_media'),(252,'Can add metadata',83,'add_metadata'),(253,'Can change metadata',83,'change_metadata'),(254,'Can delete metadata',83,'delete_metadata'),(255,'Can add task',84,'add_task'),(256,'Can change task',84,'change_task'),(257,'Can delete task',84,'delete_task'),(258,'Can add badge',85,'add_badge'),(259,'Can change badge',85,'change_badge'),(260,'Can delete badge',85,'delete_badge'),(261,'Can add badge to user',86,'add_badgetouser'),(262,'Can change badge to user',86,'change_badgetouser'),(263,'Can delete badge to user',86,'delete_badgetouser'),(264,'Can add category',87,'add_category'),(265,'Can change category',87,'change_category'),(266,'Can delete category',87,'delete_category'),(267,'Can add Tag',88,'add_tag'),(268,'Can change Tag',88,'change_tag'),(269,'Can delete Tag',88,'delete_tag'),(270,'Can add Tagged Item',89,'add_taggeditem'),(271,'Can change Tagged Item',89,'change_taggeditem'),(272,'Can delete Tagged Item',89,'delete_taggeditem'),(273,'Can add Forum',90,'add_forum'),(274,'Can change Forum',90,'change_forum'),(275,'Can delete Forum',90,'delete_forum'),(276,'Can add Post',91,'add_post'),(277,'Can change Post',91,'change_post'),(278,'Can delete Post',91,'delete_post'),(279,'Can add Topic',92,'add_topic'),(280,'Can change Topic',92,'change_topic'),(281,'Can delete Topic',92,'delete_topic'),(282,'Can add Attachment',93,'add_attachment'),(283,'Can change Attachment',93,'change_attachment'),(284,'Can delete Attachment',93,'delete_attachment'),(285,'Can add Topic poll',94,'add_topicpoll'),(286,'Can change Topic poll',94,'change_topicpoll'),(287,'Can delete Topic poll',94,'delete_topicpoll'),(288,'Can add Topic poll option',95,'add_topicpolloption'),(289,'Can change Topic poll option',95,'change_topicpolloption'),(290,'Can delete Topic poll option',95,'delete_topicpolloption'),(291,'Can add Topic poll vote',96,'add_topicpollvote'),(292,'Can change Topic poll vote',96,'change_topicpollvote'),(293,'Can delete Topic poll vote',96,'delete_topicpollvote'),(294,'Can add Forum track',97,'add_forumreadtrack'),(295,'Can change Forum track',97,'change_forumreadtrack'),(296,'Can delete Forum track',97,'delete_forumreadtrack'),(297,'Can add Topic track',98,'add_topicreadtrack'),(298,'Can change Topic track',98,'change_topicreadtrack'),(299,'Can delete Topic track',98,'delete_topicreadtrack'),(300,'Can add Forum profile',99,'add_forumprofile'),(301,'Can change Forum profile',99,'change_forumprofile'),(302,'Can delete Forum profile',99,'delete_forumprofile'),(303,'Can add Forum permission',100,'add_forumpermission'),(304,'Can change Forum permission',100,'change_forumpermission'),(305,'Can delete Forum permission',100,'delete_forumpermission'),(306,'Can add Group forum permission',101,'add_groupforumpermission'),(307,'Can change Group forum permission',101,'change_groupforumpermission'),(308,'Can delete Group forum permission',101,'delete_groupforumpermission'),(309,'Can add User forum permission',102,'add_userforumpermission'),(310,'Can change User forum permission',102,'change_userforumpermission'),(311,'Can delete User forum permission',102,'delete_userforumpermission'),(312,'Can add badge score',103,'add_badgescore'),(313,'Can change badge score',103,'change_badgescore'),(314,'Can delete badge score',103,'delete_badgescore');
/*!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,
`password` varchar(128) NOT NULL,
`last_login` datetime(6) DEFAULT NULL,
`is_superuser` tinyint(1) NOT NULL,
`username` varchar(150) NOT NULL,
`first_name` varchar(30) NOT NULL,
`last_name` varchar(30) NOT NULL,
`email` varchar(254) NOT NULL,
`is_staff` tinyint(1) NOT NULL,
`is_active` tinyint(1) NOT NULL,
`date_joined` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!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,'pbkdf2_sha256$36000$r8CujTIffhma$jnmVmCO1tuc18NIMsZrwfrdyNnxCNmIAXB+9LdVkPsE=','2019-03-26 14:16:28.754819',1,'admin','','','[email protected]',1,1,'2019-02-26 07:47:48.227174');
/*!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 `auth_user_groups_user_id_group_id_94350c0c_uniq` (`user_id`,`group_id`),
KEY `auth_user_groups_group_id_97559544_fk_auth_group_id` (`group_id`),
CONSTRAINT `auth_user_groups_group_id_97559544_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`),
CONSTRAINT `auth_user_groups_user_id_6a12ed8b_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!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 `auth_user_user_permissions_user_id_permission_id_14a6b632_uniq` (`user_id`,`permission_id`),
KEY `auth_user_user_permi_permission_id_1fbb5f2c_fk_auth_perm` (`permission_id`),
CONSTRAINT `auth_user_user_permi_permission_id_1fbb5f2c_fk_auth_perm` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
CONSTRAINT `auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!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 `authtoken_token`
--
DROP TABLE IF EXISTS `authtoken_token`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `authtoken_token` (
`key` varchar(40) NOT NULL,
`created` datetime(6) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`key`),
UNIQUE KEY `user_id` (`user_id`),
CONSTRAINT `authtoken_token_user_id_35299eff_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `authtoken_token`
--
LOCK TABLES `authtoken_token` WRITE;
/*!40000 ALTER TABLE `authtoken_token` DISABLE KEYS */;
/*!40000 ALTER TABLE `authtoken_token` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `badges_badge`
--
DROP TABLE IF EXISTS `badges_badge`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `badges_badge` (
`id` varchar(255) NOT NULL,
`level` varchar(1) NOT NULL,
`icon` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `badges_badge`
--
LOCK TABLES `badges_badge` WRITE;
/*!40000 ALTER TABLE `badges_badge` DISABLE KEYS */;
INSERT INTO `badges_badge` VALUES ('ac-level-1','1',''),('ac-level-2','2',''),('ac-level-3','3',''),('ac-level-4','4',''),('ac-level-5','5',''),('ap-level-1','1',''),('ap-level-2','2',''),('ap-level-3','3',''),('ap-level-4','4',''),('ap-level-5','5',''),('pa-level-1','1',''),('pa-level-2','2',''),('pa-level-3','3',''),('pa-level-4','4',''),('pa-level-5','5','');
/*!40000 ALTER TABLE `badges_badge` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `badges_badgetouser`
--
DROP TABLE IF EXISTS `badges_badgetouser`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `badges_badgetouser` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`created` datetime(6) NOT NULL,
`badge_id` varchar(255) NOT NULL,
`user_id` int(11) NOT NULL,
`community_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `badges_badgetouser_badge_id_0e3cd6bb_fk_badges_badge_id` (`badge_id`),
KEY `badges_badgetouser_user_id_7928b431_fk_auth_user_id` (`user_id`),
KEY `badges_badgetouser_community_id_01e9a7f7_fk_Community` (`community_id`),
CONSTRAINT `badges_badgetouser_badge_id_0e3cd6bb_fk_badges_badge_id` FOREIGN KEY (`badge_id`) REFERENCES `badges_badge` (`id`),
CONSTRAINT `badges_badgetouser_community_id_01e9a7f7_fk_Community` FOREIGN KEY (`community_id`) REFERENCES `community_community` (`id`),
CONSTRAINT `badges_badgetouser_user_id_7928b431_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `badges_badgetouser`
--
LOCK TABLES `badges_badgetouser` WRITE;
/*!40000 ALTER TABLE `badges_badgetouser` DISABLE KEYS */;
/*!40000 ALTER TABLE `badges_badgetouser` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `BasicArticle_articles`
--
DROP TABLE IF EXISTS `BasicArticle_articles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `BasicArticle_articles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL,
`body` text CHARACTER SET utf8 COLLATE utf8_general_ci,
`image` varchar(100) DEFAULT NULL,
`created_at` datetime(6) NOT NULL,
`published_on` datetime(6) DEFAULT NULL,
`views` int(10) unsigned NOT NULL,
`created_by_id` int(11) DEFAULT NULL,
`published_by_id` int(11) DEFAULT NULL,
`state_id` int(11),
PRIMARY KEY (`id`),
KEY `BasicArticle_articles_created_by_id_8b76d84d_fk_auth_user_id` (`created_by_id`),
KEY `BasicArticle_articles_published_by_id_81e5e785_fk_auth_user_id` (`published_by_id`),
KEY `BasicArticle_articles_state_id_1a38551e_fk_workflow_states_id` (`state_id`),
CONSTRAINT `BasicArticle_articles_created_by_id_8b76d84d_fk_auth_user_id` FOREIGN KEY (`created_by_id`) REFERENCES `auth_user` (`id`),
CONSTRAINT `BasicArticle_articles_published_by_id_81e5e785_fk_auth_user_id` FOREIGN KEY (`published_by_id`) REFERENCES `auth_user` (`id`),
CONSTRAINT `BasicArticle_articles_state_id_1a38551e_fk_workflow_states_id` FOREIGN KEY (`state_id`) REFERENCES `workflow_states` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `BasicArticle_articles`
--
LOCK TABLES `BasicArticle_articles` WRITE;
/*!40000 ALTER TABLE `BasicArticle_articles` DISABLE KEYS */;
/*!40000 ALTER TABLE `BasicArticle_articles` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `BasicArticle_articleviewlogs`
--
DROP TABLE IF EXISTS `BasicArticle_articleviewlogs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `BasicArticle_articleviewlogs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ip` varchar(40) NOT NULL,
`session` varchar(40) NOT NULL,
`created` datetime(6) NOT NULL,
`article_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `BasicArticle_article_article_id_164e59b4_fk_BasicArti` (`article_id`),
CONSTRAINT `BasicArticle_article_article_id_164e59b4_fk_BasicArti` FOREIGN KEY (`article_id`) REFERENCES `basicarticle_articles` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `BasicArticle_articleviewlogs`
--
LOCK TABLES `BasicArticle_articleviewlogs` WRITE;
/*!40000 ALTER TABLE `BasicArticle_articleviewlogs` DISABLE KEYS */;
/*!40000 ALTER TABLE `BasicArticle_articleviewlogs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Categories_category`
--
DROP TABLE IF EXISTS `Categories_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Categories_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`image` varchar(100) DEFAULT NULL,
`created_at` datetime(6) DEFAULT NULL,
`lft` int(10) unsigned NOT NULL,
`rght` int(10) unsigned NOT NULL,
`tree_id` int(10) unsigned NOT NULL,
`level` int(10) unsigned NOT NULL,
`parent_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Categories_category_lft_ec4145b1` (`lft`),
KEY `Categories_category_rght_63642186` (`rght`),
KEY `Categories_category_tree_id_1d8ca4e7` (`tree_id`),
KEY `Categories_category_level_593703f5` (`level`),
KEY `Categories_category_parent_id_eee850a6` (`parent_id`),
CONSTRAINT `Categories_category_parent_id_eee850a6_fk_Categories_category_id` FOREIGN KEY (`parent_id`) REFERENCES `categories_category` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Categories_category`
--
LOCK TABLES `Categories_category` WRITE;
/*!40000 ALTER TABLE `Categories_category` DISABLE KEYS */;
INSERT INTO `Categories_category` VALUES (1,'CS','category/bf1d0420-ae80-4e53-b4bc-9a6efabd1652.PNG','2019-03-26 14:17:02.349656',1,2,1,0,NULL);
/*!40000 ALTER TABLE `Categories_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Community_community`
--
DROP TABLE IF EXISTS `Community_community`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Community_community` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`desc` longtext NOT NULL,
`image` varchar(100) DEFAULT NULL,
`category_id` int(11) DEFAULT NULL,
`tag_line` varchar(500) DEFAULT NULL,
`created_at` datetime(6) DEFAULT NULL,
`forum_link` varchar(100) DEFAULT NULL,
`forum` int(10) unsigned DEFAULT NULL,
`lft` int(10) unsigned NOT NULL,
`rght` int(10) unsigned NOT NULL,
`tree_id` int(10) unsigned NOT NULL,
`level` int(10) unsigned NOT NULL,
`created_by_id` int(11) DEFAULT NULL,
`parent_id` int(11) DEFAULT NULL,
`image_thumbnail` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Community_community_lft_d7f05a9b` (`lft`),
KEY `Community_community_rght_6dfec445` (`rght`),
KEY `Community_community_tree_id_bd4e2595` (`tree_id`),
KEY `Community_community_level_db58ba5f` (`level`),
KEY `Community_community_created_by_id_1080464d_fk_auth_user_id` (`created_by_id`),
KEY `Community_community_parent_id_47d0e58d` (`parent_id`),
KEY `Community_community_category_id_87e260b2` (`category_id`),
CONSTRAINT `Community_community_category_id_87e260b2_fk_Categorie` FOREIGN KEY (`category_id`) REFERENCES `categories_category` (`id`),
CONSTRAINT `Community_community_created_by_id_1080464d_fk_auth_user_id` FOREIGN KEY (`created_by_id`) REFERENCES `auth_user` (`id`),
CONSTRAINT `Community_community_parent_id_47d0e58d_fk_Community_community_id` FOREIGN KEY (`parent_id`) REFERENCES `community_community` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Community_community`
--
LOCK TABLES `Community_community` WRITE;
/*!40000 ALTER TABLE `Community_community` DISABLE KEYS */;
INSERT INTO `Community_community` VALUES (3,'q','<p>q</p>','',1,'q','2019-03-26 14:52:57.276683','q-4',4,1,2,1,0,1,NULL,'');
/*!40000 ALTER TABLE `Community_community` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Community_communityarticles`
--
DROP TABLE IF EXISTS `Community_communityarticles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Community_communityarticles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article_id` int(11) NOT NULL,
`community_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `Community_communitya_article_id_c9af3fed_fk_BasicArti` (`article_id`),
KEY `Community_communitya_community_id_39b5841f_fk_Community` (`community_id`),
KEY `Community_communityarticles_user_id_04d18793_fk_auth_user_id` (`user_id`),
CONSTRAINT `Community_communitya_article_id_c9af3fed_fk_BasicArti` FOREIGN KEY (`article_id`) REFERENCES `basicarticle_articles` (`id`),
CONSTRAINT `Community_communitya_community_id_39b5841f_fk_Community` FOREIGN KEY (`community_id`) REFERENCES `community_community` (`id`),
CONSTRAINT `Community_communityarticles_user_id_04d18793_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Community_communityarticles`
--
LOCK TABLES `Community_communityarticles` WRITE;
/*!40000 ALTER TABLE `Community_communityarticles` DISABLE KEYS */;
/*!40000 ALTER TABLE `Community_communityarticles` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Community_communitycourses`
--
DROP TABLE IF EXISTS `Community_communitycourses`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Community_communitycourses` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`community_id` int(11) DEFAULT NULL,
`course_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Community_communityc_community_id_db58cc7f_fk_Community` (`community_id`),
KEY `Community_communityc_course_id_1b9cc41b_fk_Course_co` (`course_id`),
KEY `Community_communitycourses_user_id_d3572caf_fk_auth_user_id` (`user_id`),
CONSTRAINT `Community_communityc_community_id_db58cc7f_fk_Community` FOREIGN KEY (`community_id`) REFERENCES `community_community` (`id`),
CONSTRAINT `Community_communityc_course_id_1b9cc41b_fk_Course_co` FOREIGN KEY (`course_id`) REFERENCES `course_course` (`id`),
CONSTRAINT `Community_communitycourses_user_id_d3572caf_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Community_communitycourses`
--
LOCK TABLES `Community_communitycourses` WRITE;
/*!40000 ALTER TABLE `Community_communitycourses` DISABLE KEYS */;
/*!40000 ALTER TABLE `Community_communitycourses` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Community_communitygroups`
--
DROP TABLE IF EXISTS `Community_communitygroups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Community_communitygroups` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`community_id` int(11) DEFAULT NULL,
`group_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Community_communityg_community_id_3e76934c_fk_Community` (`community_id`),
KEY `Community_communitygroups_group_id_a2ce7b35_fk_Group_group_id` (`group_id`),
KEY `Community_communitygroups_user_id_eaead89d_fk_auth_user_id` (`user_id`),
CONSTRAINT `Community_communityg_community_id_3e76934c_fk_Community` FOREIGN KEY (`community_id`) REFERENCES `community_community` (`id`),
CONSTRAINT `Community_communitygroups_group_id_a2ce7b35_fk_Group_group_id` FOREIGN KEY (`group_id`) REFERENCES `group_group` (`id`),
CONSTRAINT `Community_communitygroups_user_id_eaead89d_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Community_communitygroups`
--
LOCK TABLES `Community_communitygroups` WRITE;
/*!40000 ALTER TABLE `Community_communitygroups` DISABLE KEYS */;
/*!40000 ALTER TABLE `Community_communitygroups` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Community_communitymedia`
--
DROP TABLE IF EXISTS `Community_communitymedia`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Community_communitymedia` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`community_id` int(11) DEFAULT NULL,
`media_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Community_communitym_community_id_3ff46a01_fk_Community` (`community_id`),
KEY `Community_communitymedia_media_id_e160518e_fk_Media_media_id` (`media_id`),
KEY `Community_communitymedia_user_id_97a38254_fk_auth_user_id` (`user_id`),
CONSTRAINT `Community_communitym_community_id_3ff46a01_fk_Community` FOREIGN KEY (`community_id`) REFERENCES `community_community` (`id`),
CONSTRAINT `Community_communitymedia_media_id_e160518e_fk_Media_media_id` FOREIGN KEY (`media_id`) REFERENCES `media_media` (`id`),
CONSTRAINT `Community_communitymedia_user_id_97a38254_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Community_communitymedia`
--
LOCK TABLES `Community_communitymedia` WRITE;
/*!40000 ALTER TABLE `Community_communitymedia` DISABLE KEYS */;
/*!40000 ALTER TABLE `Community_communitymedia` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Community_communitymembership`
--
DROP TABLE IF EXISTS `Community_communitymembership`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Community_communitymembership` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`community_id` int(11) NOT NULL,
`role_id` int(11) DEFAULT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `Community_communitym_community_id_8a39991d_fk_Community` (`community_id`),
KEY `Community_communitymembership_role_id_9c581fd0_fk_auth_group_id` (`role_id`),
KEY `Community_communitymembership_user_id_5dd1c26b_fk_auth_user_id` (`user_id`),
CONSTRAINT `Community_communitym_community_id_8a39991d_fk_Community` FOREIGN KEY (`community_id`) REFERENCES `community_community` (`id`),
CONSTRAINT `Community_communitymembership_role_id_9c581fd0_fk_auth_group_id` FOREIGN KEY (`role_id`) REFERENCES `auth_group` (`id`),
CONSTRAINT `Community_communitymembership_user_id_5dd1c26b_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Community_communitymembership`
--
LOCK TABLES `Community_communitymembership` WRITE;
/*!40000 ALTER TABLE `Community_communitymembership` DISABLE KEYS */;
INSERT INTO `Community_communitymembership` VALUES (1,3,3,1);
/*!40000 ALTER TABLE `Community_communitymembership` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Community_requestcommunitycreation`
--
DROP TABLE IF EXISTS `Community_requestcommunitycreation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Community_requestcommunitycreation` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) DEFAULT NULL,
`desc` longtext NOT NULL,
`category_id` int(11) DEFAULT NULL,
`tag_line` varchar(500) DEFAULT NULL,
`purpose` longtext NOT NULL,
`email` varchar(100) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`requestedby_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Community_requestcom_requestedby_id_b3e83124_fk_auth_user` (`requestedby_id`),
KEY `Community_requestcommunitycreation_category_id_874787b7` (`category_id`),
CONSTRAINT `Community_requestcom_category_id_874787b7_fk_Categorie` FOREIGN KEY (`category_id`) REFERENCES `categories_category` (`id`),
CONSTRAINT `Community_requestcom_requestedby_id_b3e83124_fk_auth_user` FOREIGN KEY (`requestedby_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Community_requestcommunitycreation`
--
LOCK TABLES `Community_requestcommunitycreation` WRITE;
/*!40000 ALTER TABLE `Community_requestcommunitycreation` DISABLE KEYS */;
/*!40000 ALTER TABLE `Community_requestcommunitycreation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Course_course`
--
DROP TABLE IF EXISTS `Course_course`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Course_course` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL,
`body` longtext NOT NULL,
`image` varchar(100) DEFAULT NULL,
`created_at` datetime(6) DEFAULT NULL,
`created_by_id` int(11) DEFAULT NULL,
`state_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Course_course_created_by_id_696e3a4e_fk_auth_user_id` (`created_by_id`),
KEY `Course_course_state_id_77c858e0_fk_workflow_states_id` (`state_id`),
CONSTRAINT `Course_course_created_by_id_696e3a4e_fk_auth_user_id` FOREIGN KEY (`created_by_id`) REFERENCES `auth_user` (`id`),
CONSTRAINT `Course_course_state_id_77c858e0_fk_workflow_states_id` FOREIGN KEY (`state_id`) REFERENCES `workflow_states` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Course_course`
--
LOCK TABLES `Course_course` WRITE;
/*!40000 ALTER TABLE `Course_course` DISABLE KEYS */;
/*!40000 ALTER TABLE `Course_course` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Course_links`
--
DROP TABLE IF EXISTS `Course_links`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Course_links` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`link` varchar(300) NOT NULL,
`desc` longtext NOT NULL,
`types` varchar(300) DEFAULT NULL,
`topics_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Course_links_topics_id_096bf6bd_fk_Course_topics_id` (`topics_id`),
CONSTRAINT `Course_links_topics_id_096bf6bd_fk_Course_topics_id` FOREIGN KEY (`topics_id`) REFERENCES `course_topics` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Course_links`
--
LOCK TABLES `Course_links` WRITE;
/*!40000 ALTER TABLE `Course_links` DISABLE KEYS */;
/*!40000 ALTER TABLE `Course_links` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Course_topicarticle`
--
DROP TABLE IF EXISTS `Course_topicarticle`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Course_topicarticle` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article_id` int(11) NOT NULL,
`topics_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Course_topicarticle_article_id_2ab7af7f_fk_BasicArti` (`article_id`),
KEY `Course_topicarticle_topics_id_d20b76e7_fk_Course_topics_id` (`topics_id`),
CONSTRAINT `Course_topicarticle_article_id_2ab7af7f_fk_BasicArti` FOREIGN KEY (`article_id`) REFERENCES `basicarticle_articles` (`id`),
CONSTRAINT `Course_topicarticle_topics_id_d20b76e7_fk_Course_topics_id` FOREIGN KEY (`topics_id`) REFERENCES `course_topics` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Course_topicarticle`
--
LOCK TABLES `Course_topicarticle` WRITE;
/*!40000 ALTER TABLE `Course_topicarticle` DISABLE KEYS */;
/*!40000 ALTER TABLE `Course_topicarticle` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Course_topics`
--
DROP TABLE IF EXISTS `Course_topics`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Course_topics` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`lft` int(10) unsigned NOT NULL,
`rght` int(10) unsigned NOT NULL,
`tree_id` int(10) unsigned NOT NULL,
`level` int(10) unsigned NOT NULL,
`course_id` int(11) DEFAULT NULL,
`parent_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Course_topics_course_id_9e18b74c_fk_Course_course_id` (`course_id`),
KEY `Course_topics_lft_90a2e5bc` (`lft`),
KEY `Course_topics_rght_01583e2c` (`rght`),
KEY `Course_topics_tree_id_b199de91` (`tree_id`),
KEY `Course_topics_level_a7ab2ea8` (`level`),
KEY `Course_topics_parent_id_adff4cae` (`parent_id`),
CONSTRAINT `Course_topics_course_id_9e18b74c_fk_Course_course_id` FOREIGN KEY (`course_id`) REFERENCES `course_course` (`id`),
CONSTRAINT `Course_topics_parent_id_adff4cae_fk_Course_topics_id` FOREIGN KEY (`parent_id`) REFERENCES `course_topics` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Course_topics`
--
LOCK TABLES `Course_topics` WRITE;
/*!40000 ALTER TABLE `Course_topics` DISABLE KEYS */;
/*!40000 ALTER TABLE `Course_topics` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Course_videos`
--
DROP TABLE IF EXISTS `Course_videos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `Course_videos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`video` varchar(300) NOT NULL,
`desc` longtext NOT NULL,
`topics_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `Course_videos_topics_id_568227cc_fk_Course_topics_id` (`topics_id`),
CONSTRAINT `Course_videos_topics_id_568227cc_fk_Course_topics_id` FOREIGN KEY (`topics_id`) REFERENCES `course_topics` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Course_videos`
--
LOCK TABLES `Course_videos` WRITE;
/*!40000 ALTER TABLE `Course_videos` DISABLE KEYS */;
/*!40000 ALTER TABLE `Course_videos` 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(6) NOT NULL,
`object_id` longtext,
`object_repr` varchar(200) NOT NULL,
`action_flag` smallint(5) unsigned NOT NULL,
`change_message` longtext NOT NULL,
`content_type_id` int(11) DEFAULT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `django_admin_log_content_type_id_c4bce8eb_fk_django_co` (`content_type_id`),
KEY `django_admin_log_user_id_c564eba6_fk_auth_user_id` (`user_id`),
CONSTRAINT `django_admin_log_content_type_id_c4bce8eb_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`),
CONSTRAINT `django_admin_log_user_id_c564eba6_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
/*!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 */;
INSERT INTO `django_admin_log` VALUES (1,'2019-02-26 07:49:42.065158','1','Collaboration System',1,'[{\"added\": {}}]',90,1),(2,'2019-02-26 11:25:17.114008','3','publish',2,'[{\"changed\": {\"fields\": [\"final\"]}}]',31,1),(3,'2019-02-26 11:27:56.205778','1','draft',2,'[{\"changed\": {\"fields\": [\"initial\"]}}]',31,1),(4,'2019-02-26 11:28:04.665605','3','publish',2,'[]',31,1),(5,'2019-03-26 14:17:02.519561','1','CS',1,'[{\"added\": {}}]',87,1),(6,'2019-03-26 15:10:04.410381','publisher','Publisher',3,'',85,1),(7,'2019-03-26 15:10:04.573761','contributor','Contributor',3,'',85,1),(8,'2019-03-26 15:13:08.566664','publisher','Publisher',3,'',85,1),(9,'2019-03-26 15:13:08.764861','contributor','Contributor',3,'',85,1),(10,'2019-03-26 15:13:08.777171','author','Author',3,'',85,1);
/*!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,
`flag` varchar(30) NOT NULL,
`flag_date` datetime(6) NOT NULL,
`comment_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `django_comment_flags_user_id_comment_id_flag_537f77a7_uniq` (`user_id`,`comment_id`,`flag`),
KEY `django_comment_flags_comment_id_d8054933_fk_django_comments_id` (`comment_id`),
KEY `django_comment_flags_flag_8b141fcb` (`flag`),
CONSTRAINT `django_comment_flags_comment_id_d8054933_fk_django_comments_id` FOREIGN KEY (`comment_id`) REFERENCES `django_comments` (`id`),
CONSTRAINT `django_comment_flags_user_id_f3f81f0a_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!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,
`object_pk` longtext NOT NULL,
`user_name` varchar(50) NOT NULL,
`user_email` varchar(254) NOT NULL,
`user_url` varchar(200) NOT NULL,
`comment` longtext NOT NULL,
`submit_date` datetime(6) NOT NULL,
`ip_address` char(39) DEFAULT NULL,
`is_public` tinyint(1) NOT NULL,
`is_removed` tinyint(1) NOT NULL,
`content_type_id` int(11) NOT NULL,
`site_id` int(11) NOT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `django_comments_content_type_id_c4afe962_fk_django_co` (`content_type_id`),
KEY `django_comments_site_id_9dcf666e_fk_django_site_id` (`site_id`),
KEY `django_comments_user_id_a0a440a1_fk_auth_user_id` (`user_id`),
KEY `django_comments_submit_date_514ed2d9` (`submit_date`),
CONSTRAINT `django_comments_content_type_id_c4afe962_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`),
CONSTRAINT `django_comments_site_id_9dcf666e_fk_django_site_id` FOREIGN KEY (`site_id`) REFERENCES `django_site` (`id`),
CONSTRAINT `django_comments_user_id_a0a440a1_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!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_comments_xtd_blacklisteddomain`
--
DROP TABLE IF EXISTS `django_comments_xtd_blacklisteddomain`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `django_comments_xtd_blacklisteddomain` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`domain` varchar(200) NOT NULL,
PRIMARY KEY (`id`),
KEY `django_comments_xtd_blacklisteddomain_domain_43b81328` (`domain`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_comments_xtd_blacklisteddomain`
--
LOCK TABLES `django_comments_xtd_blacklisteddomain` WRITE;
/*!40000 ALTER TABLE `django_comments_xtd_blacklisteddomain` DISABLE KEYS */;
/*!40000 ALTER TABLE `django_comments_xtd_blacklisteddomain` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_comments_xtd_xtdcomment`
--
DROP TABLE IF EXISTS `django_comments_xtd_xtdcomment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `django_comments_xtd_xtdcomment` (
`comment_ptr_id` int(11) NOT NULL,
`thread_id` int(11) NOT NULL,
`parent_id` int(11) NOT NULL,
`level` smallint(6) NOT NULL,
`order` int(11) NOT NULL,
`followup` tinyint(1) NOT NULL,
PRIMARY KEY (`comment_ptr_id`),
KEY `django_comments_xtd_xtdcomment_thread_id_e192a27a` (`thread_id`),
KEY `django_comments_xtd_xtdcomment_order_36db562d` (`order`),
CONSTRAINT `django_comments_xtd__comment_ptr_id_01d47130_fk_django_co` FOREIGN KEY (`comment_ptr_id`) REFERENCES `django_comments` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_comments_xtd_xtdcomment`
--
LOCK TABLES `django_comments_xtd_xtdcomment` WRITE;
/*!40000 ALTER TABLE `django_comments_xtd_xtdcomment` DISABLE KEYS */;
/*!40000 ALTER TABLE `django_comments_xtd_xtdcomment` ENABLE KEYS */;
UNLOCK TABLES;