forked from yunmengyanjin/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_yunmengyanjin.sql
More file actions
executable file
·3454 lines (3023 loc) · 155 KB
/
Copy pathtest_yunmengyanjin.sql
File metadata and controls
executable file
·3454 lines (3023 loc) · 155 KB
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.5.49, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: test_yunmengyanjin
-- ------------------------------------------------------
-- Server version 5.5.49-0ubuntu0.14.04.1
/*!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 `addresses_address`
--
DROP TABLE IF EXISTS `addresses_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `addresses_address` (
`baseaddress_ptr_id` int(11) NOT NULL,
`company_name` varchar(50) DEFAULT NULL,
`phone` varchar(20) DEFAULT NULL,
`email` varchar(254) DEFAULT NULL,
PRIMARY KEY (`baseaddress_ptr_id`),
CONSTRAINT `baseaddress_ptr_id_3baf2a4b248c76f7_fk_addresses_baseaddress_id` FOREIGN KEY (`baseaddress_ptr_id`) REFERENCES `addresses_baseaddress` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `addresses_address`
--
LOCK TABLES `addresses_address` WRITE;
/*!40000 ALTER TABLE `addresses_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `addresses_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `addresses_baseaddress`
--
DROP TABLE IF EXISTS `addresses_baseaddress`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `addresses_baseaddress` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`firstname` varchar(50) NOT NULL,
`lastname` varchar(50) NOT NULL,
`line1` varchar(100) DEFAULT NULL,
`line2` varchar(100) DEFAULT NULL,
`zip_code` varchar(10) NOT NULL,
`city` varchar(50) NOT NULL,
`state` varchar(50) DEFAULT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
`country_id` int(11) DEFAULT NULL,
`customer_id` int(11) DEFAULT NULL,
`order_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `addresses_baseaddress_93bfec8a` (`country_id`),
KEY `addresses_baseaddress_cb24373b` (`customer_id`),
KEY `addresses_baseaddress_69dfcb07` (`order_id`),
CONSTRAINT `addresses_baseaddres_order_id_5542e721a01e79f2_fk_order_order_id` FOREIGN KEY (`order_id`) REFERENCES `order_order` (`id`),
CONSTRAINT `addresses_baseadd_country_id_43fc49c9c9191dfa_fk_core_country_id` FOREIGN KEY (`country_id`) REFERENCES `core_country` (`id`),
CONSTRAINT `addresses_b_customer_id_52a7ef0e3f2fb675_fk_customer_customer_id` FOREIGN KEY (`customer_id`) REFERENCES `customer_customer` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `addresses_baseaddress`
--
LOCK TABLES `addresses_baseaddress` WRITE;
/*!40000 ALTER TABLE `addresses_baseaddress` DISABLE KEYS */;
/*!40000 ALTER TABLE `addresses_baseaddress` 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 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__permission_id_1f49ccbbdc69d2fc_fk_auth_permission_id` (`permission_id`),
CONSTRAINT `auth_group__permission_id_1f49ccbbdc69d2fc_fk_auth_permission_id` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
CONSTRAINT `auth_group_permission_group_id_689710a9a73b7457_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`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_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) DEFAULT 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`),
CONSTRAINT `auth__content_type_id_508cf46651277a81_fk_django_content_type_id` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=278 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 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 flat page',8,'add_flatpage'),(23,'Can change flat page',8,'change_flatpage'),(24,'Can delete flat page',8,'delete_flatpage'),(25,'Can add redirect',9,'add_redirect'),(26,'Can change redirect',9,'change_redirect'),(27,'Can delete redirect',9,'delete_redirect'),(28,'Can add review',10,'add_review'),(29,'Can change review',10,'change_review'),(30,'Can delete review',10,'delete_review'),(31,'Can add portlet assignment',11,'add_portletassignment'),(32,'Can change portlet assignment',11,'change_portletassignment'),(33,'Can delete portlet assignment',11,'delete_portletassignment'),(34,'Can add portlet blocking',12,'add_portletblocking'),(35,'Can change portlet blocking',12,'change_portletblocking'),(36,'Can delete portlet blocking',12,'delete_portletblocking'),(37,'Can add portlet registration',13,'add_portletregistration'),(38,'Can change portlet registration',13,'change_portletregistration'),(39,'Can delete portlet registration',13,'delete_portletregistration'),(40,'Can add slot',14,'add_slot'),(41,'Can change slot',14,'change_slot'),(42,'Can delete slot',14,'delete_slot'),(43,'Can add base address',15,'add_baseaddress'),(44,'Can change base address',15,'change_baseaddress'),(45,'Can delete base address',15,'delete_baseaddress'),(46,'Can add address',16,'add_address'),(47,'Can change address',16,'change_address'),(48,'Can delete address',16,'delete_address'),(49,'Can add cart',17,'add_cart'),(50,'Can change cart',17,'change_cart'),(51,'Can delete cart',17,'delete_cart'),(52,'Can add cart item',18,'add_cartitem'),(53,'Can change cart item',18,'change_cartitem'),(54,'Can delete cart item',18,'delete_cartitem'),(55,'Can add cart item property value',19,'add_cartitempropertyvalue'),(56,'Can change cart item property value',19,'change_cartitempropertyvalue'),(57,'Can delete cart item property value',19,'delete_cartitempropertyvalue'),(58,'Can add Category',20,'add_category'),(59,'Can change Category',20,'change_category'),(60,'Can delete Category',20,'delete_category'),(61,'Can add product',21,'add_product'),(62,'Can change product',21,'change_product'),(63,'Can delete product',21,'delete_product'),(64,'Can add product accessories',22,'add_productaccessories'),(65,'Can change product accessories',22,'change_productaccessories'),(66,'Can delete product accessories',22,'delete_productaccessories'),(67,'Can add property group',23,'add_propertygroup'),(68,'Can change property group',23,'change_propertygroup'),(69,'Can delete property group',23,'delete_propertygroup'),(70,'Can add property',24,'add_property'),(71,'Can change property',24,'change_property'),(72,'Can delete property',24,'delete_property'),(73,'Can add filter step',25,'add_filterstep'),(74,'Can change filter step',25,'change_filterstep'),(75,'Can delete filter step',25,'delete_filterstep'),(76,'Can add groups properties relation',26,'add_groupspropertiesrelation'),(77,'Can change groups properties relation',26,'change_groupspropertiesrelation'),(78,'Can delete groups properties relation',26,'delete_groupspropertiesrelation'),(79,'Can add products properties relation',27,'add_productspropertiesrelation'),(80,'Can change products properties relation',27,'change_productspropertiesrelation'),(81,'Can delete products properties relation',27,'delete_productspropertiesrelation'),(82,'Can add property option',28,'add_propertyoption'),(83,'Can change property option',28,'change_propertyoption'),(84,'Can delete property option',28,'delete_propertyoption'),(85,'Can add product property value',29,'add_productpropertyvalue'),(86,'Can change product property value',29,'change_productpropertyvalue'),(87,'Can delete product property value',29,'delete_productpropertyvalue'),(88,'Can add image',30,'add_image'),(89,'Can change image',30,'change_image'),(90,'Can delete image',30,'delete_image'),(91,'Can add file',31,'add_file'),(92,'Can change file',31,'change_file'),(93,'Can delete file',31,'delete_file'),(94,'Can add static block',32,'add_staticblock'),(95,'Can change static block',32,'change_staticblock'),(96,'Can delete static block',32,'delete_staticblock'),(97,'Can add delivery time',33,'add_deliverytime'),(98,'Can change delivery time',33,'change_deliverytime'),(99,'Can delete delivery time',33,'delete_deliverytime'),(100,'Can add product attachment',34,'add_productattachment'),(101,'Can change product attachment',34,'change_productattachment'),(102,'Can delete product attachment',34,'delete_productattachment'),(103,'Can add country',35,'add_country'),(104,'Can change country',35,'change_country'),(105,'Can delete country',35,'delete_country'),(106,'Can add action group',36,'add_actiongroup'),(107,'Can change action group',36,'change_actiongroup'),(108,'Can delete action group',36,'delete_actiongroup'),(109,'Can add action',37,'add_action'),(110,'Can change action',37,'change_action'),(111,'Can delete action',37,'delete_action'),(112,'Can add shop',38,'add_shop'),(113,'Can change shop',38,'change_shop'),(114,'Can delete shop',38,'delete_shop'),(115,'Manage shop',38,'manage_shop'),(116,'Can add application',39,'add_application'),(117,'Can change application',39,'change_application'),(118,'Can delete application',39,'delete_application'),(119,'Can add criterion',40,'add_criterion'),(120,'Can change criterion',40,'change_criterion'),(121,'Can delete criterion',40,'delete_criterion'),(122,'Can add cart price criterion',41,'add_cartpricecriterion'),(123,'Can change cart price criterion',41,'change_cartpricecriterion'),(124,'Can delete cart price criterion',41,'delete_cartpricecriterion'),(125,'Can add combined length and girth criterion',42,'add_combinedlengthandgirthcriterion'),(126,'Can change combined length and girth criterion',42,'change_combinedlengthandgirthcriterion'),(127,'Can delete combined length and girth criterion',42,'delete_combinedlengthandgirthcriterion'),(128,'Can add country criterion',43,'add_countrycriterion'),(129,'Can change country criterion',43,'change_countrycriterion'),(130,'Can delete country criterion',43,'delete_countrycriterion'),(131,'Can add height criterion',44,'add_heightcriterion'),(132,'Can change height criterion',44,'change_heightcriterion'),(133,'Can delete height criterion',44,'delete_heightcriterion'),(134,'Can add length criterion',45,'add_lengthcriterion'),(135,'Can change length criterion',45,'change_lengthcriterion'),(136,'Can delete length criterion',45,'delete_lengthcriterion'),(137,'Can add payment method criterion',46,'add_paymentmethodcriterion'),(138,'Can change payment method criterion',46,'change_paymentmethodcriterion'),(139,'Can delete payment method criterion',46,'delete_paymentmethodcriterion'),(140,'Can add shipping method criterion',47,'add_shippingmethodcriterion'),(141,'Can change shipping method criterion',47,'change_shippingmethodcriterion'),(142,'Can delete shipping method criterion',47,'delete_shippingmethodcriterion'),(143,'Can add weight criterion',48,'add_weightcriterion'),(144,'Can change weight criterion',48,'change_weightcriterion'),(145,'Can delete weight criterion',48,'delete_weightcriterion'),(146,'Can add width criterion',49,'add_widthcriterion'),(147,'Can change width criterion',49,'change_widthcriterion'),(148,'Can delete width criterion',49,'delete_widthcriterion'),(149,'Can add customer',50,'add_customer'),(150,'Can change customer',50,'change_customer'),(151,'Can delete customer',50,'delete_customer'),(152,'Can add bank account',51,'add_bankaccount'),(153,'Can change bank account',51,'change_bankaccount'),(154,'Can delete bank account',51,'delete_bankaccount'),(155,'Can add credit card',52,'add_creditcard'),(156,'Can change credit card',52,'change_creditcard'),(157,'Can delete credit card',52,'delete_creditcard'),(158,'Can add customer tax',53,'add_customertax'),(159,'Can change customer tax',53,'change_customertax'),(160,'Can delete customer tax',53,'delete_customertax'),(161,'Can add discount',54,'add_discount'),(162,'Can change discount',54,'change_discount'),(163,'Can delete discount',54,'delete_discount'),(164,'Can add export',55,'add_export'),(165,'Can change export',55,'change_export'),(166,'Can delete export',55,'delete_export'),(167,'Can add script',56,'add_script'),(168,'Can change script',56,'change_script'),(169,'Can delete script',56,'delete_script'),(170,'Can add category option',57,'add_categoryoption'),(171,'Can change category option',57,'change_categoryoption'),(172,'Can delete category option',57,'delete_categoryoption'),(173,'Can add topseller',58,'add_topseller'),(174,'Can change topseller',58,'change_topseller'),(175,'Can delete topseller',58,'delete_topseller'),(176,'Can add product sales',59,'add_productsales'),(177,'Can change product sales',59,'change_productsales'),(178,'Can delete product sales',59,'delete_productsales'),(179,'Can add featured product',60,'add_featuredproduct'),(180,'Can change featured product',60,'change_featuredproduct'),(181,'Can delete featured product',60,'delete_featuredproduct'),(182,'Can add order rating mail',61,'add_orderratingmail'),(183,'Can change order rating mail',61,'change_orderratingmail'),(184,'Can delete order rating mail',61,'delete_orderratingmail'),(185,'Can add manufacturer',62,'add_manufacturer'),(186,'Can change manufacturer',62,'change_manufacturer'),(187,'Can delete manufacturer',62,'delete_manufacturer'),(188,'Can add order',63,'add_order'),(189,'Can change order',63,'change_order'),(190,'Can delete order',63,'delete_order'),(191,'Can add order item',64,'add_orderitem'),(192,'Can change order item',64,'change_orderitem'),(193,'Can delete order item',64,'delete_orderitem'),(194,'Can add order item property value',65,'add_orderitempropertyvalue'),(195,'Can change order item property value',65,'change_orderitempropertyvalue'),(196,'Can delete order item property value',65,'delete_orderitempropertyvalue'),(197,'Can add Order delivery time',66,'add_orderdeliverytime'),(198,'Can change Order delivery time',66,'change_orderdeliverytime'),(199,'Can delete Order delivery time',66,'delete_orderdeliverytime'),(200,'Can add page',67,'add_page'),(201,'Can change page',67,'change_page'),(202,'Can delete page',67,'delete_page'),(203,'Can add payment method',68,'add_paymentmethod'),(204,'Can change payment method',68,'change_paymentmethod'),(205,'Can delete payment method',68,'delete_paymentmethod'),(206,'Can add payment method price',69,'add_paymentmethodprice'),(207,'Can change payment method price',69,'change_paymentmethodprice'),(208,'Can delete payment method price',69,'delete_paymentmethodprice'),(209,'Can add average rating portlet',70,'add_averageratingportlet'),(210,'Can change average rating portlet',70,'change_averageratingportlet'),(211,'Can delete average rating portlet',70,'delete_averageratingportlet'),(212,'Can add cart portlet',71,'add_cartportlet'),(213,'Can change cart portlet',71,'change_cartportlet'),(214,'Can delete cart portlet',71,'delete_cartportlet'),(215,'Can add categories portlet',72,'add_categoriesportlet'),(216,'Can change categories portlet',72,'change_categoriesportlet'),(217,'Can delete categories portlet',72,'delete_categoriesportlet'),(218,'Can add delivery time portlet',73,'add_deliverytimeportlet'),(219,'Can change delivery time portlet',73,'change_deliverytimeportlet'),(220,'Can delete delivery time portlet',73,'delete_deliverytimeportlet'),(221,'Can add pages portlet',74,'add_pagesportlet'),(222,'Can change pages portlet',74,'change_pagesportlet'),(223,'Can delete pages portlet',74,'delete_pagesportlet'),(224,'Can add recent products portlet',75,'add_recentproductsportlet'),(225,'Can change recent products portlet',75,'change_recentproductsportlet'),(226,'Can delete recent products portlet',75,'delete_recentproductsportlet'),(227,'Can add related products portlet',76,'add_relatedproductsportlet'),(228,'Can change related products portlet',76,'change_relatedproductsportlet'),(229,'Can delete related products portlet',76,'delete_relatedproductsportlet'),(230,'Can add text portlet',77,'add_textportlet'),(231,'Can change text portlet',77,'change_textportlet'),(232,'Can delete text portlet',77,'delete_textportlet'),(233,'Can add topseller portlet',78,'add_topsellerportlet'),(234,'Can change topseller portlet',78,'change_topsellerportlet'),(235,'Can delete topseller portlet',78,'delete_topsellerportlet'),(236,'Can add filter portlet',79,'add_filterportlet'),(237,'Can change filter portlet',79,'change_filterportlet'),(238,'Can delete filter portlet',79,'delete_filterportlet'),(239,'Can add forsale portlet',80,'add_forsaleportlet'),(240,'Can change forsale portlet',80,'change_forsaleportlet'),(241,'Can delete forsale portlet',80,'delete_forsaleportlet'),(242,'Can add featured portlet',81,'add_featuredportlet'),(243,'Can change featured portlet',81,'change_featuredportlet'),(244,'Can delete featured portlet',81,'delete_featuredportlet'),(245,'Can add latest portlet',82,'add_latestportlet'),(246,'Can change latest portlet',82,'change_latestportlet'),(247,'Can delete latest portlet',82,'delete_latestportlet'),(248,'Can add shipping method',83,'add_shippingmethod'),(249,'Can change shipping method',83,'change_shippingmethod'),(250,'Can delete shipping method',83,'delete_shippingmethod'),(251,'Can add shipping method price',84,'add_shippingmethodprice'),(252,'Can change shipping method price',84,'change_shippingmethodprice'),(253,'Can delete shipping method price',84,'delete_shippingmethodprice'),(254,'Can add supplier',85,'add_supplier'),(255,'Can change supplier',85,'change_supplier'),(256,'Can delete supplier',85,'delete_supplier'),(257,'Can add tax',86,'add_tax'),(258,'Can change tax',86,'change_tax'),(259,'Can delete tax',86,'delete_tax'),(260,'Can add voucher options',87,'add_voucheroptions'),(261,'Can change voucher options',87,'change_voucheroptions'),(262,'Can delete voucher options',87,'delete_voucheroptions'),(263,'Can add voucher group',88,'add_vouchergroup'),(264,'Can change voucher group',88,'change_vouchergroup'),(265,'Can delete voucher group',88,'delete_vouchergroup'),(266,'Can add voucher',89,'add_voucher'),(267,'Can change voucher',89,'change_voucher'),(268,'Can delete voucher',89,'delete_voucher'),(269,'Can add order number generator',90,'add_ordernumbergenerator'),(270,'Can change order number generator',90,'change_ordernumbergenerator'),(271,'Can delete order number generator',90,'delete_ordernumbergenerator'),(272,'Can add PayPal IPN',91,'add_paypalipn'),(273,'Can change PayPal IPN',91,'change_paypalipn'),(274,'Can delete PayPal IPN',91,'delete_paypalipn'),(275,'Can add PayPal PDT',92,'add_paypalpdt'),(276,'Can change PayPal PDT',92,'change_paypalpdt'),(277,'Can delete PayPal PDT',92,'delete_paypalpdt');
/*!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 DEFAULT NULL,
`is_superuser` tinyint(1) NOT NULL,
`username` varchar(30) NOT NULL,
`first_name` varchar(30) NOT NULL,
`last_name` varchar(30) NOT NULL,
`email` varchar(254) DEFAULT NULL,
`is_staff` tinyint(1) NOT NULL,
`is_active` tinyint(1) NOT NULL,
`date_joined` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=2 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,'pbkdf2_sha256$20000$Am2l40Bn4sUa$zzMzAeTgab5eM5tsPTDFyV46sf24E4gMMPpW6yJJs6w=','2016-05-09 00:18:17',1,'ymyj','','','daniel48@126.com',1,1,'2016-05-09 00:17:53');
/*!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_group_id_33ac548dcf5f8e37_fk_auth_group_id` (`group_id`),
CONSTRAINT `auth_user_groups_group_id_33ac548dcf5f8e37_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`),
CONSTRAINT `auth_user_groups_user_id_4b5ed4ffdb8fd9b0_fk_auth_user_id` 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_u_permission_id_384b62483d7071f0_fk_auth_permission_id` (`permission_id`),
CONSTRAINT `auth_user_u_permission_id_384b62483d7071f0_fk_auth_permission_id` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
CONSTRAINT `auth_user_user_permissi_user_id_7f0938558328534a_fk_auth_user_id` 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 `cart_cart`
--
DROP TABLE IF EXISTS `cart_cart`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cart_cart` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`session` varchar(100) NOT NULL,
`creation_date` datetime NOT NULL,
`modification_date` datetime NOT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `cart_cart_user_id_26e59656ec19db37_fk_auth_user_id` (`user_id`),
CONSTRAINT `cart_cart_user_id_26e59656ec19db37_fk_auth_user_id` 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 `cart_cart`
--
LOCK TABLES `cart_cart` WRITE;
/*!40000 ALTER TABLE `cart_cart` DISABLE KEYS */;
/*!40000 ALTER TABLE `cart_cart` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cart_cartitem`
--
DROP TABLE IF EXISTS `cart_cartitem`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cart_cartitem` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`amount` double DEFAULT NULL,
`creation_date` datetime NOT NULL,
`modification_date` datetime NOT NULL,
`cart_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `cart_cartitem_cart_id_1591a08360e8c0b3_fk_cart_cart_id` (`cart_id`),
KEY `cart_cartitem_product_id_77a53c68ca8495a5_fk_catalog_product_id` (`product_id`),
CONSTRAINT `cart_cartitem_product_id_77a53c68ca8495a5_fk_catalog_product_id` FOREIGN KEY (`product_id`) REFERENCES `catalog_product` (`id`),
CONSTRAINT `cart_cartitem_cart_id_1591a08360e8c0b3_fk_cart_cart_id` FOREIGN KEY (`cart_id`) REFERENCES `cart_cart` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cart_cartitem`
--
LOCK TABLES `cart_cartitem` WRITE;
/*!40000 ALTER TABLE `cart_cartitem` DISABLE KEYS */;
/*!40000 ALTER TABLE `cart_cartitem` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cart_cartitempropertyvalue`
--
DROP TABLE IF EXISTS `cart_cartitempropertyvalue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cart_cartitempropertyvalue` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`value` varchar(100) NOT NULL,
`cart_item_id` int(11) NOT NULL,
`property_id` int(11) NOT NULL,
`property_group_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `cart_cartitemp_cart_item_id_7c0e473dee4f1139_fk_cart_cartitem_id` (`cart_item_id`),
KEY `cart_cartite_property_id_32d0bc33a40cda6d_fk_catalog_property_id` (`property_id`),
KEY `c_property_group_id_6943245757f2c477_fk_catalog_propertygroup_id` (`property_group_id`),
CONSTRAINT `c_property_group_id_6943245757f2c477_fk_catalog_propertygroup_id` FOREIGN KEY (`property_group_id`) REFERENCES `catalog_propertygroup` (`id`),
CONSTRAINT `cart_cartitemp_cart_item_id_7c0e473dee4f1139_fk_cart_cartitem_id` FOREIGN KEY (`cart_item_id`) REFERENCES `cart_cartitem` (`id`),
CONSTRAINT `cart_cartite_property_id_32d0bc33a40cda6d_fk_catalog_property_id` FOREIGN KEY (`property_id`) REFERENCES `catalog_property` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cart_cartitempropertyvalue`
--
LOCK TABLES `cart_cartitempropertyvalue` WRITE;
/*!40000 ALTER TABLE `cart_cartitempropertyvalue` DISABLE KEYS */;
/*!40000 ALTER TABLE `cart_cartitempropertyvalue` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_category`
--
DROP TABLE IF EXISTS `catalog_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`slug` varchar(50) NOT NULL,
`show_all_products` tinyint(1) NOT NULL,
`short_description` longtext NOT NULL,
`description` longtext NOT NULL,
`image` varchar(100) DEFAULT NULL,
`position` int(11) NOT NULL,
`exclude_from_navigation` tinyint(1) NOT NULL,
`template` smallint(5) unsigned DEFAULT NULL,
`active_formats` tinyint(1) NOT NULL,
`product_rows` int(11) NOT NULL,
`product_cols` int(11) NOT NULL,
`category_cols` int(11) NOT NULL,
`meta_title` varchar(100) NOT NULL,
`meta_keywords` longtext NOT NULL,
`meta_description` longtext NOT NULL,
`level` smallint(5) unsigned NOT NULL,
`uid` varchar(50) NOT NULL,
`parent_id` int(11) DEFAULT NULL,
`static_block_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `slug` (`slug`),
UNIQUE KEY `uid` (`uid`),
KEY `catalog_catego_parent_id_58dfaf012cf88d68_fk_catalog_category_id` (`parent_id`),
KEY `catalog_category_0b071eca` (`static_block_id`),
CONSTRAINT `catalo_static_block_id_3cede38c5128a32_fk_catalog_staticblock_id` FOREIGN KEY (`static_block_id`) REFERENCES `catalog_staticblock` (`id`),
CONSTRAINT `catalog_catego_parent_id_58dfaf012cf88d68_fk_catalog_category_id` FOREIGN KEY (`parent_id`) REFERENCES `catalog_category` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_category`
--
LOCK TABLES `catalog_category` WRITE;
/*!40000 ALTER TABLE `catalog_category` DISABLE KEYS */;
INSERT INTO `catalog_category` VALUES (1,'testCatalog','testcatalog',1,'<p>short description for testCatalog</p>','<p>description for testCatalog</p>','images/1.jpg',10,0,NULL,0,3,3,3,'<name>','','',1,'81145b59-4044-4062-adbf-4198e0433e80',NULL,NULL);
/*!40000 ALTER TABLE `catalog_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_category_products`
--
DROP TABLE IF EXISTS `catalog_category_products`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_category_products` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`category_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `category_id` (`category_id`,`product_id`),
KEY `catalog_catego_product_id_7f3ebf98ad63651e_fk_catalog_product_id` (`product_id`),
CONSTRAINT `catalog_catego_product_id_7f3ebf98ad63651e_fk_catalog_product_id` FOREIGN KEY (`product_id`) REFERENCES `catalog_product` (`id`),
CONSTRAINT `catalog_cate_category_id_4707e3ed51c73048_fk_catalog_category_id` FOREIGN KEY (`category_id`) REFERENCES `catalog_category` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_category_products`
--
LOCK TABLES `catalog_category_products` WRITE;
/*!40000 ALTER TABLE `catalog_category_products` DISABLE KEYS */;
INSERT INTO `catalog_category_products` VALUES (1,1,1);
/*!40000 ALTER TABLE `catalog_category_products` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_deliverytime`
--
DROP TABLE IF EXISTS `catalog_deliverytime`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_deliverytime` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`min` double NOT NULL,
`max` double NOT NULL,
`unit` smallint(5) unsigned NOT NULL,
`description` longtext 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 `catalog_deliverytime`
--
LOCK TABLES `catalog_deliverytime` WRITE;
/*!40000 ALTER TABLE `catalog_deliverytime` DISABLE KEYS */;
INSERT INTO `catalog_deliverytime` VALUES (1,1,4,2,'<p>description for delivery time</p>');
/*!40000 ALTER TABLE `catalog_deliverytime` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_file`
--
DROP TABLE IF EXISTS `catalog_file`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_file` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL,
`slug` varchar(50) NOT NULL,
`content_id` int(10) unsigned DEFAULT NULL,
`position` smallint(6) NOT NULL,
`description` varchar(100) NOT NULL,
`file` varchar(100) NOT NULL,
`content_type_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `catal_content_type_id_7cd4b8845d72b476_fk_django_content_type_id` (`content_type_id`),
KEY `catalog_file_2dbcba41` (`slug`),
CONSTRAINT `catal_content_type_id_7cd4b8845d72b476_fk_django_content_type_id` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_file`
--
LOCK TABLES `catalog_file` WRITE;
/*!40000 ALTER TABLE `catalog_file` DISABLE KEYS */;
INSERT INTO `catalog_file` VALUES (1,'10.jpg','',1,10,'','files/10.jpg',32);
/*!40000 ALTER TABLE `catalog_file` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_filterstep`
--
DROP TABLE IF EXISTS `catalog_filterstep`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_filterstep` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`start` double NOT NULL,
`property_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `catalog_filterstep_6bb837ff` (`property_id`),
CONSTRAINT `catalog_filt_property_id_341e43624f3e845b_fk_catalog_property_id` FOREIGN KEY (`property_id`) REFERENCES `catalog_property` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_filterstep`
--
LOCK TABLES `catalog_filterstep` WRITE;
/*!40000 ALTER TABLE `catalog_filterstep` DISABLE KEYS */;
/*!40000 ALTER TABLE `catalog_filterstep` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_groupspropertiesrelation`
--
DROP TABLE IF EXISTS `catalog_groupspropertiesrelation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_groupspropertiesrelation` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`position` int(11) NOT NULL,
`group_id` int(11) NOT NULL,
`property_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `catalog_groupspropertiesrelation_group_id_5b569e55b8429236_uniq` (`group_id`,`property_id`),
KEY `catalog_groupspropertiesrelation_0e939a4f` (`group_id`),
KEY `catalog_groupspropertiesrelation_6bb837ff` (`property_id`),
CONSTRAINT `catalog_grou_property_id_674fc49abd26927a_fk_catalog_property_id` FOREIGN KEY (`property_id`) REFERENCES `catalog_property` (`id`),
CONSTRAINT `catalog_gr_group_id_6a38edb644b316d5_fk_catalog_propertygroup_id` FOREIGN KEY (`group_id`) REFERENCES `catalog_propertygroup` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_groupspropertiesrelation`
--
LOCK TABLES `catalog_groupspropertiesrelation` WRITE;
/*!40000 ALTER TABLE `catalog_groupspropertiesrelation` DISABLE KEYS */;
INSERT INTO `catalog_groupspropertiesrelation` VALUES (1,10,1,1);
/*!40000 ALTER TABLE `catalog_groupspropertiesrelation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_image`
--
DROP TABLE IF EXISTS `catalog_image`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_image` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`content_id` int(10) unsigned DEFAULT NULL,
`title` varchar(100) NOT NULL,
`image` varchar(100) DEFAULT NULL,
`position` smallint(5) unsigned NOT NULL,
`content_type_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `catal_content_type_id_643e9926b9c4eea6_fk_django_content_type_id` (`content_type_id`),
CONSTRAINT `catal_content_type_id_643e9926b9c4eea6_fk_django_content_type_id` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_image`
--
LOCK TABLES `catalog_image` WRITE;
/*!40000 ALTER TABLE `catalog_image` DISABLE KEYS */;
INSERT INTO `catalog_image` VALUES (1,1,'3.jpg','images/3.jpg',10,21),(2,1,'2.jpg','images/2.jpg',20,21),(3,1,'7.jpg','images/7.jpg',30,21);
/*!40000 ALTER TABLE `catalog_image` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_product`
--
DROP TABLE IF EXISTS `catalog_product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_product` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(80) NOT NULL,
`slug` varchar(120) NOT NULL,
`sku` varchar(30) NOT NULL,
`price` double NOT NULL,
`price_calculator` varchar(255) DEFAULT NULL,
`effective_price` double NOT NULL,
`price_unit` varchar(20) NOT NULL,
`unit` varchar(20) NOT NULL,
`short_description` longtext NOT NULL,
`description` longtext NOT NULL,
`meta_title` varchar(80) NOT NULL,
`meta_keywords` longtext NOT NULL,
`meta_description` longtext NOT NULL,
`for_sale` tinyint(1) NOT NULL,
`for_sale_price` double NOT NULL,
`active` tinyint(1) NOT NULL,
`creation_date` datetime NOT NULL,
`deliverable` tinyint(1) NOT NULL,
`manual_delivery_time` tinyint(1) NOT NULL,
`ordered_at` date DEFAULT NULL,
`manage_stock_amount` tinyint(1) NOT NULL,
`stock_amount` double NOT NULL,
`active_packing_unit` smallint(5) unsigned NOT NULL,
`packing_unit` double DEFAULT NULL,
`packing_unit_unit` varchar(30) NOT NULL,
`weight` double NOT NULL,
`height` double NOT NULL,
`length` double NOT NULL,
`width` double NOT NULL,
`sub_type` varchar(10) NOT NULL,
`category_variant` smallint(6) DEFAULT NULL,
`variants_display_type` int(11) NOT NULL,
`variant_position` int(11) NOT NULL,
`active_name` tinyint(1) NOT NULL,
`active_sku` tinyint(1) NOT NULL,
`active_short_description` tinyint(1) NOT NULL,
`active_static_block` tinyint(1) NOT NULL,
`active_description` tinyint(1) NOT NULL,
`active_price` tinyint(1) NOT NULL,
`active_for_sale` smallint(5) unsigned NOT NULL,
`active_for_sale_price` tinyint(1) NOT NULL,
`active_images` tinyint(1) NOT NULL,
`active_related_products` tinyint(1) NOT NULL,
`active_accessories` tinyint(1) NOT NULL,
`active_meta_title` tinyint(1) NOT NULL,
`active_meta_description` tinyint(1) NOT NULL,
`active_meta_keywords` tinyint(1) NOT NULL,
`active_dimensions` tinyint(1) NOT NULL,
`template` smallint(5) unsigned DEFAULT NULL,
`active_price_calculation` tinyint(1) NOT NULL,
`price_calculation` varchar(100) NOT NULL,
`active_base_price` smallint(5) unsigned NOT NULL,
`base_price_unit` varchar(30) NOT NULL,
`base_price_amount` double DEFAULT NULL,
`sku_manufacturer` varchar(100) NOT NULL,
`type_of_quantity_field` smallint(5) unsigned DEFAULT NULL,
`uid` varchar(50) NOT NULL,
`default_variant_id` int(11) DEFAULT NULL,
`delivery_time_id` int(11) DEFAULT NULL,
`manufacturer_id` int(11) DEFAULT NULL,
`order_time_id` int(11) DEFAULT NULL,
`parent_id` int(11) DEFAULT NULL,
`static_block_id` int(11) DEFAULT NULL,
`supplier_id` int(11) DEFAULT NULL,
`tax_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `slug` (`slug`),
UNIQUE KEY `uid` (`uid`),
KEY `catalog_product_d21968a8` (`default_variant_id`),
KEY `catalog_product_f0bc8d5b` (`delivery_time_id`),
KEY `catalog_product_4d136c4a` (`manufacturer_id`),
KEY `catalog_product_25d6926f` (`order_time_id`),
KEY `catalog_product_6be37982` (`parent_id`),
KEY `catalog_product_0b071eca` (`static_block_id`),
KEY `catalog_product_c5bcd634` (`supplier_id`),
KEY `catalog_product_59fc14e7` (`tax_id`),
CONSTRAINT `catalog_product_tax_id_271863b69c9dee0_fk_tax_tax_id` FOREIGN KEY (`tax_id`) REFERENCES `tax_tax` (`id`),
CONSTRAINT `a4b3cd06da105d0982d8c81ed233d722` FOREIGN KEY (`manufacturer_id`) REFERENCES `manufacturer_manufacturer` (`id`),
CONSTRAINT `catalog_product_parent_id_76205fd2cdd0f27a_fk_catalog_product_id` FOREIGN KEY (`parent_id`) REFERENCES `catalog_product` (`id`),
CONSTRAINT `catalog_pro_supplier_id_7713dd4e3453411c_fk_supplier_supplier_id` FOREIGN KEY (`supplier_id`) REFERENCES `supplier_supplier` (`id`),
CONSTRAINT `catalo_default_variant_id_18e2091e40b7045e_fk_catalog_product_id` FOREIGN KEY (`default_variant_id`) REFERENCES `catalog_product` (`id`),
CONSTRAINT `catalo_order_time_id_4dd9b8407854a42a_fk_catalog_deliverytime_id` FOREIGN KEY (`order_time_id`) REFERENCES `catalog_deliverytime` (`id`),
CONSTRAINT `catal_static_block_id_3d1375f9cfb2ab04_fk_catalog_staticblock_id` FOREIGN KEY (`static_block_id`) REFERENCES `catalog_staticblock` (`id`),
CONSTRAINT `cat_delivery_time_id_71bc698c13e0d783_fk_catalog_deliverytime_id` FOREIGN KEY (`delivery_time_id`) REFERENCES `catalog_deliverytime` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_product`
--
LOCK TABLES `catalog_product` WRITE;
/*!40000 ALTER TABLE `catalog_product` DISABLE KEYS */;
INSERT INTO `catalog_product` VALUES (1,'testProduct1','testproduct1','testproduct1',10,'lfs.gross_price.GrossPriceCalculator',9,'m','qm','<p>short description for testProduct1</p>','<p>description for testProduct1</p>','<name>','','',1,9,1,'2016-05-09 00:28:22',1,1,NULL,1,10,1,1,'m',1,2,4,3,'0',NULL,0,999,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,'',0,'',0,'f4035c18-e5a1-4753-8947-ed00b741c97a',NULL,1,1,NULL,NULL,NULL,NULL,1),(2,'testProduct2','testproduct2','testproduct2',20,'lfs.net_price.NetPriceCalculator',20,'m','','<p>short description for testproduct2</p>','<p>description for testproduct2</p>','<name>','','',0,0,1,'2016-05-09 00:30:12',1,0,NULL,0,0,0,NULL,'',0,0,0,0,'0',NULL,0,999,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,'',0,'',NULL,'2c4c91cd-4680-4fab-900e-b2e2d1af383a',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1);
/*!40000 ALTER TABLE `catalog_product` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_product_related_products`
--
DROP TABLE IF EXISTS `catalog_product_related_products`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_product_related_products` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`from_product_id` int(11) NOT NULL,
`to_product_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `from_product_id` (`from_product_id`,`to_product_id`),
KEY `catalog_pro_to_product_id_4ad298847cf2585d_fk_catalog_product_id` (`to_product_id`),
CONSTRAINT `catalog_pro_to_product_id_4ad298847cf2585d_fk_catalog_product_id` FOREIGN KEY (`to_product_id`) REFERENCES `catalog_product` (`id`),
CONSTRAINT `catalog_p_from_product_id_5ed5f09d314fa4d6_fk_catalog_product_id` FOREIGN KEY (`from_product_id`) REFERENCES `catalog_product` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_product_related_products`
--
LOCK TABLES `catalog_product_related_products` WRITE;
/*!40000 ALTER TABLE `catalog_product_related_products` DISABLE KEYS */;
/*!40000 ALTER TABLE `catalog_product_related_products` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_productaccessories`
--
DROP TABLE IF EXISTS `catalog_productaccessories`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_productaccessories` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`position` int(11) NOT NULL,
`quantity` double NOT NULL,
`accessory_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `catalog_produ_accessory_id_da0b8080ae0349e_fk_catalog_product_id` (`accessory_id`),
KEY `catalog_produc_product_id_1d03fc9561bfefcd_fk_catalog_product_id` (`product_id`),
CONSTRAINT `catalog_produc_product_id_1d03fc9561bfefcd_fk_catalog_product_id` FOREIGN KEY (`product_id`) REFERENCES `catalog_product` (`id`),
CONSTRAINT `catalog_produ_accessory_id_da0b8080ae0349e_fk_catalog_product_id` FOREIGN KEY (`accessory_id`) REFERENCES `catalog_product` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_productaccessories`
--
LOCK TABLES `catalog_productaccessories` WRITE;
/*!40000 ALTER TABLE `catalog_productaccessories` DISABLE KEYS */;
/*!40000 ALTER TABLE `catalog_productaccessories` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_productattachment`
--
DROP TABLE IF EXISTS `catalog_productattachment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_productattachment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(50) NOT NULL,
`description` longtext NOT NULL,
`file` varchar(500) NOT NULL,
`position` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `catalog_produc_product_id_14f3fd794fc0cbbd_fk_catalog_product_id` (`product_id`),
CONSTRAINT `catalog_produc_product_id_14f3fd794fc0cbbd_fk_catalog_product_id` FOREIGN KEY (`product_id`) REFERENCES `catalog_product` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_productattachment`
--
LOCK TABLES `catalog_productattachment` WRITE;
/*!40000 ALTER TABLE `catalog_productattachment` DISABLE KEYS */;
INSERT INTO `catalog_productattachment` VALUES (1,'9.jpg','','files/9.jpg',10,1);
/*!40000 ALTER TABLE `catalog_productattachment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_productpropertyvalue`
--
DROP TABLE IF EXISTS `catalog_productpropertyvalue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_productpropertyvalue` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`parent_id` int(11) DEFAULT NULL,
`value` varchar(100) NOT NULL,
`value_as_float` double DEFAULT NULL,
`type` smallint(5) unsigned NOT NULL,
`product_id` int(11) NOT NULL,
`property_id` int(11) NOT NULL,
`property_group_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `catalog_productpropertyvalue_product_id_6446f787a7e481eb_uniq` (`product_id`,`property_id`,`property_group_id`,`value`,`type`),
KEY `catalog_productpropertyvalue_6bb837ff` (`property_id`),
KEY `catalog_productpropertyvalue_b72eb5e9` (`property_group_id`),
CONSTRAINT `c_property_group_id_357cc3679d234722_fk_catalog_propertygroup_id` FOREIGN KEY (`property_group_id`) REFERENCES `catalog_propertygroup` (`id`),
CONSTRAINT `catalog_produc_product_id_4303dbf8ae64b059_fk_catalog_product_id` FOREIGN KEY (`product_id`) REFERENCES `catalog_product` (`id`),
CONSTRAINT `catalog_prod_property_id_1b203e350d414274_fk_catalog_property_id` FOREIGN KEY (`property_id`) REFERENCES `catalog_property` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_productpropertyvalue`
--
LOCK TABLES `catalog_productpropertyvalue` WRITE;
/*!40000 ALTER TABLE `catalog_productpropertyvalue` DISABLE KEYS */;
/*!40000 ALTER TABLE `catalog_productpropertyvalue` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_productspropertiesrelation`
--
DROP TABLE IF EXISTS `catalog_productspropertiesrelation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_productspropertiesrelation` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`position` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`property_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `catalog_productspropertiesrelat_product_id_108acc8754a8467e_uniq` (`product_id`,`property_id`),
KEY `catalog_productspropertiesrelation_6bb837ff` (`property_id`),
CONSTRAINT `catalog_prod_property_id_6ada2ad7d6434678_fk_catalog_property_id` FOREIGN KEY (`property_id`) REFERENCES `catalog_property` (`id`),
CONSTRAINT `catalog_produc_product_id_4a3a84c1bea9da93_fk_catalog_product_id` FOREIGN KEY (`product_id`) REFERENCES `catalog_product` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_productspropertiesrelation`
--
LOCK TABLES `catalog_productspropertiesrelation` WRITE;
/*!40000 ALTER TABLE `catalog_productspropertiesrelation` DISABLE KEYS */;
/*!40000 ALTER TABLE `catalog_productspropertiesrelation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_property`
--
DROP TABLE IF EXISTS `catalog_property`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_property` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`title` varchar(100) NOT NULL,
`position` int(11) DEFAULT NULL,
`unit` varchar(15) NOT NULL,
`display_on_product` tinyint(1) NOT NULL,
`local` tinyint(1) NOT NULL,
`variants` tinyint(1) NOT NULL,
`filterable` tinyint(1) NOT NULL,
`configurable` tinyint(1) NOT NULL,
`type` smallint(5) unsigned NOT NULL,
`price` double DEFAULT NULL,
`display_price` tinyint(1) NOT NULL,
`add_price` tinyint(1) NOT NULL,
`unit_min` double DEFAULT NULL,
`unit_max` double DEFAULT NULL,
`unit_step` double DEFAULT NULL,
`decimal_places` smallint(5) unsigned NOT NULL,
`required` tinyint(1) NOT NULL,
`step_type` smallint(5) unsigned NOT NULL,
`step` int(11) DEFAULT NULL,
`uid` varchar(50) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uid` (`uid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_property`
--
LOCK TABLES `catalog_property` WRITE;
/*!40000 ALTER TABLE `catalog_property` DISABLE KEYS */;
INSERT INTO `catalog_property` VALUES (1,'testProperty','testProperty',10,'testUnit',1,0,1,1,1,2,NULL,1,1,NULL,NULL,NULL,0,1,1,NULL,'9cf7a7af-1cda-4d12-8bf8-6e042e986e17');
/*!40000 ALTER TABLE `catalog_property` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_propertygroup`
--
DROP TABLE IF EXISTS `catalog_propertygroup`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_propertygroup` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`position` int(11) NOT NULL,
`uid` varchar(50) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uid` (`uid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_propertygroup`
--
LOCK TABLES `catalog_propertygroup` WRITE;
/*!40000 ALTER TABLE `catalog_propertygroup` DISABLE KEYS */;
INSERT INTO `catalog_propertygroup` VALUES (1,'testPropertyGroup',1000,'652fb9d4-954c-4173-801c-b470e8c81c6d');
/*!40000 ALTER TABLE `catalog_propertygroup` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_propertygroup_products`
--
DROP TABLE IF EXISTS `catalog_propertygroup_products`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_propertygroup_products` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`propertygroup_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `propertygroup_id` (`propertygroup_id`,`product_id`),
KEY `catalog_proper_product_id_435fa7b244e4e477_fk_catalog_product_id` (`product_id`),
CONSTRAINT `catalog_proper_product_id_435fa7b244e4e477_fk_catalog_product_id` FOREIGN KEY (`product_id`) REFERENCES `catalog_product` (`id`),
CONSTRAINT `ca_propertygroup_id_7de0c9831b6d25e6_fk_catalog_propertygroup_id` FOREIGN KEY (`propertygroup_id`) REFERENCES `catalog_propertygroup` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_propertygroup_products`
--
LOCK TABLES `catalog_propertygroup_products` WRITE;
/*!40000 ALTER TABLE `catalog_propertygroup_products` DISABLE KEYS */;
INSERT INTO `catalog_propertygroup_products` VALUES (1,1,2);
/*!40000 ALTER TABLE `catalog_propertygroup_products` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_propertyoption`
--
DROP TABLE IF EXISTS `catalog_propertyoption`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_propertyoption` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`price` double DEFAULT NULL,
`position` int(11) NOT NULL,
`uid` varchar(50) NOT NULL,
`property_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uid` (`uid`),
KEY `catalog_prop_property_id_282ea4dce6b1a6d7_fk_catalog_property_id` (`property_id`),
CONSTRAINT `catalog_prop_property_id_282ea4dce6b1a6d7_fk_catalog_property_id` FOREIGN KEY (`property_id`) REFERENCES `catalog_property` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `catalog_propertyoption`
--
LOCK TABLES `catalog_propertyoption` WRITE;
/*!40000 ALTER TABLE `catalog_propertyoption` DISABLE KEYS */;
/*!40000 ALTER TABLE `catalog_propertyoption` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `catalog_staticblock`
--
DROP TABLE IF EXISTS `catalog_staticblock`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `catalog_staticblock` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`display_files` tinyint(1) NOT NULL,
`html` longtext NOT NULL,
`position` smallint(6) 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 `catalog_staticblock`
--
LOCK TABLES `catalog_staticblock` WRITE;
/*!40000 ALTER TABLE `catalog_staticblock` DISABLE KEYS */;
INSERT INTO `catalog_staticblock` VALUES (1,'test static block',1,'<p>test static block</p>',1000);
/*!40000 ALTER TABLE `catalog_staticblock` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `core_action`
--
DROP TABLE IF EXISTS `core_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `core_action` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`active` tinyint(1) NOT NULL,
`title` varchar(40) NOT NULL,
`link` varchar(100) NOT NULL,
`position` int(11) NOT NULL,
`group_id` int(11) NOT NULL,
`parent_id` int(11) DEFAULT NULL,