-
Notifications
You must be signed in to change notification settings - Fork 15
/
sakila - Kopie.dbs
1647 lines (1622 loc) · 88.6 KB
/
sakila - Kopie.dbs
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
<?xml version="1.0" encoding="UTF-8" ?>
<project name="MySql" id="Project-17ff" database="MySql" >
<schema name="sakila" >
<table name="2co_orders" spec="" >
<column name="?product id" type="INT" jt="4" />
<column name="product codeA" type="VARCHAR" length="13" jt="12" />
<column name="product codeF" type="VARCHAR" length="13" jt="12" />
<column name="product" type="VARCHAR" length="10" jt="12" />
<column name="extra info" type="VARCHAR" length="0" jt="12" />
<column name="order no" type="INT" jt="4" />
<column name="order status" type="VARCHAR" length="18" jt="12" />
<column name="reference no" type="INT" jt="4" />
<column name="line item type" type="VARCHAR" length="9" jt="12" />
<column name="external reference no" type="VARCHAR" length="0" jt="12" />
<column name="pay method" type="VARCHAR" length="20" jt="12" />
<column name="order date" type="DATE" jt="91" />
<column name="order finish date" type="VARCHAR" length="24" jt="12" />
<column name="shipping date" type="VARCHAR" length="13" jt="12" />
<column name="currency" type="VARCHAR" length="3" jt="12" />
<column name="quantity" type="INT" jt="4" />
<column name="unit price (without vat)" type="DECIMAL" length="20" decimal="12" jt="3" />
<column name="total price" type="DECIMAL" length="13" decimal="2" jt="3" />
<column name="total vat" type="DECIMAL" length="10" decimal="2" jt="3" />
<column name="unit discount" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="promotion" type="VARCHAR" length="46" jt="12" />
<column name="promotion coupon code" type="VARCHAR" length="29" jt="12" />
<column name="general discount" type="INT" jt="4" />
<column name="affiliate commision" type="DECIMAL" length="11" decimal="4" jt="3" />
<column name="delivery type" type="VARCHAR" length="13" jt="12" />
<column name="shipping" type="INT" jt="4" />
<column name="shipping vat" type="INT" jt="4" />
<column name="general total" type="DECIMAL" length="13" decimal="2" jt="3" />
<column name="processing fee" type="DECIMAL" length="14" decimal="4" jt="3" />
<column name="company" type="VARCHAR" length="65" jt="12" />
<column name="client" type="VARCHAR" length="61" jt="12" />
<column name="address" type="VARCHAR" length="113" jt="12" />
<column name="phone" type="VARCHAR" length="26" jt="12" />
<column name="email" type="VARCHAR" length="52" jt="12" />
<column name="city" type="VARCHAR" length="35" jt="12" />
<column name="zip code" type="VARCHAR" length="13" jt="12" />
<column name="country" type="VARCHAR" length="31" jt="12" />
<column name="state" type="VARCHAR" length="32" jt="12" />
<column name="fiscal code" type="VARCHAR" length="19" jt="12" />
<column name="registration number" type="VARCHAR" length="0" jt="12" />
<column name="end user name" type="VARCHAR" length="52" jt="12" />
<column name="end user address" type="VARCHAR" length="113" jt="12" />
<column name="end user phone number" type="VARCHAR" length="26" jt="12" />
<column name="end user email address" type="VARCHAR" length="52" jt="12" />
<column name="end user city" type="VARCHAR" length="35" jt="12" />
<column name="end user zip code" type="VARCHAR" length="13" jt="12" />
<column name="end user country" type="VARCHAR" length="31" jt="12" />
<column name="end user state" type="VARCHAR" length="32" jt="12" />
<column name="affiliate" type="VARCHAR" length="36" jt="12" />
<column name="affiliate website" type="VARCHAR" length="41" jt="12" />
<column name="gateway response" type="VARCHAR" length="35" jt="12" />
<column name="approval status" type="VARCHAR" length="13" jt="12" />
<column name="avangate subscription reference" type="VARCHAR" length="13" jt="12" />
<column name="renewalstatus" type="VARCHAR" length="7" jt="12" />
<column name="subscription" type="VARCHAR" length="19" jt="12" />
<column name="net profit" type="DECIMAL" length="15" decimal="4" jt="3" />
<column name="backup media cost" type="DECIMAL" length="5" decimal="2" jt="3" />
<column name="backup media profit" type="DECIMAL" length="5" decimal="2" jt="3" />
<column name="dis cost" type="DECIMAL" length="5" decimal="2" jt="3" />
<column name="dis profit" type="DECIMAL" length="5" decimal="2" jt="3" />
<column name="payment currency" type="VARCHAR" length="3" jt="12" />
<column name="exchange rate" type="DECIMAL" length="26" decimal="18" jt="3" />
<column name="final exchange rate" type="BOOLEAN" length="1" jt="16" />
<column name="fulfillment information" type="VARCHAR" length="1283" jt="12" />
<column name="pricing options name" type="VARCHAR" length="55" jt="12" />
<column name="pricing options code" type="VARCHAR" length="9" jt="12" />
<column name="sku" type="VARCHAR" length="0" jt="12" />
<column name="netincomeperproduct" type="DECIMAL" length="23" decimal="15" jt="3" />
<column name="enduserip" type="VARCHAR" length="49" jt="12" />
<column name="shopper invoice no" type="VARCHAR" length="14" jt="12" />
<column name="affiliate id" type="INT" jt="4" />
<column name="url" type="VARCHAR" length="31" jt="12" />
<column name="sale source" type="VARCHAR" length="0" jt="12" />
<column name="end user company" type="VARCHAR" length="65" jt="12" />
<column name="timezone" type="VARCHAR" length="50" jt="12" />
<column name="origin" type="VARCHAR" length="70" jt="12" />
<column name="chargeback status" type="VARCHAR" length="0" jt="12" />
<column name="chargeback reason" type="VARCHAR" length="0" jt="12" />
<column name="billing cycle" type="VARCHAR" length="3" jt="12" />
<column name="billing cycles left" type="VARCHAR" length="3" jt="12" />
<column name="current billing cycle" type="VARCHAR" length="3" jt="12" />
<column name="original external reference no" type="VARCHAR" length="0" jt="12" />
<column name="original sale source" type="VARCHAR" length="0" jt="12" />
<column name="chargeback reason code" type="VARCHAR" length="0" jt="12" />
<column name="initial dispute request" type="VARCHAR" length="0" jt="12" />
<column name="chargeback close date" type="VARCHAR" length="0" jt="12" />
<column name="order additional fields" type="VARCHAR" length="0" jt="12" />
<column name="product additional fields" type="VARCHAR" length="0" jt="12" />
<column name="invoice number prefix" type="VARCHAR" length="3" jt="12" />
<column name="invoice number" type="INT" jt="4" />
<column name="shopper/partner reference number" type="VARCHAR" length="33" jt="12" />
<column name="refund comment" type="VARCHAR" length="127" jt="12" />
<column name="delivered filename" type="VARCHAR" length="0" jt="12" />
<column name="pricing options operator" type="VARCHAR" length="11" jt="12" />
<column name="pricing options value" type="DECIMAL" length="11" decimal="2" jt="3" />
<column name="test order" type="BOOLEAN" length="1" jt="16" />
<column name="order flow" type="VARCHAR" length="18" jt="12" />
<column name="initial renewal type" type="VARCHAR" length="7" jt="12" />
<column name="subscription billing cycle expiration date" type="VARCHAR" length="24" jt="12" />
<column name="refund reason" type="VARCHAR" length="41" jt="12" />
<column name="client first name" type="VARCHAR" length="42" jt="12" />
<column name="client last name" type="VARCHAR" length="37" jt="12" />
<column name="end user first name" type="VARCHAR" length="42" jt="12" />
<column name="end user last name" type="VARCHAR" length="37" jt="12" />
<column name="downloads count" type="VARCHAR" length="0" jt="12" />
<column name="communication language" type="VARCHAR" length="6" jt="12" />
<column name="tracking order id" type="VARCHAR" length="0" jt="12" />
<column name="tracking id" type="VARCHAR" length="0" jt="12" />
<column name="media type" type="VARCHAR" length="0" jt="12" />
<column name="affiliate source" type="VARCHAR" length="59" jt="12" />
<column name="affiliate categories" type="VARCHAR" length="0" jt="12" />
<column name="subscription custom fields" type="VARCHAR" length="0" jt="12" />
<column name="fx markup" type="INT" jt="4" />
<column name="template id" type="INT" jt="4" />
<column name="product external reference" type="VARCHAR" length="0" jt="12" />
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="2co_subscriptions" spec="" >
<column name="licenseuniqueid" type="VARCHAR" length="50" jt="12" />
<column name="idproduct" type="INT" jt="4" />
<column name="purchasedate" type="DATE" jt="91" />
<column name="expirationdate" type="DATE" jt="91" />
<column name="productname" type="VARCHAR" length="10" jt="12" />
<column name="quantity" type="INT" jt="4" />
<column name="firstname" type="VARCHAR" length="40" jt="12" />
<column name="lastname" type="VARCHAR" length="52" jt="12" />
<column name="email" type="VARCHAR" length="57" jt="12" />
<column name="communicationlanguage" type="VARCHAR" length="6" jt="12" />
<column name="productversion" type="VARCHAR" length="30" jt="12" />
<column name="productextra" type="VARCHAR" length="100" jt="12" />
<column name="company" type="VARCHAR" length="65" jt="12" />
<column name="phone" type="VARCHAR" length="120" jt="12" />
<column name="fax" type="VARCHAR" length="29" jt="12" />
<column name="address1" type="VARCHAR" length="400" jt="12" />
<column name="address2" type="VARCHAR" length="400" jt="12" />
<column name="zip" type="VARCHAR" length="40" jt="12" />
<column name="city" type="VARCHAR" length="39" jt="12" />
<column name="state" type="VARCHAR" length="39" jt="12" />
<column name="countrycode" type="VARCHAR" length="2" jt="12" />
<column name="productoptions" type="VARCHAR" length="9" jt="12" />
<column name="activationcode" type="VARCHAR" length="115" jt="12" />
<column name="deliverycode" type="VARCHAR" length="400" jt="12" />
<column name="licensecode" type="VARCHAR" length="13" jt="12" />
<column name="refno" type="VARCHAR" length="100" jt="12" />
<column name="renewaltype" type="VARCHAR" length="7" jt="12" />
<column name="status" type="VARCHAR" length="10" jt="12" />
<column name="url" type="VARCHAR" length="31" jt="12" />
<column name="nextrenewalprice" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="nextrenewalpricecurrency" type="VARCHAR" length="3" jt="12" />
<column name="avangatecustomerreference" type="INT" jt="4" />
<column name="externalcustomerreference" type="VARCHAR" length="200" jt="12" />
<column name="nextbillingdate" type="DATE" jt="91" />
<column name="shopperreferencenumber" type="VARCHAR" length="42" jt="12" />
<column name="additionalinfo" type="VARCHAR" length="0" jt="12" />
<column name="lastrenewalprice" type="DECIMAL" length="14" decimal="2" jt="3" />
<column name="lastrenewalcurrency" type="VARCHAR" length="3" jt="12" />
<column name="pastdueday(s)" type="VARCHAR" length="3" jt="12" />
<column name="testsubscription" type="BOOLEAN" length="1" jt="16" />
<column name="subscriptionstartdate" type="DATE" jt="91" />
<column name="idaffiliate" type="INT" jt="4" />
<column name="customervalue" type="DECIMAL" length="10" decimal="2" jt="3" />
<column name="customervaluecurrency" type="VARCHAR" length="3" jt="12" />
<column name="times renewed" type="INT" jt="4" />
<column name="times upgraded" type="INT" jt="4" />
<column name="importedsubscription" type="BOOLEAN" length="1" jt="16" />
<column name="last renewal type change" type="VARCHAR" length="27" jt="12" />
<column name="last renewal type change date-time" type="DATE" jt="91" />
<column name="last renewal type change source" type="VARCHAR" length="28" jt="12" />
<column name="last renewal type changed by" type="VARCHAR" length="26" jt="12" />
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="????????" row_count="100" spec="" >
<column name="?????????????" type="INT" jt="4" mandatory="y" />
<column name="details" type="VARCHAR" length="12" jt="12" />
<column name="other" type="VARCHAR" length="12" jt="12" />
<column name="tt" type="TEXT" jt="-1" />
<index name="pk_????????" unique="PRIMARY_KEY" >
<column name="?????????????" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="Baseboard" row_count="0" spec="" >
<column name="id" type="BIGINT" jt="-5" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="name" type="VARCHAR" length="45" jt="12" mandatory="y" />
<column name="axapta_article_number" type="VARCHAR" length="15" jt="12" />
<column name="board_model" type="VARCHAR" length="4" jt="12" />
<column name="board_type" type="VARCHAR" length="15" jt="12" />
<column name="board_version" type="VARCHAR" length="20" jt="12" />
<column name="ems_serial" type="VARCHAR" length="15" jt="12" />
<column name="info_version" type="VARCHAR" length="15" jt="12" />
<column name="pic_sw_version" type="VARCHAR" length="15" jt="12" />
<column name="date" type="TIMESTAMP" jt="93" >
<defo><![CDATA[now()]]></defo>
</column>
<index name="pk_baseboard" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<index name="idx_baseboard_board_type" unique="NORMAL" >
<column name="board_type" />
<column name="board_version" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="actor" row_count="300" spec="" >
<comment><![CDATA[Details about actors.]]></comment>
<column name="actor_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="first_name" type="VARCHAR" length="45" jt="12" mandatory="y" />
<column name="last_name" type="VARCHAR" length="45" jt="12" mandatory="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<column name="test1" type="TEXT" length="12" jt="-1" />
<column name="secondcolumn" type="TEXT" jt="-1" />
<column name="forthcolumn" type="TEXT" jt="-1" />
<column name="sixtcolumn" type="TEXT" jt="-1" />
<column name="column8" type="TEXT" jt="-1" />
<column name="column3" type="TEXT" jt="-1" />
<column name="column31" type="TEXT" jt="-1" />
<column name="column41" type="VARCHAR" length="12" jt="12" />
<column name="column43" type="VARCHAR" length="12" jt="12" />
<column name="best2" type="VARCHAR" length="12" jt="12" />
<column name="fussing1" type="VARCHAR" length="12" jt="12" />
<column name="fussing3" type="VARCHAR" length="12" jt="12" />
<column name="fussing4" type="VARCHAR" length="12" jt="12" />
<column name="fussing5" type="VARCHAR" length="12" jt="12" />
<column name="friday2" type="DATE" jt="91" />
<column name="friday6" type="DATE" jt="91" />
<column name="monday2" type="DATE" jt="91" />
<column name="monday3" type="DATE" jt="91" />
<column name="monday6" type="DATE" jt="91" />
<column name="monday7" type="DATE" jt="91" />
<column name="tuesday1" type="DATE" jt="91" />
<index name="pk_actor" unique="PRIMARY_KEY" >
<column name="actor_id" />
</index>
<index name="idx_actor_last_name" unique="NORMAL" >
<column name="last_name" />
</index>
<options><![CDATA[ENGINE=InnoDB AUTO_INCREMENT=301 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='Details about actors.']]></options>
</table>
<table name="address" row_count="311" spec="" >
<comment><![CDATA[The store addresses.]]></comment>
<column name="address_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="address" type="VARCHAR" length="50" jt="12" mandatory="y" />
<column name="address2" type="VARCHAR" length="50" jt="12" />
<column name="new_column" type="INT" jt="4" />
<column name="district" type="VARCHAR" length="20" jt="12" mandatory="y" />
<column name="city_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="postal_code" type="VARCHAR" length="10" jt="12" />
<column name="phone" type="VARCHAR" length="20" jt="12" mandatory="y" >
<comment><![CDATA[The phone number]]></comment>
</column>
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_address" unique="PRIMARY_KEY" >
<column name="address_id" />
</index>
<index name="idx_fk_city_id" unique="NORMAL" >
<column name="city_id" />
</index>
<fk name="fk_address_city" to_schema="sakila" to_table="city" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="city_id" pk="city_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB AUTO_INCREMENT=329 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='Some comment']]></options>
</table>
<table name="category" row_count="116" spec="" >
<comment><![CDATA[The movie categories]]></comment>
<column name="category_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
<comment><![CDATA[The category identifier.]]></comment>
</column>
<column name="name" type="VARCHAR" length="25" jt="12" mandatory="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<column name="test" type="VARCHAR" length="12" jt="12" />
<index name="pk_category" unique="PRIMARY_KEY" >
<column name="category_id" />
</index>
<options><![CDATA[ENGINE=InnoDB AUTO_INCREMENT=117 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="city" row_count="750" spec="" >
<column name="city_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="city" type="VARCHAR" length="50" jt="12" mandatory="y" />
<column name="country_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<column name="best1" type="VARCHAR" length="12" jt="12" />
<column name="best2" type="VARCHAR" length="12" jt="12" />
<index name="pk_city" unique="PRIMARY_KEY" >
<column name="city_id" />
</index>
<index name="idx_fk_country_id" unique="NORMAL" >
<column name="country_id" />
</index>
<fk name="fk_city_country" to_schema="sakila" to_table="country" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="country_id" pk="country_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB AUTO_INCREMENT=751 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="country" row_count="209" spec="" >
<comment><![CDATA[The countries]]></comment>
<column name="country_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="country" type="VARCHAR" length="50" jt="12" mandatory="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<column name="description" type="TEXT" jt="-1" />
<index name="pk_country" unique="PRIMARY_KEY" >
<column name="country_id" />
</index>
<index name="idx_country" unique="NORMAL" >
<column name="last_update" />
<column name="country" />
</index>
<options><![CDATA[ENGINE=InnoDB AUTO_INCREMENT=210 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='The countries']]></options>
</table>
<table name="customer" row_count="599" spec="" >
<comment><![CDATA[Table stores all customers and
the details.]]></comment>
<column name="customer_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
<comment><![CDATA[column comment]]></comment>
</column>
<column name="store_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" />
<column name="first_name" type="VARCHAR" length="45" jt="12" mandatory="y" />
<column name="last_name" type="VARCHAR" length="45" jt="12" mandatory="y" />
<column name="email" type="VARCHAR" length="50" jt="12" />
<column name="address_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="active" type="TINYINT" length="1" jt="-6" mandatory="y" >
<defo><![CDATA['1']]></defo>
</column>
<column name="create_date" type="DATETIME" jt="93" mandatory="y" />
<column name="last_update" type="TIMESTAMP" jt="93" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_customer" unique="PRIMARY_KEY" >
<column name="customer_id" />
</index>
<index name="idx_fk_store_id" unique="NORMAL" >
<column name="store_id" />
</index>
<index name="idx_fk_address_id" unique="NORMAL" >
<column name="address_id" />
</index>
<index name="idx_last_name" unique="NORMAL" >
<column name="last_name" />
</index>
<fk name="fk_customer_address" to_schema="sakila" to_table="address" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="address_id" pk="address_id" />
</fk>
<fk name="fk_customer_store" to_schema="sakila" to_table="store" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="store_id" pk="store_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB AUTO_INCREMENT=600 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="film" row_count="167" spec="" >
<comment><![CDATA[This table shows the
different movies available
in a store.]]></comment>
<column name="film_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="title" type="VARCHAR" length="128" jt="12" mandatory="y" >
<comment><![CDATA[The movie title
among with the other details]]></comment>
</column>
<column name="description" type="TEXT" jt="-1" >
<comment><![CDATA[This is some comment.]]></comment>
</column>
<column name="release_year" type="YEAR" jt="4" />
<column name="language_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" />
<column name="original_language_id" type="TINYINT" jt="-6" unsigned="y" />
<column name="rental_duration" type="TINYINT" jt="-6" mandatory="y" unsigned="y" >
<defo><![CDATA['3']]></defo>
</column>
<column name="rental_rate" type="DECIMAL" length="4" decimal="2" jt="3" mandatory="y" >
<defo><![CDATA['4.99']]></defo>
</column>
<column name="length" type="SMALLINT" jt="5" unsigned="y" />
<column name="replacement_cost" type="DECIMAL" length="5" decimal="2" jt="3" mandatory="y" >
<defo><![CDATA['19.99']]></defo>
</column>
<column name="rating" type="ENUM" jt="12" >
<defo><![CDATA['G']]></defo>
<enumeration><![CDATA['G','PG','PG-13','R','NC-17']]></enumeration>
</column>
<column name="special_features" type="SET" jt="12" >
<enumeration><![CDATA['Trailers','Commentaries','Deleted Scenes','Behind the Scenes']]></enumeration>
</column>
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<column name="test" type="VARCHAR" length="12" jt="12" >
<comment><![CDATA[Test]]></comment>
</column>
<column name="test2" type="VARCHAR" length="12" jt="12" />
<column name="test3" type="VARCHAR" length="12" jt="12" />
<index name="pk_film" unique="PRIMARY_KEY" >
<column name="film_id" />
</index>
<index name="idx_title" unique="NORMAL" >
<column name="title" />
</index>
<index name="idx_fk_language_id" unique="NORMAL" >
<column name="language_id" />
</index>
<index name="idx_fk_original_language_id" unique="NORMAL" >
<column name="original_language_id" />
</index>
<fk name="fk_film_language" to_schema="sakila" to_table="language" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="language_id" pk="language_id" />
</fk>
<fk name="fk_film_language_original" to_schema="sakila" to_table="language" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="original_language_id" pk="language_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB AUTO_INCREMENT=180 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='This table shows the \ndifferent movies available \nin a store.']]></options>
</table>
<table name="film_actor" row_count="225" spec="" >
<column name="actor_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="film_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_film_actor" unique="PRIMARY_KEY" >
<column name="actor_id" />
<column name="film_id" />
</index>
<index name="idx_fk_film_id" unique="NORMAL" >
<column name="film_id" />
</index>
<fk name="fk_film_actor_actor" to_schema="sakila" to_table="actor" delete_action="cascade" options="" >
<fk_column name="actor_id" pk="actor_id" />
</fk>
<fk name="fk_film_actor_film" to_schema="sakila" to_table="film" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="film_id" pk="film_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="film_category" row_count="225" spec="" >
<comment><![CDATA[The categories for each film.]]></comment>
<column name="film_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="category_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_film_category" unique="PRIMARY_KEY" >
<column name="film_id" />
<column name="category_id" />
</index>
<index name="fk_film_category_category" unique="NORMAL" >
<column name="category_id" />
</index>
<fk name="fk_film_category_category" to_schema="sakila" to_table="category" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="category_id" pk="category_id" />
</fk>
<fk name="fk_film_category_film" to_schema="sakila" to_table="film" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="film_id" pk="film_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='Some comment']]></options>
</table>
<table name="film_text" row_count="167" spec="" >
<column name="film_id" type="SMALLINT" jt="5" mandatory="y" />
<column name="title" type="VARCHAR" length="255" jt="12" mandatory="y" />
<column name="description" type="TEXT" jt="-1" />
<column name="age" type="INT" jt="4" />
<column name="tutorial" type="TEXT" jt="-1" />
<column name="tt" type="TIMESTAMP" length="6" jt="93" />
<column name="tt1" type="TIMESTAMP" jt="93" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<column name="tt2" type="TIMESTAMP" jt="93" >
<defo><![CDATA[now()]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<column name="tt3" type="TIMESTAMP" jt="93" >
<defo><![CDATA[now()]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<column name="tt4" type="TIMESTAMP" jt="93" >
<defo><![CDATA[now()]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_film_text" unique="PRIMARY_KEY" >
<column name="film_id" />
</index>
<index name="idx_title_description" unique="INDEX1" >
<column name="title" />
<column name="description" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="inventory" row_count="0" spec="" >
<comment><![CDATA[The inventory.]]></comment>
<column name="inventory_id" type="MEDIUMINT" jt="4" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="film_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="store_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_inventory" unique="PRIMARY_KEY" >
<column name="inventory_id" />
</index>
<index name="idx_fk_film_id" unique="NORMAL" >
<column name="film_id" />
</index>
<index name="idx_store_id_film_id" unique="NORMAL" >
<column name="store_id" />
<column name="film_id" />
</index>
<fk name="fk_inventory_film" to_schema="sakila" to_table="film" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="film_id" pk="film_id" />
</fk>
<fk name="fk_inventory_store" to_schema="sakila" to_table="store" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="store_id" pk="store_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="language" row_count="100" spec="" >
<comment><![CDATA[The different languages abbreviations.]]></comment>
<column name="language_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="name" type="CHAR" length="20" jt="1" mandatory="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_language" unique="PRIMARY_KEY" >
<column name="language_id" />
</index>
<options><![CDATA[ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="mc_standard_claims" row_count="0" spec="" >
<column name="mc_standard_claim_id" type="VARCHAR" length="19" jt="12" mandatory="y" />
<column name="mc_data_file_detail_id" type="INT" jt="4" mandatory="y" />
<column name="created_by" type="VARCHAR" length="20" jt="12" mandatory="y" />
<column name="created_timestamp" type="TIMESTAMP" length="6" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP(6)]]></defo>
</column>
<index name="pk_mc_standard_claims" unique="PRIMARY_KEY" >
<column name="mc_standard_claim_id" />
<column name="mc_data_file_detail_id" />
</index>
<index name="fk_mc_data_file_detail_id_mc_data_file_detail_03" unique="NORMAL" >
<column name="mc_data_file_detail_id" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb3]]></options>
</table>
<table name="payment" row_count="0" spec="" >
<column name="payment_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="customer_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="staff_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" />
<column name="rental_id" type="INT" jt="4" />
<column name="amount" type="DECIMAL" length="5" decimal="2" jt="3" mandatory="y" />
<column name="payment_date" type="DATETIME" jt="93" mandatory="y" />
<column name="last_update" type="TIMESTAMP" jt="93" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_payment" unique="PRIMARY_KEY" >
<column name="payment_id" />
</index>
<index name="idx_fk_staff_id" unique="NORMAL" >
<column name="staff_id" />
</index>
<index name="idx_fk_customer_id" unique="NORMAL" >
<column name="customer_id" />
</index>
<index name="fk_payment_rental" unique="NORMAL" >
<column name="rental_id" />
</index>
<fk name="fk_payment_customer" to_schema="sakila" to_table="customer" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="customer_id" pk="customer_id" />
</fk>
<fk name="fk_payment_rental" to_schema="sakila" to_table="rental" delete_action="setNull" update_action="cascade" options="" >
<fk_column name="rental_id" pk="rental_id" />
</fk>
<fk name="fk_payment_staff" to_schema="sakila" to_table="staff" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="staff_id" pk="staff_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="persons" row_count="7680" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="firstname" type="VARCHAR" length="100" jt="12" mandatory="y" />
<column name="lastname" type="VARCHAR" length="100" jt="12" />
<column name="description" type="TEXT" jt="-1" >
<comment><![CDATA[This is a sample]]></comment>
</column>
<column name="description2" type="TEXT" jt="-1" />
<column name="description3" type="TEXT" jt="-1" />
<index name="pk_persons" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<index name="idx_persons_firstname" unique="NORMAL" >
<column name="firstname" />
<column name="lastname" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="persons_0" row_count="90096" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="firstname" type="VARCHAR" length="100" jt="12" mandatory="y" />
<column name="lastname" type="VARCHAR" length="100" jt="12" />
<column name="description" type="TEXT" jt="-1" >
<comment><![CDATA[This is a sample]]></comment>
</column>
<column name="description2" type="TEXT" jt="-1" />
<column name="description3" type="TEXT" jt="-1" />
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="ppg_2co" spec="" >
<column name="email" type="VARCHAR" length="261" jt="12" />
<column name="subscription_id" type="INT" jt="4" />
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="ppg_2co_all" spec="" >
<column name="subscription_id" type="INT" jt="4" />
<column name="name" type="VARCHAR" length="75" jt="12" />
<column name="initial order id" type="INT" jt="4" />
<column name="number of processed billing cycles" type="INT" jt="4" />
<column name="current subscription status" type="VARCHAR" length="11" jt="12" />
<column name="type of renewal" type="VARCHAR" length="7" jt="12" />
<column name="next charge amount" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="last charge date" type="DATE" jt="91" />
<column name="next charge date" type="DATE" jt="91" />
<column name="product id" type="INT" jt="4" />
<column name="customer first name" type="VARCHAR" length="52" jt="12" />
<column name="customer last name" type="VARCHAR" length="52" jt="12" />
<column name="email" type="VARCHAR" length="261" jt="12" />
<column name="company" type="VARCHAR" length="50" jt="12" />
<column name="country" type="VARCHAR" length="36" jt="12" />
<column name="customer country code" type="VARCHAR" length="2" jt="12" />
<column name="customer state" type="VARCHAR" length="41" jt="12" />
<column name="customer language" type="VARCHAR" length="13" jt="12" />
<column name="order id" type="INT" jt="4" />
<column name="order item id" type="INT" jt="4" />
<column name="quantity" type="INT" jt="4" />
<column name="max billing cycles" type="INT" jt="4" />
<column name="failed attempts" type="INT" jt="4" />
<column name="display initial price" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="display total price" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="display currency code" type="VARCHAR" length="3" jt="12" />
<column name="billing initial price" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="billing total price" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="billing currency code" type="VARCHAR" length="3" jt="12" />
<column name="sku" type="VARCHAR" length="0" jt="12" />
<column name="test mode" type="BOOLEAN" length="1" jt="16" />
<column name="affiliate" type="VARCHAR" length="0" jt="12" />
<column name="created at" type="DATE" jt="91" />
<column name="scheduled payment at" type="DATE" jt="91" />
<column name="has trial period" type="BOOLEAN" length="1" jt="16" />
<column name="billing period" type="VARCHAR" length="9" jt="12" />
<column name="grace period" type="VARCHAR" length="0" jt="12" />
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="ppg_computers" spec="" >
<column name="subscriptionid" type="BIGINT" jt="-5" mandatory="y" />
<column name="seat" type="INT" jt="4" mandatory="y" />
<column name="computer_id" type="VARCHAR" length="200" jt="12" mandatory="y" />
<column name="first_use_date" type="DATE" jt="91" >
<defo><![CDATA[curdate()]]></defo>
</column>
<column name="last_use_date" type="DATE" jt="91" >
<defo><![CDATA[curdate()]]></defo>
</column>
<index name="pk_ppg_computers" unique="PRIMARY_KEY" >
<column name="subscriptionid" />
<column name="seat" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="ppg_imported" spec="" >
<column name="subscription_id" type="INT" jt="4" />
<column name="email" type="VARCHAR" length="61" jt="12" />
<column name="first_name" type="VARCHAR" length="52" jt="12" />
<column name="last_name" type="VARCHAR" length="52" jt="12" />
<column name="company_name" type="VARCHAR" length="50" jt="12" />
<column name="payment_date" type="DATE" jt="91" />
<column name="quantity" type="INT" jt="4" />
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="ppg_orders" spec="" >
<column name="purchase_date" type="DATE" jt="91" mandatory="y" >
<defo><![CDATA[curdate()]]></defo>
</column>
<column name="productid" type="BIGINT" jt="-5" mandatory="y" />
<column name="orderid" type="BIGINT" jt="-5" mandatory="y" />
<column name="subscriptionid" type="BIGINT" jt="-5" mandatory="y" />
<column name="client_type" type="CHAR" length="3" jt="1" mandatory="y" />
<column name="license_type" type="CHAR" length="1" jt="1" mandatory="y" />
<column name="quantity" type="INT" jt="4" mandatory="y" />
<column name="email" type="VARCHAR" length="300" jt="12" />
<column name="customer_name" type="VARCHAR" length="400" jt="12" />
<column name="customer_language" type="CHAR" length="2" jt="1" />
<column name="customer_city" type="VARCHAR" length="400" jt="12" />
<column name="customer_address" type="VARCHAR" length="1000" jt="12" />
<column name="customer_zipcode" type="VARCHAR" length="100" jt="12" />
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="ppg_subscriptions" spec="" >
<column name="subscriptionid" type="BIGINT" jt="-5" mandatory="y" />
<column name="seat" type="INT" jt="4" mandatory="y" />
<column name="user_name" type="VARCHAR" length="400" jt="12" />
<column name="description" type="VARCHAR" length="2000" jt="12" />
<column name="license_key" type="VARCHAR" length="2000" jt="12" mandatory="y" />
<index name="pk_ppg_subscriptions" unique="PRIMARY_KEY" >
<column name="subscriptionid" />
<column name="seat" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="ppg_subscriptions2" spec="" >
<column name="subscription_id" type="INT" jt="4" />
<column name="name" type="VARCHAR" length="79" jt="12" />
<column name="initial order id" type="INT" jt="4" />
<column name="number of processed billing cycles" type="INT" jt="4" />
<column name="current subscription status" type="VARCHAR" length="13" jt="12" />
<column name="type of renewal" type="VARCHAR" length="7" jt="12" />
<column name="next charge amount" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="last charge date" type="DATE" jt="91" />
<column name="next charge date" type="DATE" jt="91" />
<column name="product id" type="INT" jt="4" />
<column name="first_name" type="VARCHAR" length="52" jt="12" />
<column name="last_name" type="VARCHAR" length="52" jt="12" />
<column name="email" type="VARCHAR" length="61" jt="12" />
<column name="company_name" type="VARCHAR" length="50" jt="12" />
<column name="customer country" type="VARCHAR" length="36" jt="12" />
<column name="customer country code" type="VARCHAR" length="2" jt="12" />
<column name="customer state" type="VARCHAR" length="41" jt="12" />
<column name="customer_language" type="VARCHAR" length="13" jt="12" />
<column name="orderid" type="INT" jt="4" />
<column name="order item id" type="INT" jt="4" />
<column name="quantity" type="INT" jt="4" />
<column name="max billing cycles" type="INT" jt="4" />
<column name="failed attempts" type="INT" jt="4" />
<column name="display initial price" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="display total price" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="display currency code" type="VARCHAR" length="3" jt="12" />
<column name="billing initial price" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="billing total price" type="DECIMAL" length="9" decimal="2" jt="3" />
<column name="billing currency code" type="VARCHAR" length="3" jt="12" />
<column name="sku" type="VARCHAR" length="0" jt="12" />
<column name="test mode" type="BOOLEAN" length="1" jt="16" />
<column name="affiliate" type="VARCHAR" length="0" jt="12" />
<column name="created at" type="DATE" jt="91" />
<column name="payment_date" type="DATE" jt="91" />
<column name="has trial period" type="BOOLEAN" length="1" jt="16" />
<column name="billing period" type="VARCHAR" length="10" jt="12" />
<column name="grace period" type="VARCHAR" length="10" jt="12" />
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="presentation" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="name" type="VARCHAR" length="100" jt="12" />
<index name="pk_presentation" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="rental" row_count="0" spec="" >
<column name="rental_id" type="INT" jt="4" mandatory="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="rental_date" type="DATETIME" jt="93" mandatory="y" />
<column name="inventory_id" type="MEDIUMINT" jt="4" mandatory="y" unsigned="y" />
<column name="customer_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="return_date" type="DATETIME" jt="93" />
<column name="staff_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_rental" unique="PRIMARY_KEY" >
<column name="rental_id" />
</index>
<index name="rental_date" unique="UNIQUE_KEY" >
<column name="rental_date" />
<column name="inventory_id" />
<column name="customer_id" />
</index>
<index name="idx_fk_inventory_id" unique="NORMAL" >
<column name="inventory_id" />
</index>
<index name="idx_fk_customer_id" unique="NORMAL" >
<column name="customer_id" />
</index>
<index name="idx_fk_staff_id" unique="NORMAL" >
<column name="staff_id" />
</index>
<fk name="fk_rental_customer" to_schema="sakila" to_table="customer" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="customer_id" pk="customer_id" />
</fk>
<fk name="fk_rental_inventory" to_schema="sakila" to_table="inventory" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="inventory_id" pk="inventory_id" />
</fk>
<fk name="fk_rental_staff" to_schema="sakila" to_table="staff" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="staff_id" pk="staff_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="sample" row_count="12055" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="firstname" type="VARCHAR" length="100" jt="12" />
<column name="lastname" type="VARCHAR" length="100" jt="12" />
<column name="description" type="TEXT" jt="-1" mandatory="y" />
<column name="male" type="TINYINT" length="1" jt="-6" />
<index name="pk_sample" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="sample1" row_count="0" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="firstname" type="VARCHAR" length="100" jt="12" />
<index name="pk_sample1" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="sample1_0" row_count="0" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="firstname" type="VARCHAR" length="100" jt="12" />
<index name="pk_sample1_0" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="staff" row_count="0" spec="" >
<comment><![CDATA[The staff members are listed here2.]]></comment>
<column name="staff_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="first_name" type="VARCHAR" length="45" jt="12" mandatory="y" >
<comment><![CDATA[last_name aa --> bb]]></comment>
</column>
<column name="last_name" type="VARCHAR" length="45" jt="12" mandatory="y" >
<comment><![CDATA[The last name]]></comment>
</column>
<column name="address_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="picture" type="BLOB" jt="2004" />
<column name="email" type="VARCHAR" length="50" jt="12" />
<column name="store_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" />
<column name="active" type="TINYINT" length="1" jt="-6" mandatory="y" >
<defo><![CDATA['1']]></defo>
</column>
<column name="username" type="VARCHAR" length="16" jt="12" mandatory="y" />
<column name="password" type="VARCHAR" length="40" jt="12" >
<column_options><![CDATA[CHARACTER SET utf8mb4 COLLATE utf8mb4_bin]]></column_options>
</column>
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_staff" unique="PRIMARY_KEY" >
<column name="staff_id" />
</index>
<index name="idx_fk_store_id" unique="NORMAL" >
<column name="store_id" />
</index>
<index name="idx_fk_address_id" unique="NORMAL" >
<column name="address_id" />
</index>
<fk name="fk_staff_address" to_schema="sakila" to_table="address" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="address_id" pk="address_id" />
</fk>
<fk name="fk_staff_store" to_schema="sakila" to_table="store" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="store_id" pk="store_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='The staff members are listed here2.']]></options>
</table>
<table name="store" row_count="0" spec="" >
<comment><![CDATA[The store.]]></comment>
<column name="store_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="manager_staff_id" type="TINYINT" jt="-6" mandatory="y" unsigned="y" />
<column name="address_id" type="SMALLINT" jt="5" mandatory="y" unsigned="y" />
<column name="last_update" type="TIMESTAMP" jt="93" mandatory="y" >
<defo><![CDATA[CURRENT_TIMESTAMP]]></defo>
<column_options><![CDATA[ON UPDATE CURRENT_TIMESTAMP]]></column_options>
</column>
<index name="pk_store" unique="PRIMARY_KEY" >
<column name="store_id" />
</index>
<index name="idx_unique_manager" unique="UNIQUE_KEY" >
<column name="manager_staff_id" />
</index>
<index name="idx_fk_address_id" unique="NORMAL" >
<column name="address_id" />
</index>
<fk name="fk_store_address" to_schema="sakila" to_table="address" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="address_id" pk="address_id" />
</fk>
<fk name="fk_store_staff" to_schema="sakila" to_table="staff" delete_action="restrict" update_action="cascade" options="" >
<fk_column name="manager_staff_id" pk="staff_id" />
</fk>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='ariba']]></options>
</table>
<table name="test02" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="name" type="VARCHAR" length="100" jt="12" />
<index name="pk_test02" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<fk name="fk_test02_test02_0" to_schema="sakila" to_table="test02_0" >
<fk_column name="id" pk="id" />
</fk>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="test02_0" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="name" type="VARCHAR" length="100" jt="12" />
<index name="pk_test02_0" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="test1" row_count="0" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="name" type="VARCHAR" length="100" jt="12" />
<column name="age" type="VARCHAR" length="1" jt="12" >
<defo><![CDATA['_utf8mb4'a'']]></defo>
</column>
<column name="age3" type="DOUBLE" jt="8" />
<index name="pk_test1" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="test1a" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="name" type="VARCHAR" length="100" jt="12" />
<index name="pk_test1a" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="test1b" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="name" type="VARCHAR" length="100" jt="12" />
<index name="pk_test1b" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<fk name="fk_test1b_test1a" to_schema="sakila" to_table="test1a" >
<fk_column name="id" pk="id" />
</fk>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="test_autoincrement" row_count="0" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" >
<identity><![CDATA[AUTO_INCREMENT]]></identity>
</column>
<column name="firstname" type="VARCHAR" length="100" jt="12" />
<column name="lastname" type="VARCHAR" length="100" jt="12" />
<column name="newcolumns" type="BOOLEAN" length="1" jt="16" />
<index name="pk_test_autoincrement" unique="PRIMARY_KEY" >
<column name="id" />
</index>
<options><![CDATA[ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci]]></options>
</table>
<table name="test_bool" spec="" >
<column name="id" type="INT" jt="4" mandatory="y" />
<column name="bool_field" type="TINYINT" length="1" jt="-6" />
<column name="name" type="VARCHAR" length="100" jt="12" />
<index name="pk_test_bool" unique="PRIMARY_KEY" >
<column name="id" />
</index>