-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathjvoid_database_schema.sql
More file actions
1098 lines (971 loc) · 43.5 KB
/
jvoid_database_schema.sql
File metadata and controls
1098 lines (971 loc) · 43.5 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
-- phpMyAdmin SQL Dump
-- version 4.2.11
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Feb 04, 2015 at 12:53 PM
-- Server version: 5.6.21
-- PHP Version: 5.6.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
--
-- Database: `jvoid`
--
-- --------------------------------------------------------
--
-- Table structure for table `attribute`
--
DROP TABLE IF EXISTS `attribute`;
CREATE TABLE IF NOT EXISTS `attribute` (
`id` int(11) NOT NULL,
`attribute_group_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `attribute`
--
INSERT INTO `attribute` (`id`, `attribute_group_id`, `name`) VALUES
(1, 1, 'Size');
-- --------------------------------------------------------
--
-- Table structure for table `attribute_group`
--
DROP TABLE IF EXISTS `attribute_group`;
CREATE TABLE IF NOT EXISTS `attribute_group` (
`id` int(11) NOT NULL,
`attribute_set_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `attribute_group`
--
INSERT INTO `attribute_group` (`id`, `attribute_set_id`, `name`) VALUES
(1, 1, 'MyGroup123');
-- --------------------------------------------------------
--
-- Table structure for table `attribute_set`
--
DROP TABLE IF EXISTS `attribute_set`;
CREATE TABLE IF NOT EXISTS `attribute_set` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `attribute_values`
--
DROP TABLE IF EXISTS `attribute_values`;
CREATE TABLE IF NOT EXISTS `attribute_values` (
`id` int(11) NOT NULL,
`attribute_id` int(11) NOT NULL,
`value` varchar(255) NOT NULL,
`language` varchar(10) NOT NULL,
`position` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `attribute_values`
--
INSERT INTO `attribute_values` (`id`, `attribute_id`, `value`, `language`, `position`) VALUES
(2, 1, '7test', 'enUS', 2),
(3, 1, '8test', 'enUS', 3);
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
DROP TABLE IF EXISTS `categories`;
CREATE TABLE IF NOT EXISTS `categories` (
`id` int(11) NOT NULL,
`parent_id` int(11) NOT NULL,
`created_on` datetime NOT NULL,
`updated_on` datetime NOT NULL,
`level` int(11) NOT NULL,
`position` int(11) NOT NULL,
`children_count` int(11) NOT NULL,
`path` varchar(255) DEFAULT NULL
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`id`, `parent_id`, `created_on`, `updated_on`, `level`, `position`, `children_count`, `path`) VALUES
(1, 0, '2015-01-06 00:00:00', '2015-01-22 12:09:00', 1, 1, 2, '1/'),
(2, 1, '2015-01-14 00:00:00', '2015-01-13 00:00:00', 2, 1, 1, '1/2/'),
(3, 1, '2015-01-22 12:24:02', '2015-01-22 03:27:21', 2, 2, 0, '1/3/'),
(4, 0, '2015-01-23 12:26:16', '2015-01-23 12:26:16', 1, 1, 1, '4/'),
(5, 4, '2015-02-01 00:00:00', '2015-02-02 00:00:00', 2, 1, 0, '4/5');
-- --------------------------------------------------------
--
-- Table structure for table `category_entity_values`
--
DROP TABLE IF EXISTS `category_entity_values`;
CREATE TABLE IF NOT EXISTS `category_entity_values` (
`id` int(11) NOT NULL,
`category_id` int(11) NOT NULL,
`attribute_id` int(11) NOT NULL,
`language` varchar(10) NOT NULL,
`value` text NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `category_entity_values`
--
INSERT INTO `category_entity_values` (`id`, `category_id`, `attribute_id`, `language`, `value`) VALUES
(1, 1, 39, 'enUS', 'Books'),
(2, 2, 39, 'enUS', 'Fiction'),
(3, 3, 39, 'enUS', 'Non-fiction'),
(4, 4, 39, 'enUS', 'Electronics'),
(5, 5, 39, 'enUS', 'Mobile');
-- --------------------------------------------------------
--
-- Table structure for table `category_products`
--
DROP TABLE IF EXISTS `category_products`;
CREATE TABLE IF NOT EXISTS `category_products` (
`id` int(11) NOT NULL,
`category_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `category_products`
--
INSERT INTO `category_products` (`id`, `category_id`, `product_id`) VALUES
(1, 2, 1),
(2, 2, 2),
(3, 2, 3),
(4, 2, 4),
(5, 3, 5),
(6, 4, 6),
(7, 5, 7),
(8, 5, 8);
-- --------------------------------------------------------
--
-- Table structure for table `checkout_order`
--
DROP TABLE IF EXISTS `checkout_order`;
CREATE TABLE IF NOT EXISTS `checkout_order` (
`id` int(10) unsigned NOT NULL COMMENT 'Id',
`store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Created At',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Updated At',
`is_active` smallint(5) unsigned DEFAULT '1' COMMENT 'Is Active',
`is_virtual` smallint(5) unsigned DEFAULT '0' COMMENT 'Is Virtual',
`is_multi_shipping` smallint(5) unsigned DEFAULT '0' COMMENT 'Is Multi Shipping',
`status` varchar(255) DEFAULT NULL COMMENT 'Order Status',
`items_count` int(10) unsigned DEFAULT '0' COMMENT 'Items Count',
`items_quantity` decimal(12,4) DEFAULT '0.0000' COMMENT 'Items Quantity',
`grand_total` decimal(12,4) DEFAULT '0.0000' COMMENT 'Grand Total',
`base_grand_total` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Grand Total',
`checkout_method` varchar(255) DEFAULT NULL COMMENT 'Checkout Method',
`checkout_comment` varchar(255) DEFAULT NULL,
`customer_id` int(10) unsigned DEFAULT '0' COMMENT 'Customer Id',
`customer_group_id` int(10) unsigned DEFAULT '0' COMMENT 'Customer Group Id',
`customer_email` varchar(255) DEFAULT NULL COMMENT 'Customer Email',
`customer_prefix` varchar(40) DEFAULT NULL COMMENT 'Customer Prefix',
`customer_firstname` varchar(255) DEFAULT NULL COMMENT 'Customer Firstname',
`customer_middlename` varchar(40) DEFAULT NULL COMMENT 'Customer Middlename',
`customer_lastname` varchar(255) DEFAULT NULL COMMENT 'Customer Lastname',
`customer_suffix` varchar(40) DEFAULT NULL COMMENT 'Customer Suffix',
`customer_dob` datetime DEFAULT NULL COMMENT 'Customer Dob',
`customer_is_guest` smallint(5) unsigned DEFAULT '0' COMMENT 'Customer Is Guest',
`remote_ip` varchar(32) DEFAULT NULL COMMENT 'Remote Ip',
`customer_gender` varchar(255) DEFAULT NULL COMMENT 'Customer Gender',
`subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal',
`base_subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal',
`is_changed` int(10) unsigned DEFAULT NULL COMMENT 'Is Changed'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Checkout Order';
-- --------------------------------------------------------
--
-- Table structure for table `checkout_order_address`
--
DROP TABLE IF EXISTS `checkout_order_address`;
CREATE TABLE IF NOT EXISTS `checkout_order_address` (
`id` int(10) unsigned NOT NULL COMMENT 'Checkout Order Address Id',
`order_id` int(10) unsigned DEFAULT NULL COMMENT 'Order Id',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Created At',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Updated At',
`customer_address_id` int(11) DEFAULT NULL COMMENT 'Customer Address Id',
`quote_address_id` int(11) DEFAULT NULL COMMENT 'Quote Address Id',
`region_id` int(11) DEFAULT NULL COMMENT 'Region Id',
`customer_id` int(11) DEFAULT NULL COMMENT 'Customer Id',
`fax` varchar(255) DEFAULT NULL COMMENT 'Fax',
`region` varchar(255) DEFAULT NULL COMMENT 'Region',
`postcode` varchar(255) DEFAULT NULL COMMENT 'Postcode',
`lastname` varchar(255) DEFAULT NULL COMMENT 'Lastname',
`street` varchar(255) DEFAULT NULL COMMENT 'Street',
`city` varchar(255) DEFAULT NULL COMMENT 'City',
`email` varchar(255) DEFAULT NULL COMMENT 'Email',
`telephone` varchar(255) DEFAULT NULL COMMENT 'Telephone',
`country_id` varchar(255) DEFAULT NULL COMMENT 'Country Id',
`firstname` varchar(255) DEFAULT NULL COMMENT 'Firstname',
`address_type` varchar(255) DEFAULT NULL COMMENT 'Address Type',
`prefix` varchar(255) DEFAULT NULL COMMENT 'Prefix',
`middlename` varchar(255) DEFAULT NULL COMMENT 'Middlename',
`suffix` varchar(255) DEFAULT NULL COMMENT 'Suffix',
`company` varchar(255) DEFAULT NULL COMMENT 'Company'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Checkout Order Address';
-- --------------------------------------------------------
--
-- Table structure for table `checkout_order_item`
--
DROP TABLE IF EXISTS `checkout_order_item`;
CREATE TABLE IF NOT EXISTS `checkout_order_item` (
`id` int(10) unsigned NOT NULL COMMENT 'Order Item Id',
`order_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Order Id',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Created At',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Updated At',
`product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product Id',
`attribute_id` int(10) unsigned DEFAULT NULL COMMENT 'Attribute Id',
`store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store Id',
`parent_id` int(10) unsigned DEFAULT NULL COMMENT 'Parent Item Id',
`is_virtual` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Virtual',
`sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
`name` varchar(255) DEFAULT NULL COMMENT 'Name',
`description` longtext COMMENT 'Description',
`free_shipping` smallint(5) unsigned DEFAULT '0' COMMENT 'Free Shipping',
`weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Weight',
`quantity` decimal(12,4) DEFAULT '0.0000' COMMENT 'Quantity',
`price` decimal(12,4) DEFAULT '0.0000' COMMENT 'Price',
`base_price` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Price',
`row_total` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Total',
`base_row_total` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Row Total',
`row_weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Weight',
`product_type` varchar(255) DEFAULT NULL COMMENT 'Product Type'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Checkout Order Item';
-- --------------------------------------------------------
--
-- Table structure for table `checkout_payment_methods`
--
DROP TABLE IF EXISTS `checkout_payment_methods`;
CREATE TABLE IF NOT EXISTS `checkout_payment_methods` (
`id` int(10) unsigned NOT NULL COMMENT 'Payment Method Id',
`payment_method` varchar(255) DEFAULT NULL COMMENT 'Payment Method',
`description` varchar(255) DEFAULT NULL COMMENT 'Payment Method Description'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Checkout Payment Methods';
-- --------------------------------------------------------
--
-- Table structure for table `checkout_quote`
--
DROP TABLE IF EXISTS `checkout_quote`;
CREATE TABLE IF NOT EXISTS `checkout_quote` (
`id` int(10) unsigned NOT NULL COMMENT 'Id',
`store_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Store Id',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Created At',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Updated At',
`is_active` smallint(5) unsigned DEFAULT '1' COMMENT 'Is Active',
`is_virtual` smallint(5) unsigned DEFAULT '0' COMMENT 'Is Virtual',
`is_multi_shipping` smallint(5) unsigned DEFAULT '0' COMMENT 'Is Multi Shipping',
`items_count` int(10) unsigned DEFAULT '0' COMMENT 'Items Count',
`items_quantity` decimal(12,4) DEFAULT '0.0000' COMMENT 'Items Quantity',
`grand_total` decimal(12,4) DEFAULT '0.0000' COMMENT 'Grand Total',
`base_grand_total` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Grand Total',
`checkout_method` varchar(255) DEFAULT NULL COMMENT 'Checkout Method',
`customer_id` int(10) unsigned DEFAULT '0' COMMENT 'Customer Id',
`customer_group_id` int(10) unsigned DEFAULT '0' COMMENT 'Customer Group Id',
`customer_email` varchar(255) DEFAULT NULL COMMENT 'Customer Email',
`customer_prefix` varchar(40) DEFAULT NULL COMMENT 'Customer Prefix',
`customer_firstname` varchar(255) DEFAULT NULL COMMENT 'Customer Firstname',
`customer_middlename` varchar(40) DEFAULT NULL COMMENT 'Customer Middlename',
`customer_lastname` varchar(255) DEFAULT NULL COMMENT 'Customer Lastname',
`customer_suffix` varchar(40) DEFAULT NULL COMMENT 'Customer Suffix',
`customer_dob` datetime DEFAULT NULL COMMENT 'Customer Dob',
`customer_is_guest` smallint(5) unsigned DEFAULT '0' COMMENT 'Customer Is Guest',
`remote_ip` varchar(32) DEFAULT NULL COMMENT 'Remote Ip',
`customer_gender` varchar(255) DEFAULT NULL COMMENT 'Customer Gender',
`subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Subtotal',
`base_subtotal` decimal(12,4) DEFAULT NULL COMMENT 'Base Subtotal',
`is_changed` int(10) unsigned DEFAULT NULL COMMENT 'Is Changed'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Checkout Quote';
-- --------------------------------------------------------
--
-- Table structure for table `checkout_quote_address`
--
DROP TABLE IF EXISTS `checkout_quote_address`;
CREATE TABLE IF NOT EXISTS `checkout_quote_address` (
`id` int(10) unsigned NOT NULL COMMENT 'Checkout Quote Address Id',
`quote_id` int(10) unsigned DEFAULT NULL COMMENT 'Quote Id',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Created At',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Updated At',
`customer_address_id` int(11) DEFAULT NULL COMMENT 'Customer Address Id',
`region_id` int(11) DEFAULT NULL COMMENT 'Region Id',
`customer_id` int(11) DEFAULT NULL COMMENT 'Customer Id',
`fax` varchar(255) DEFAULT NULL COMMENT 'Fax',
`region` varchar(255) DEFAULT NULL COMMENT 'Region',
`postcode` varchar(255) DEFAULT NULL COMMENT 'Postcode',
`lastname` varchar(255) DEFAULT NULL COMMENT 'Lastname',
`street` varchar(255) DEFAULT NULL COMMENT 'Street',
`city` varchar(255) DEFAULT NULL COMMENT 'City',
`email` varchar(255) DEFAULT NULL COMMENT 'Email',
`telephone` varchar(255) DEFAULT NULL COMMENT 'Telephone',
`country_id` varchar(255) DEFAULT NULL COMMENT 'Country Id',
`firstname` varchar(255) DEFAULT NULL COMMENT 'Firstname',
`address_type` varchar(255) DEFAULT NULL COMMENT 'Address Type',
`prefix` varchar(255) DEFAULT NULL COMMENT 'Prefix',
`middlename` varchar(255) DEFAULT NULL COMMENT 'Middlename',
`suffix` varchar(255) DEFAULT NULL COMMENT 'Suffix',
`company` varchar(255) DEFAULT NULL COMMENT 'Company'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Checkout Quote Address';
-- --------------------------------------------------------
--
-- Table structure for table `checkout_quote_item`
--
DROP TABLE IF EXISTS `checkout_quote_item`;
CREATE TABLE IF NOT EXISTS `checkout_quote_item` (
`id` int(10) unsigned NOT NULL COMMENT 'Item Id',
`quote_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quote Id',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Created At',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Updated At',
`product_id` int(10) unsigned DEFAULT NULL COMMENT 'Product Id',
`attribute_id` int(10) unsigned DEFAULT NULL COMMENT 'Attribute Id',
`store_id` smallint(5) unsigned DEFAULT NULL COMMENT 'Store Id',
`parent_id` int(10) unsigned DEFAULT NULL COMMENT 'Parent Item Id',
`is_virtual` smallint(5) unsigned DEFAULT NULL COMMENT 'Is Virtual',
`sku` varchar(255) DEFAULT NULL COMMENT 'Sku',
`name` varchar(255) DEFAULT NULL COMMENT 'Name',
`description` longtext COMMENT 'Description',
`free_shipping` smallint(5) unsigned DEFAULT '0' COMMENT 'Free Shipping',
`weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Weight',
`quantity` decimal(12,4) DEFAULT '0.0000' COMMENT 'Quantity',
`price` decimal(12,4) DEFAULT '0.0000' COMMENT 'Price',
`base_price` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Price',
`row_total` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Total',
`base_row_total` decimal(12,4) DEFAULT '0.0000' COMMENT 'Base Row Total',
`row_weight` decimal(12,4) DEFAULT '0.0000' COMMENT 'Row Weight',
`product_type` varchar(255) DEFAULT NULL COMMENT 'Product Type'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Checkout Quote Item';
-- --------------------------------------------------------
--
-- Table structure for table `customer`
--
DROP TABLE IF EXISTS `customer`;
CREATE TABLE IF NOT EXISTS `customer` (
`id` int(11) NOT NULL,
`customer_group_id` int(11) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
`updated_at` datetime DEFAULT NULL,
`is_acive` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `customer_address`
--
DROP TABLE IF EXISTS `customer_address`;
CREATE TABLE IF NOT EXISTS `customer_address` (
`id` int(11) NOT NULL,
`customer_id` int(11) NOT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `customer_address_attribute_values`
--
DROP TABLE IF EXISTS `customer_address_attribute_values`;
CREATE TABLE IF NOT EXISTS `customer_address_attribute_values` (
`id` int(11) NOT NULL,
`customer_id` int(11) NOT NULL,
`attribute_id` int(11) NOT NULL,
`language` varchar(10) NOT NULL,
`value` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `customer_entity_values`
--
DROP TABLE IF EXISTS `customer_entity_values`;
CREATE TABLE IF NOT EXISTS `customer_entity_values` (
`id` int(11) NOT NULL,
`customer_id` int(11) NOT NULL,
`attribute_id` int(11) NOT NULL,
`language` varchar(100) NOT NULL,
`value` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `customer_group`
--
DROP TABLE IF EXISTS `customer_group`;
CREATE TABLE IF NOT EXISTS `customer_group` (
`id` int(11) NOT NULL,
`code` varchar(255) NOT NULL,
`tax_class_id` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `customer_group`
--
INSERT INTO `customer_group` (`id`, `code`, `tax_class_id`) VALUES
(1, 'Wholesaler', 1),
(2, 'Retailer', 2),
(3, 'Buyer', 3);
-- --------------------------------------------------------
--
-- Table structure for table `customer_master`
--
DROP TABLE IF EXISTS `customer_master`;
CREATE TABLE IF NOT EXISTS `customer_master` (
`id` int(11) NOT NULL,
`customer_group` int(11) NOT NULL,
`prefix` varchar(50) NOT NULL,
`first_name` varchar(100) NOT NULL,
`middle_name` varchar(100) NOT NULL,
`last_name` varchar(100) NOT NULL,
`email` varchar(255) NOT NULL,
`date_of_birth` date NOT NULL,
`tax_number` varchar(100) NOT NULL,
`gender` varchar(50) NOT NULL,
`password` varchar(100) NOT NULL,
`company` varchar(100) NOT NULL,
`street_address1` varchar(100) NOT NULL,
`street_address2` varchar(100) NOT NULL,
`street_address3` varchar(100) NOT NULL,
`city` varchar(100) NOT NULL,
`country` varchar(100) NOT NULL,
`state` varchar(100) NOT NULL,
`postal_code` varchar(50) NOT NULL,
`phone` int(50) NOT NULL,
`fax` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `entities`
--
DROP TABLE IF EXISTS `entities`;
CREATE TABLE IF NOT EXISTS `entities` (
`id` int(11) NOT NULL,
`code` varchar(50) NOT NULL,
`type` varchar(50) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `entities`
--
INSERT INTO `entities` (`id`, `code`, `type`) VALUES
(1, 'name', 'Product'),
(2, 'description', 'Product'),
(3, 'shortDescription', 'Product'),
(4, 'sku', 'Product'),
(5, 'weight', 'Product'),
(6, 'fromDate', 'Product'),
(7, 'toDate', 'Product'),
(8, 'status', 'Product'),
(9, 'urlKey', 'Product'),
(10, 'visibility', 'Product'),
(11, 'country', 'Product'),
(12, 'price', 'Product'),
(13, 'image', 'Product'),
(14, 'qty', 'Product'),
(15, 'stock', 'Product'),
(16, 'type', 'Product'),
(17, 'hasMoreOption', 'Product'),
(18, 'requiredOption', 'Product'),
(19, 'customerGroup', 'Customer'),
(20, 'prefix', 'Customer'),
(21, 'firstName', 'Customer'),
(22, 'middleName', 'Customer'),
(23, 'lastName', 'Customer'),
(24, 'email', 'Customer'),
(25, 'dateOfBirth', 'Customer'),
(26, 'taxNumber', 'Customer'),
(27, 'gender', 'Customer'),
(28, 'password', 'Customer'),
(29, 'company', 'Customer'),
(30, 'streetAddress1', 'Customer'),
(31, 'streetAddress2', 'Customer'),
(32, 'streetAddress3', 'Customer'),
(33, 'city', 'Customer'),
(34, 'country', 'Customer'),
(35, 'state', 'Customer'),
(36, 'postalCode', 'Customer'),
(37, 'phone', 'Customer'),
(38, 'fax', 'Customer'),
(39, 'category_name', 'Category'),
(40, 'categoryId', 'Product');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
DROP TABLE IF EXISTS `products`;
CREATE TABLE IF NOT EXISTS `products` (
`id` int(11) NOT NULL,
`created_on` datetime DEFAULT NULL,
`updated_on` datetime DEFAULT CURRENT_TIMESTAMP,
`sku` varchar(100) DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`has_options` int(11) DEFAULT NULL,
`required_options` int(11) DEFAULT NULL
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`id`, `created_on`, `updated_on`, `sku`, `type`, `has_options`, `required_options`) VALUES
(1, '2015-02-04 03:56:00', '2015-02-04 03:56:00', 'Life_is_What_You_Make_it', 'Product', 1, 1),
(2, '2015-02-04 04:06:23', '2015-02-04 04:06:23', 'Train_to_Pakistan', 'Product', 1, 1),
(3, '2015-02-04 04:15:19', '2015-02-04 04:15:19', 'Mango_Chutney', 'Product', 1, 1),
(4, '2015-02-04 04:21:26', '2015-02-04 04:21:26', 'Faulks_on_Fiction', 'Product', 1, 1),
(5, '2015-02-04 04:39:41', '2015-02-04 04:39:41', 'Telling_True_Stories', 'Product', 1, 1),
(6, '2015-02-04 04:54:01', '2015-02-04 04:54:01', 'Strontium_8GB_MicroSDHC_Memory_Card_6', 'Product', 1, 1),
(7, '2015-02-04 05:04:01', '2015-02-04 05:04:01', 'Micromax_Canvas_Power_A96_Black', 'Product', 1, 1),
(8, '2015-02-04 05:16:30', '2015-02-04 05:16:30', 'Micromax_Canvas_Power_A96_Black', 'Product', 1, 1);
-- --------------------------------------------------------
--
-- Table structure for table `products_master`
--
DROP TABLE IF EXISTS `products_master`;
CREATE TABLE IF NOT EXISTS `products_master` (
`id` int(11) NOT NULL,
`Name` varchar(100) NOT NULL,
`Description` varchar(255) NOT NULL,
`Short_description` varchar(255) NOT NULL,
`SKU` varchar(255) NOT NULL,
`Weight` float(10,2) NOT NULL,
`From_date` datetime NOT NULL,
`To_date` datetime NOT NULL,
`Status` varchar(50) NOT NULL,
`URL_key` varchar(255) NOT NULL,
`Visibility` int(11) NOT NULL,
`Country` varchar(255) NOT NULL,
`Price` float(10,2) NOT NULL,
`Image` varchar(255) NOT NULL,
`Qty` int(11) NOT NULL,
`Stock` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `product_attribute_values`
--
DROP TABLE IF EXISTS `product_attribute_values`;
CREATE TABLE IF NOT EXISTS `product_attribute_values` (
`id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`attribute_value_id` int(11) NOT NULL,
`default_value` tinyint(1) NOT NULL,
`position` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `product_entity_values`
--
DROP TABLE IF EXISTS `product_entity_values`;
CREATE TABLE IF NOT EXISTS `product_entity_values` (
`id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`attribute_id` int(11) NOT NULL,
`language` varchar(10) NOT NULL,
`value` text NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=153 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `product_entity_values`
--
INSERT INTO `product_entity_values` (`id`, `product_id`, `attribute_id`, `language`, `value`) VALUES
(1, 1, 1, 'enUS', 'Life is What You Make it'),
(2, 1, 2, 'enUS', 'Ankita Sharma has the world in her palms. She is young, smart and heads turn at every corner she walks by. Born into a conservative middle class household - this defines the chronicle of her life. Set in a time when Doordarshan was the prime source of entertainment and writing love letters was the general fad, every youngster dreams of the thrills of college life. And so, her admission into an MBA institute in Mumbai follows. Ankita''s story begins here, from her life as a college student. Life seems all sunshine and flowers until a drastic turn leaves her staring at a disturbing path, only because of her own misdoing. Jump to six months later'),
(3, 1, 3, 'enUS', 'Ankita Sharma has the world in her palms. She is young, smart and heads turn at every corner she walks by. Born into a conservative middle class household - this defines the chronicle of her life. Set in a time when Doordarshan was the prime source of entertainment and writing love letters was the general fad, every youngster dreams of the thrills of college life. And so, her admission into an MBA institute in Mumbai follows. Ankita''s story begins here, from her life as a college student. Life seems all sunshine and flowers until a drastic turn leaves her staring at a disturbing path, only because of her own misdoing. Jump to six months later'),
(4, 1, 4, 'enUS', 'Life_is_What_You_Make_it'),
(5, 1, 5, 'enUS', '10.0'),
(6, 1, 6, 'enUS', '19/01/2011'),
(7, 1, 7, 'enUS', '19/01/2015'),
(8, 1, 8, 'enUS', '1'),
(9, 1, 9, 'enUS', 'life_is_what_you_make_it'),
(10, 1, 40, 'enUS', '2'),
(11, 1, 10, 'enUS', '1'),
(12, 1, 11, 'enUS', 'India'),
(13, 1, 12, 'enUS', '51.0'),
(14, 1, 13, 'enUS', 'p1.jpg'),
(15, 1, 14, 'enUS', '100'),
(16, 1, 15, 'enUS', '1'),
(17, 1, 17, 'enUS', '1'),
(18, 1, 16, 'enUS', 'Product'),
(19, 1, 18, 'enUS', '1'),
(20, 2, 1, 'enUS', 'Train to Pakistan'),
(21, 2, 2, 'enUS', 'Set in the summer of 1947, Khushwant Singh could never have been so straight from his heart than he was in this book, Train to Pakistan. A love story set in the village of Mano Majra, situated on the border between India and Pakistan, the novel has successfully portrayed the days of partition - the strife, the grievances, the loss, the struggles, the emotional turmoil. As the story progresses, it becomes very hard to accept the fact that both Muslims and Hindus were to blame. Starkly Khushwant Singh explains the blood shedding and sufferings of children and women, it brings a shiver to your body.'),
(22, 2, 3, 'enUS', 'Set in the summer of 1947, Khushwant Singh could never have been so straight from his heart than he was in this book, Train to Pakistan. A love story set in the village of Mano Majra, situated on the border between India and Pakistan, the novel has successfully portrayed the days of partition - the strife, the grievances, the loss, the struggles, the emotional turmoil. As the story progresses, it becomes very hard to accept the fact that both Muslims and Hindus were to blame. Starkly Khushwant Singh explains the blood shedding and sufferings of children and women, it brings a shiver to your body.'),
(23, 2, 4, 'enUS', 'Train_to_Pakistan'),
(24, 2, 5, 'enUS', '10.0'),
(25, 2, 6, 'enUS', '19/01/2011'),
(26, 2, 7, 'enUS', '19/01/2015'),
(27, 2, 8, 'enUS', '1'),
(28, 2, 9, 'enUS', 'train_to_pakistan'),
(29, 2, 40, 'enUS', '2'),
(30, 2, 10, 'enUS', '1'),
(31, 2, 11, 'enUS', 'India'),
(32, 2, 12, 'enUS', '147.0'),
(33, 2, 13, 'enUS', 'p2.jpg'),
(34, 2, 14, 'enUS', '100'),
(35, 2, 15, 'enUS', '1'),
(36, 2, 17, 'enUS', '1'),
(37, 2, 16, 'enUS', 'Product'),
(38, 2, 18, 'enUS', '1'),
(39, 3, 1, 'enUS', 'Mango Chutney: An Anthology of Tasteful Short Fiction'),
(40, 3, 2, 'enUS', 'In the sleepy rural town of Bikramganj, a halwai named Lachhuman recieves a letter from an unseen Lakshmi. A thousand kilometres away in Delhi, a woman waits an eternity for her birth certificate. In the sweltering heat of Chennai, a girl finds solace in her grandfather''s shirt. The stakes are high on the Euro rail on its way to Budapest where two Austrians try to trick an Indian woman at a card game. Back home in Vizag, an egg is being poarched to perfection. Mango Chutney, true to its name, is potpourri of quality short-fiction by some of India''s finest writers. Compiled and edited by bestselling author, Harsh Snehanshu, these stories, with just the right amount of sugar and tang, shall provoke, tickle and above all, linger your mind.'),
(41, 3, 3, 'enUS', 'In the sleepy rural town of Bikramganj, a halwai named Lachhuman recieves a letter from an unseen Lakshmi. A thousand kilometres away in Delhi, a woman waits an eternity for her birth certificate. In the sweltering heat of Chennai, a girl finds solace in her grandfather''s shirt. The stakes are high on the Euro rail on its way to Budapest where two Austrians try to trick an Indian woman at a card game. Back home in Vizag, an egg is being poarched to perfection. Mango Chutney, true to its name, is potpourri of quality short-fiction by some of India''s finest writers. Compiled and edited by bestselling author, Harsh Snehanshu, these stories, with just the right amount of sugar and tang, shall provoke, tickle and above all, linger your mind.'),
(42, 3, 4, 'enUS', 'Mango_Chutney'),
(43, 3, 5, 'enUS', '10.0'),
(44, 3, 6, 'enUS', '19/01/2011'),
(45, 3, 7, 'enUS', '19/01/2015'),
(46, 3, 8, 'enUS', '1'),
(47, 3, 9, 'enUS', 'mango_chutney'),
(48, 3, 40, 'enUS', '2'),
(49, 3, 10, 'enUS', '1'),
(50, 3, 11, 'enUS', 'India'),
(51, 3, 12, 'enUS', '99.0'),
(52, 3, 13, 'enUS', 'p3.jpg'),
(53, 3, 14, 'enUS', '100'),
(54, 3, 15, 'enUS', '1'),
(55, 3, 17, 'enUS', '1'),
(56, 3, 16, 'enUS', 'Product'),
(57, 3, 18, 'enUS', '1'),
(58, 4, 1, 'enUS', 'Faulks on Fiction'),
(59, 4, 2, 'enUS', 'Ever since Robinson Crusoe in 1719, the novel has introduced British readers to truly unforgettable characters - people in whom we can find deeper understanding of our own lives. In this engaging and personal book, Sebastian Faulks examines and celebrates the most famous and best-loved of these dazzling fictional creations and their wider impact on British culture as a whole. From Sherlock Holmes and Mr Darcy to Emma Woodhouse and James Bond - this is the story of the heroes, lovers, snobs and villains in all of us.'),
(60, 4, 3, 'enUS', 'Ever since Robinson Crusoe in 1719, the novel has introduced British readers to truly unforgettable characters - people in whom we can find deeper understanding of our own lives. In this engaging and personal book, Sebastian Faulks examines and celebrates the most famous and best-loved of these dazzling fictional creations and their wider impact on British culture as a whole. From Sherlock Holmes and Mr Darcy to Emma Woodhouse and James Bond - this is the story of the heroes, lovers, snobs and villains in all of us.'),
(61, 4, 4, 'enUS', 'Faulks_on_Fiction'),
(62, 4, 5, 'enUS', '10.0'),
(63, 4, 6, 'enUS', '19/01/2011'),
(64, 4, 7, 'enUS', '19/01/2015'),
(65, 4, 8, 'enUS', '1'),
(66, 4, 9, 'enUS', 'faulks_on_fiction'),
(67, 4, 40, 'enUS', '2'),
(68, 4, 10, 'enUS', '1'),
(69, 4, 11, 'enUS', 'India'),
(70, 4, 12, 'enUS', '297.0'),
(71, 4, 13, 'enUS', 'p4.jpg'),
(72, 4, 14, 'enUS', '100'),
(73, 4, 15, 'enUS', '1'),
(74, 4, 17, 'enUS', '1'),
(75, 4, 16, 'enUS', 'Product'),
(76, 4, 18, 'enUS', '1'),
(77, 5, 1, 'enUS', 'Telling True Stories'),
(78, 5, 2, 'enUS', 'Explores the key challenges in writing narrative non-fiction, and shows how some of the best in the business do it - an invaluable guide for anyone who wants to tell true stories well.\r\nMatthew Ricketson is Professor of Journalism at the University of Canberra and has worked as a journalist at The Age, The Australian and Time Australia magazine. He is the author of the bestselling guide Writing Feature Stories and of a biography of children''s author Paul Jennings, and editor of The Best Australian Profiles. '),
(79, 5, 3, 'enUS', 'Explores the key challenges in writing narrative non-fiction, and shows how some of the best in the business do it - an invaluable guide for anyone who wants to tell true stories well.\r\nMatthew Ricketson is Professor of Journalism at the University of Canberra and has worked as a journalist at The Age, The Australian and Time Australia magazine. He is the author of the bestselling guide Writing Feature Stories and of a biography of children''s author Paul Jennings, and editor of The Best Australian Profiles. '),
(80, 5, 4, 'enUS', 'Telling_True_Stories'),
(81, 5, 5, 'enUS', '10.0'),
(82, 5, 6, 'enUS', '19/01/2011'),
(83, 5, 7, 'enUS', '19/01/2015'),
(84, 5, 8, 'enUS', '1'),
(85, 5, 9, 'enUS', 'telling_true_stories'),
(86, 5, 40, 'enUS', '3'),
(87, 5, 10, 'enUS', '1'),
(88, 5, 11, 'enUS', 'India'),
(89, 5, 12, 'enUS', '1120.0'),
(90, 5, 13, 'enUS', 'p5.jpg'),
(91, 5, 14, 'enUS', '100'),
(92, 5, 15, 'enUS', '1'),
(93, 5, 17, 'enUS', '1'),
(94, 5, 16, 'enUS', 'Product'),
(95, 5, 18, 'enUS', '1'),
(96, 6, 1, 'enUS', 'Strontium 8GB MicroSDHC Memory Card (Class 6)'),
(97, 6, 2, 'enUS', 'If you need a thunder-speed data transfer, the more you should try out Strontium MicroSD card class 6 that would show you the real power of speed. With an improvement of transfer speed to 6Mb/s, you will be amazed that the data transfer is complete with a blink of your eyes. It can store higher definition of videos, higher resolution of photos and you don’t have to worry about losing your precious data.'),
(98, 6, 3, 'enUS', 'If you need a thunder-speed data transfer, the more you should try out Strontium MicroSD card class 6 that would show you the real power of speed. With an improvement of transfer speed to 6Mb/s, you will be amazed that the data transfer is complete with a blink of your eyes. It can store higher definition of videos, higher resolution of photos and you don’t have to worry about losing your precious data.'),
(99, 6, 4, 'enUS', 'Strontium_8GB_MicroSDHC_Memory_Card_6'),
(100, 6, 5, 'enUS', '10.0'),
(101, 6, 6, 'enUS', '19/01/2011'),
(102, 6, 7, 'enUS', '19/01/2015'),
(103, 6, 8, 'enUS', '1'),
(104, 6, 9, 'enUS', 'strontium_8gb_microSDHC_memory_card_6'),
(105, 6, 40, 'enUS', '4'),
(106, 6, 10, 'enUS', '1'),
(107, 6, 11, 'enUS', 'India'),
(108, 6, 12, 'enUS', '195.0'),
(109, 6, 13, 'enUS', 'p6.jpg'),
(110, 6, 14, 'enUS', '100'),
(111, 6, 15, 'enUS', '1'),
(112, 6, 17, 'enUS', '1'),
(113, 6, 16, 'enUS', 'Product'),
(114, 6, 18, 'enUS', '1'),
(115, 7, 1, 'enUS', 'Micromax Canvas Power A96 (Black)'),
(116, 7, 2, 'enUS', 'If you''re looking for an intelligent smartphone that gives you a processing experience like never before, you can go for the Micromax Canvas Power A96. At the heart of this phone lies the 1.3GHz MTK 6582M Quad Core processor that gives you lightning fast speed for your videos and gaming applications. Added to that is the 512MB RAM that allows you to run many high-end applications at once without any lag or slowdown. So, if you love videos and gaming, the Micromax A96 can be an ideal choice for you.'),
(117, 7, 3, 'enUS', 'If you''re looking for an intelligent smartphone that gives you a processing experience like never before, you can go for the Micromax Canvas Power A96. At the heart of this phone lies the 1.3GHz MTK 6582M Quad Core processor that gives you lightning fast speed for your videos and gaming applications. Added to that is the 512MB RAM that allows you to run many high-end applications at once without any lag or slowdown. So, if you love videos and gaming, the Micromax A96 can be an ideal choice for you.'),
(118, 7, 4, 'enUS', 'Micromax_Canvas_Power_A96_Black'),
(119, 7, 5, 'enUS', '10.0'),
(120, 7, 6, 'enUS', '19/01/2011'),
(121, 7, 7, 'enUS', '19/01/2015'),
(122, 7, 8, 'enUS', '1'),
(123, 7, 9, 'enUS', 'micromax_canvas_power_A96_black'),
(124, 7, 40, 'enUS', '5'),
(125, 7, 10, 'enUS', '1'),
(126, 7, 11, 'enUS', 'India'),
(127, 7, 12, 'enUS', '5849.0'),
(128, 7, 13, 'enUS', 'p7.jpg'),
(129, 7, 14, 'enUS', '100'),
(130, 7, 15, 'enUS', '1'),
(131, 7, 17, 'enUS', '1'),
(132, 7, 16, 'enUS', 'Product'),
(133, 7, 18, 'enUS', '1'),
(134, 8, 1, 'enUS', 'Lenovo A269i (Black)'),
(135, 8, 2, 'enUS', 'The Lenovo A269i features a 3.5 inch HVGA LCD display with a display resolution of 800x480 pixels and a good pixel resolution of about 250 ppi. The screen brings life to colours with the capability of displaying 16 million of them. Underneath the hood, it is powered by a 1GHz dual core processor by Mediatek, augmented by 256MB of RAM and comes with the Android 2.3 Gingerbread Operating system.'),
(136, 8, 3, 'enUS', 'The Lenovo A269i features a 3.5 inch HVGA LCD display with a display resolution of 800x480 pixels and a good pixel resolution of about 250 ppi. The screen brings life to colours with the capability of displaying 16 million of them. Underneath the hood, it is powered by a 1GHz dual core processor by Mediatek, augmented by 256MB of RAM and comes with the Android 2.3 Gingerbread Operating system.'),
(137, 8, 4, 'enUS', 'Lenovo_A269i_black'),
(138, 8, 5, 'enUS', '10.0'),
(139, 8, 6, 'enUS', '19/01/2011'),
(140, 8, 7, 'enUS', '19/01/2015'),
(141, 8, 8, 'enUS', '1'),
(142, 8, 9, 'enUS', 'lenovo_A269i_black'),
(143, 8, 40, 'enUS', '5'),
(144, 8, 10, 'enUS', '1'),
(145, 8, 11, 'enUS', 'India'),
(146, 8, 12, 'enUS', '2837.0'),
(147, 8, 13, 'enUS', 'p8.jpg'),
(148, 8, 14, 'enUS', '100'),
(149, 8, 15, 'enUS', '1'),
(150, 8, 17, 'enUS', '1'),
(151, 8, 16, 'enUS', 'Product'),
(152, 8, 18, 'enUS', '1');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `attribute`
--
ALTER TABLE `attribute`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `attribute_group`
--
ALTER TABLE `attribute_group`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `attribute_set`
--
ALTER TABLE `attribute_set`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `attribute_values`
--
ALTER TABLE `attribute_values`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `category_entity_values`
--
ALTER TABLE `category_entity_values`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `category_products`
--
ALTER TABLE `category_products`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `checkout_order`
--
ALTER TABLE `checkout_order`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `checkout_order_address`
--
ALTER TABLE `checkout_order_address`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `checkout_order_item`
--
ALTER TABLE `checkout_order_item`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `checkout_payment_methods`
--
ALTER TABLE `checkout_payment_methods`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `checkout_quote`
--
ALTER TABLE `checkout_quote`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `checkout_quote_address`
--
ALTER TABLE `checkout_quote_address`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `checkout_quote_item`
--
ALTER TABLE `checkout_quote_item`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `customer`
--
ALTER TABLE `customer`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `customer_address`
--
ALTER TABLE `customer_address`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `customer_address_attribute_values`
--
ALTER TABLE `customer_address_attribute_values`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `customer_entity_values`
--
ALTER TABLE `customer_entity_values`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `customer_group`
--
ALTER TABLE `customer_group`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `customer_master`
--
ALTER TABLE `customer_master`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `entities`
--
ALTER TABLE `entities`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `products_master`
--
ALTER TABLE `products_master`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_attribute_values`
--
ALTER TABLE `product_attribute_values`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `product_entity_values`
--
ALTER TABLE `product_entity_values`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `attribute`
--
ALTER TABLE `attribute`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `attribute_group`
--
ALTER TABLE `attribute_group`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `attribute_set`
--
ALTER TABLE `attribute_set`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `attribute_values`
--
ALTER TABLE `attribute_values`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=20;
--
-- AUTO_INCREMENT for table `category_entity_values`
--
ALTER TABLE `category_entity_values`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=15;