create-fullstack-scaffold 0.4.24 → 0.4.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1198 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "37f66a85-6ecd-4f69-bedb-848c6ab0750f",
5
- "prevId": "1396c513-c561-4b4b-ae54-480e5b7a56ce",
6
- "tables": {
7
- "todos": {
8
- "name": "todos",
9
- "columns": {
10
- "id": {
11
- "name": "id",
12
- "type": "integer",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": true
16
- },
17
- "title": {
18
- "name": "title",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true,
22
- "autoincrement": false
23
- },
24
- "description": {
25
- "name": "description",
26
- "type": "text",
27
- "primaryKey": false,
28
- "notNull": false,
29
- "autoincrement": false
30
- },
31
- "status": {
32
- "name": "status",
33
- "type": "text",
34
- "primaryKey": false,
35
- "notNull": true,
36
- "autoincrement": false,
37
- "default": "'pending'"
38
- },
39
- "created_at": {
40
- "name": "created_at",
41
- "type": "integer",
42
- "primaryKey": false,
43
- "notNull": true,
44
- "autoincrement": false,
45
- "default": "(unixepoch() * 1000)"
46
- },
47
- "updated_at": {
48
- "name": "updated_at",
49
- "type": "integer",
50
- "primaryKey": false,
51
- "notNull": true,
52
- "autoincrement": false,
53
- "default": "(unixepoch() * 1000)"
54
- }
55
- },
56
- "indexes": {},
57
- "foreignKeys": {},
58
- "compositePrimaryKeys": {},
59
- "uniqueConstraints": {},
60
- "checkConstraints": {}
61
- },
62
- "todo_attachments": {
63
- "name": "todo_attachments",
64
- "columns": {
65
- "id": {
66
- "name": "id",
67
- "type": "integer",
68
- "primaryKey": true,
69
- "notNull": true,
70
- "autoincrement": true
71
- },
72
- "todo_id": {
73
- "name": "todo_id",
74
- "type": "integer",
75
- "primaryKey": false,
76
- "notNull": true,
77
- "autoincrement": false
78
- },
79
- "file_name": {
80
- "name": "file_name",
81
- "type": "text",
82
- "primaryKey": false,
83
- "notNull": true,
84
- "autoincrement": false
85
- },
86
- "original_name": {
87
- "name": "original_name",
88
- "type": "text",
89
- "primaryKey": false,
90
- "notNull": true,
91
- "autoincrement": false
92
- },
93
- "mime_type": {
94
- "name": "mime_type",
95
- "type": "text",
96
- "primaryKey": false,
97
- "notNull": true,
98
- "autoincrement": false
99
- },
100
- "size": {
101
- "name": "size",
102
- "type": "integer",
103
- "primaryKey": false,
104
- "notNull": true,
105
- "autoincrement": false
106
- },
107
- "path": {
108
- "name": "path",
109
- "type": "text",
110
- "primaryKey": false,
111
- "notNull": true,
112
- "autoincrement": false
113
- },
114
- "uploaded_by": {
115
- "name": "uploaded_by",
116
- "type": "text",
117
- "primaryKey": false,
118
- "notNull": false,
119
- "autoincrement": false
120
- },
121
- "created_at": {
122
- "name": "created_at",
123
- "type": "integer",
124
- "primaryKey": false,
125
- "notNull": true,
126
- "autoincrement": false,
127
- "default": "(unixepoch() * 1000)"
128
- }
129
- },
130
- "indexes": {},
131
- "foreignKeys": {
132
- "todo_attachments_todo_id_todos_id_fk": {
133
- "name": "todo_attachments_todo_id_todos_id_fk",
134
- "tableFrom": "todo_attachments",
135
- "tableTo": "todos",
136
- "columnsFrom": ["todo_id"],
137
- "columnsTo": ["id"],
138
- "onDelete": "cascade",
139
- "onUpdate": "no action"
140
- }
141
- },
142
- "compositePrimaryKeys": {},
143
- "uniqueConstraints": {},
144
- "checkConstraints": {}
145
- },
146
- "notifications": {
147
- "name": "notifications",
148
- "columns": {
149
- "id": {
150
- "name": "id",
151
- "type": "text",
152
- "primaryKey": true,
153
- "notNull": true,
154
- "autoincrement": false
155
- },
156
- "type": {
157
- "name": "type",
158
- "type": "text",
159
- "primaryKey": false,
160
- "notNull": true,
161
- "autoincrement": false
162
- },
163
- "title": {
164
- "name": "title",
165
- "type": "text",
166
- "primaryKey": false,
167
- "notNull": true,
168
- "autoincrement": false
169
- },
170
- "message": {
171
- "name": "message",
172
- "type": "text",
173
- "primaryKey": false,
174
- "notNull": true,
175
- "autoincrement": false
176
- },
177
- "read": {
178
- "name": "read",
179
- "type": "integer",
180
- "primaryKey": false,
181
- "notNull": true,
182
- "autoincrement": false,
183
- "default": false
184
- },
185
- "created_at": {
186
- "name": "created_at",
187
- "type": "integer",
188
- "primaryKey": false,
189
- "notNull": true,
190
- "autoincrement": false,
191
- "default": "(unixepoch() * 1000)"
192
- }
193
- },
194
- "indexes": {},
195
- "foreignKeys": {},
196
- "compositePrimaryKeys": {},
197
- "uniqueConstraints": {},
198
- "checkConstraints": {}
199
- },
200
- "permissions": {
201
- "name": "permissions",
202
- "columns": {
203
- "id": {
204
- "name": "id",
205
- "type": "text",
206
- "primaryKey": true,
207
- "notNull": true,
208
- "autoincrement": false
209
- },
210
- "code": {
211
- "name": "code",
212
- "type": "text",
213
- "primaryKey": false,
214
- "notNull": true,
215
- "autoincrement": false
216
- },
217
- "name": {
218
- "name": "name",
219
- "type": "text",
220
- "primaryKey": false,
221
- "notNull": true,
222
- "autoincrement": false
223
- },
224
- "label": {
225
- "name": "label",
226
- "type": "text",
227
- "primaryKey": false,
228
- "notNull": true,
229
- "autoincrement": false
230
- },
231
- "category": {
232
- "name": "category",
233
- "type": "text",
234
- "primaryKey": false,
235
- "notNull": true,
236
- "autoincrement": false
237
- },
238
- "description": {
239
- "name": "description",
240
- "type": "text",
241
- "primaryKey": false,
242
- "notNull": false,
243
- "autoincrement": false
244
- },
245
- "sort_order": {
246
- "name": "sort_order",
247
- "type": "integer",
248
- "primaryKey": false,
249
- "notNull": false,
250
- "autoincrement": false,
251
- "default": 0
252
- },
253
- "is_active": {
254
- "name": "is_active",
255
- "type": "integer",
256
- "primaryKey": false,
257
- "notNull": false,
258
- "autoincrement": false,
259
- "default": true
260
- },
261
- "created_at": {
262
- "name": "created_at",
263
- "type": "integer",
264
- "primaryKey": false,
265
- "notNull": false,
266
- "autoincrement": false
267
- },
268
- "updated_at": {
269
- "name": "updated_at",
270
- "type": "integer",
271
- "primaryKey": false,
272
- "notNull": false,
273
- "autoincrement": false
274
- }
275
- },
276
- "indexes": {
277
- "permissions_code_unique": {
278
- "name": "permissions_code_unique",
279
- "columns": ["code"],
280
- "isUnique": true
281
- }
282
- },
283
- "foreignKeys": {},
284
- "compositePrimaryKeys": {},
285
- "uniqueConstraints": {},
286
- "checkConstraints": {}
287
- },
288
- "roles": {
289
- "name": "roles",
290
- "columns": {
291
- "id": {
292
- "name": "id",
293
- "type": "text",
294
- "primaryKey": true,
295
- "notNull": true,
296
- "autoincrement": false
297
- },
298
- "code": {
299
- "name": "code",
300
- "type": "text",
301
- "primaryKey": false,
302
- "notNull": true,
303
- "autoincrement": false
304
- },
305
- "name": {
306
- "name": "name",
307
- "type": "text",
308
- "primaryKey": false,
309
- "notNull": true,
310
- "autoincrement": false
311
- },
312
- "label": {
313
- "name": "label",
314
- "type": "text",
315
- "primaryKey": false,
316
- "notNull": true,
317
- "autoincrement": false
318
- },
319
- "description": {
320
- "name": "description",
321
- "type": "text",
322
- "primaryKey": false,
323
- "notNull": false,
324
- "autoincrement": false
325
- },
326
- "is_system": {
327
- "name": "is_system",
328
- "type": "integer",
329
- "primaryKey": false,
330
- "notNull": false,
331
- "autoincrement": false,
332
- "default": false
333
- },
334
- "is_active": {
335
- "name": "is_active",
336
- "type": "integer",
337
- "primaryKey": false,
338
- "notNull": false,
339
- "autoincrement": false,
340
- "default": true
341
- },
342
- "sort_order": {
343
- "name": "sort_order",
344
- "type": "integer",
345
- "primaryKey": false,
346
- "notNull": false,
347
- "autoincrement": false,
348
- "default": 0
349
- },
350
- "created_at": {
351
- "name": "created_at",
352
- "type": "integer",
353
- "primaryKey": false,
354
- "notNull": false,
355
- "autoincrement": false
356
- },
357
- "updated_at": {
358
- "name": "updated_at",
359
- "type": "integer",
360
- "primaryKey": false,
361
- "notNull": false,
362
- "autoincrement": false
363
- }
364
- },
365
- "indexes": {
366
- "roles_code_unique": {
367
- "name": "roles_code_unique",
368
- "columns": ["code"],
369
- "isUnique": true
370
- }
371
- },
372
- "foreignKeys": {},
373
- "compositePrimaryKeys": {},
374
- "uniqueConstraints": {},
375
- "checkConstraints": {}
376
- },
377
- "role_permissions": {
378
- "name": "role_permissions",
379
- "columns": {
380
- "role_id": {
381
- "name": "role_id",
382
- "type": "text",
383
- "primaryKey": false,
384
- "notNull": true,
385
- "autoincrement": false
386
- },
387
- "permission_id": {
388
- "name": "permission_id",
389
- "type": "text",
390
- "primaryKey": false,
391
- "notNull": true,
392
- "autoincrement": false
393
- },
394
- "created_at": {
395
- "name": "created_at",
396
- "type": "integer",
397
- "primaryKey": false,
398
- "notNull": false,
399
- "autoincrement": false
400
- }
401
- },
402
- "indexes": {},
403
- "foreignKeys": {
404
- "role_permissions_role_id_roles_id_fk": {
405
- "name": "role_permissions_role_id_roles_id_fk",
406
- "tableFrom": "role_permissions",
407
- "tableTo": "roles",
408
- "columnsFrom": ["role_id"],
409
- "columnsTo": ["id"],
410
- "onDelete": "cascade",
411
- "onUpdate": "no action"
412
- },
413
- "role_permissions_permission_id_permissions_id_fk": {
414
- "name": "role_permissions_permission_id_permissions_id_fk",
415
- "tableFrom": "role_permissions",
416
- "tableTo": "permissions",
417
- "columnsFrom": ["permission_id"],
418
- "columnsTo": ["id"],
419
- "onDelete": "cascade",
420
- "onUpdate": "no action"
421
- }
422
- },
423
- "compositePrimaryKeys": {
424
- "role_permissions_role_id_permission_id_pk": {
425
- "columns": ["role_id", "permission_id"],
426
- "name": "role_permissions_role_id_permission_id_pk"
427
- }
428
- },
429
- "uniqueConstraints": {},
430
- "checkConstraints": {}
431
- },
432
- "user_roles": {
433
- "name": "user_roles",
434
- "columns": {
435
- "id": {
436
- "name": "id",
437
- "type": "text",
438
- "primaryKey": true,
439
- "notNull": true,
440
- "autoincrement": false
441
- },
442
- "user_id": {
443
- "name": "user_id",
444
- "type": "text",
445
- "primaryKey": false,
446
- "notNull": true,
447
- "autoincrement": false
448
- },
449
- "role_id": {
450
- "name": "role_id",
451
- "type": "text",
452
- "primaryKey": false,
453
- "notNull": true,
454
- "autoincrement": false
455
- },
456
- "assigned_by": {
457
- "name": "assigned_by",
458
- "type": "text",
459
- "primaryKey": false,
460
- "notNull": false,
461
- "autoincrement": false
462
- },
463
- "assigned_at": {
464
- "name": "assigned_at",
465
- "type": "integer",
466
- "primaryKey": false,
467
- "notNull": false,
468
- "autoincrement": false
469
- },
470
- "expires_at": {
471
- "name": "expires_at",
472
- "type": "integer",
473
- "primaryKey": false,
474
- "notNull": false,
475
- "autoincrement": false
476
- },
477
- "is_active": {
478
- "name": "is_active",
479
- "type": "integer",
480
- "primaryKey": false,
481
- "notNull": false,
482
- "autoincrement": false,
483
- "default": true
484
- }
485
- },
486
- "indexes": {},
487
- "foreignKeys": {
488
- "user_roles_role_id_roles_id_fk": {
489
- "name": "user_roles_role_id_roles_id_fk",
490
- "tableFrom": "user_roles",
491
- "tableTo": "roles",
492
- "columnsFrom": ["role_id"],
493
- "columnsTo": ["id"],
494
- "onDelete": "cascade",
495
- "onUpdate": "no action"
496
- }
497
- },
498
- "compositePrimaryKeys": {},
499
- "uniqueConstraints": {},
500
- "checkConstraints": {}
501
- },
502
- "routes": {
503
- "name": "routes",
504
- "columns": {
505
- "id": {
506
- "name": "id",
507
- "type": "text",
508
- "primaryKey": true,
509
- "notNull": true,
510
- "autoincrement": false
511
- },
512
- "path": {
513
- "name": "path",
514
- "type": "text",
515
- "primaryKey": false,
516
- "notNull": true,
517
- "autoincrement": false
518
- },
519
- "method": {
520
- "name": "method",
521
- "type": "text",
522
- "primaryKey": false,
523
- "notNull": true,
524
- "autoincrement": false
525
- },
526
- "name": {
527
- "name": "name",
528
- "type": "text",
529
- "primaryKey": false,
530
- "notNull": false,
531
- "autoincrement": false
532
- },
533
- "description": {
534
- "name": "description",
535
- "type": "text",
536
- "primaryKey": false,
537
- "notNull": false,
538
- "autoincrement": false
539
- },
540
- "module": {
541
- "name": "module",
542
- "type": "text",
543
- "primaryKey": false,
544
- "notNull": false,
545
- "autoincrement": false
546
- },
547
- "is_public": {
548
- "name": "is_public",
549
- "type": "integer",
550
- "primaryKey": false,
551
- "notNull": false,
552
- "autoincrement": false,
553
- "default": false
554
- },
555
- "is_active": {
556
- "name": "is_active",
557
- "type": "integer",
558
- "primaryKey": false,
559
- "notNull": false,
560
- "autoincrement": false,
561
- "default": true
562
- },
563
- "created_at": {
564
- "name": "created_at",
565
- "type": "integer",
566
- "primaryKey": false,
567
- "notNull": false,
568
- "autoincrement": false
569
- },
570
- "updated_at": {
571
- "name": "updated_at",
572
- "type": "integer",
573
- "primaryKey": false,
574
- "notNull": false,
575
- "autoincrement": false
576
- }
577
- },
578
- "indexes": {
579
- "routes_path_method_unique": {
580
- "name": "routes_path_method_unique",
581
- "columns": ["path", "method"],
582
- "isUnique": true
583
- }
584
- },
585
- "foreignKeys": {},
586
- "compositePrimaryKeys": {},
587
- "uniqueConstraints": {},
588
- "checkConstraints": {}
589
- },
590
- "permission_routes": {
591
- "name": "permission_routes",
592
- "columns": {
593
- "permission_id": {
594
- "name": "permission_id",
595
- "type": "text",
596
- "primaryKey": false,
597
- "notNull": true,
598
- "autoincrement": false
599
- },
600
- "route_id": {
601
- "name": "route_id",
602
- "type": "text",
603
- "primaryKey": false,
604
- "notNull": true,
605
- "autoincrement": false
606
- },
607
- "created_at": {
608
- "name": "created_at",
609
- "type": "integer",
610
- "primaryKey": false,
611
- "notNull": false,
612
- "autoincrement": false
613
- }
614
- },
615
- "indexes": {},
616
- "foreignKeys": {
617
- "permission_routes_permission_id_permissions_id_fk": {
618
- "name": "permission_routes_permission_id_permissions_id_fk",
619
- "tableFrom": "permission_routes",
620
- "tableTo": "permissions",
621
- "columnsFrom": ["permission_id"],
622
- "columnsTo": ["id"],
623
- "onDelete": "cascade",
624
- "onUpdate": "no action"
625
- },
626
- "permission_routes_route_id_routes_id_fk": {
627
- "name": "permission_routes_route_id_routes_id_fk",
628
- "tableFrom": "permission_routes",
629
- "tableTo": "routes",
630
- "columnsFrom": ["route_id"],
631
- "columnsTo": ["id"],
632
- "onDelete": "cascade",
633
- "onUpdate": "no action"
634
- }
635
- },
636
- "compositePrimaryKeys": {
637
- "permission_routes_permission_id_route_id_pk": {
638
- "columns": ["permission_id", "route_id"],
639
- "name": "permission_routes_permission_id_route_id_pk"
640
- }
641
- },
642
- "uniqueConstraints": {},
643
- "checkConstraints": {}
644
- },
645
- "permission_audit_logs": {
646
- "name": "permission_audit_logs",
647
- "columns": {
648
- "id": {
649
- "name": "id",
650
- "type": "text",
651
- "primaryKey": true,
652
- "notNull": true,
653
- "autoincrement": false
654
- },
655
- "user_id": {
656
- "name": "user_id",
657
- "type": "text",
658
- "primaryKey": false,
659
- "notNull": true,
660
- "autoincrement": false
661
- },
662
- "action": {
663
- "name": "action",
664
- "type": "text",
665
- "primaryKey": false,
666
- "notNull": true,
667
- "autoincrement": false
668
- },
669
- "resource_type": {
670
- "name": "resource_type",
671
- "type": "text",
672
- "primaryKey": false,
673
- "notNull": true,
674
- "autoincrement": false
675
- },
676
- "resource_id": {
677
- "name": "resource_id",
678
- "type": "text",
679
- "primaryKey": false,
680
- "notNull": false,
681
- "autoincrement": false
682
- },
683
- "old_value": {
684
- "name": "old_value",
685
- "type": "text",
686
- "primaryKey": false,
687
- "notNull": false,
688
- "autoincrement": false
689
- },
690
- "new_value": {
691
- "name": "new_value",
692
- "type": "text",
693
- "primaryKey": false,
694
- "notNull": false,
695
- "autoincrement": false
696
- },
697
- "ip_address": {
698
- "name": "ip_address",
699
- "type": "text",
700
- "primaryKey": false,
701
- "notNull": false,
702
- "autoincrement": false
703
- },
704
- "user_agent": {
705
- "name": "user_agent",
706
- "type": "text",
707
- "primaryKey": false,
708
- "notNull": false,
709
- "autoincrement": false
710
- },
711
- "created_at": {
712
- "name": "created_at",
713
- "type": "integer",
714
- "primaryKey": false,
715
- "notNull": false,
716
- "autoincrement": false
717
- }
718
- },
719
- "indexes": {},
720
- "foreignKeys": {},
721
- "compositePrimaryKeys": {},
722
- "uniqueConstraints": {},
723
- "checkConstraints": {}
724
- },
725
- "orders": {
726
- "name": "orders",
727
- "columns": {
728
- "id": {
729
- "name": "id",
730
- "type": "integer",
731
- "primaryKey": true,
732
- "notNull": true,
733
- "autoincrement": true
734
- },
735
- "order_no": {
736
- "name": "order_no",
737
- "type": "text",
738
- "primaryKey": false,
739
- "notNull": true,
740
- "autoincrement": false
741
- },
742
- "customer_name": {
743
- "name": "customer_name",
744
- "type": "text",
745
- "primaryKey": false,
746
- "notNull": true,
747
- "autoincrement": false
748
- },
749
- "customer_email": {
750
- "name": "customer_email",
751
- "type": "text",
752
- "primaryKey": false,
753
- "notNull": true,
754
- "autoincrement": false
755
- },
756
- "product_name": {
757
- "name": "product_name",
758
- "type": "text",
759
- "primaryKey": false,
760
- "notNull": true,
761
- "autoincrement": false
762
- },
763
- "amount": {
764
- "name": "amount",
765
- "type": "integer",
766
- "primaryKey": false,
767
- "notNull": true,
768
- "autoincrement": false
769
- },
770
- "status": {
771
- "name": "status",
772
- "type": "text",
773
- "primaryKey": false,
774
- "notNull": true,
775
- "autoincrement": false,
776
- "default": "'pending'"
777
- },
778
- "created_at": {
779
- "name": "created_at",
780
- "type": "integer",
781
- "primaryKey": false,
782
- "notNull": true,
783
- "autoincrement": false,
784
- "default": "(unixepoch() * 1000)"
785
- },
786
- "updated_at": {
787
- "name": "updated_at",
788
- "type": "integer",
789
- "primaryKey": false,
790
- "notNull": true,
791
- "autoincrement": false,
792
- "default": "(unixepoch() * 1000)"
793
- }
794
- },
795
- "indexes": {},
796
- "foreignKeys": {},
797
- "compositePrimaryKeys": {},
798
- "uniqueConstraints": {},
799
- "checkConstraints": {}
800
- },
801
- "ticket_replies": {
802
- "name": "ticket_replies",
803
- "columns": {
804
- "id": {
805
- "name": "id",
806
- "type": "integer",
807
- "primaryKey": true,
808
- "notNull": true,
809
- "autoincrement": true
810
- },
811
- "ticket_id": {
812
- "name": "ticket_id",
813
- "type": "integer",
814
- "primaryKey": false,
815
- "notNull": true,
816
- "autoincrement": false
817
- },
818
- "content": {
819
- "name": "content",
820
- "type": "text",
821
- "primaryKey": false,
822
- "notNull": true,
823
- "autoincrement": false
824
- },
825
- "author": {
826
- "name": "author",
827
- "type": "text",
828
- "primaryKey": false,
829
- "notNull": true,
830
- "autoincrement": false
831
- },
832
- "is_customer": {
833
- "name": "is_customer",
834
- "type": "integer",
835
- "primaryKey": false,
836
- "notNull": true,
837
- "autoincrement": false,
838
- "default": false
839
- },
840
- "created_at": {
841
- "name": "created_at",
842
- "type": "integer",
843
- "primaryKey": false,
844
- "notNull": true,
845
- "autoincrement": false,
846
- "default": "(unixepoch() * 1000)"
847
- }
848
- },
849
- "indexes": {},
850
- "foreignKeys": {
851
- "ticket_replies_ticket_id_tickets_id_fk": {
852
- "name": "ticket_replies_ticket_id_tickets_id_fk",
853
- "tableFrom": "ticket_replies",
854
- "tableTo": "tickets",
855
- "columnsFrom": ["ticket_id"],
856
- "columnsTo": ["id"],
857
- "onDelete": "cascade",
858
- "onUpdate": "no action"
859
- }
860
- },
861
- "compositePrimaryKeys": {},
862
- "uniqueConstraints": {},
863
- "checkConstraints": {}
864
- },
865
- "tickets": {
866
- "name": "tickets",
867
- "columns": {
868
- "id": {
869
- "name": "id",
870
- "type": "integer",
871
- "primaryKey": true,
872
- "notNull": true,
873
- "autoincrement": true
874
- },
875
- "ticket_no": {
876
- "name": "ticket_no",
877
- "type": "text",
878
- "primaryKey": false,
879
- "notNull": true,
880
- "autoincrement": false
881
- },
882
- "customer_name": {
883
- "name": "customer_name",
884
- "type": "text",
885
- "primaryKey": false,
886
- "notNull": true,
887
- "autoincrement": false
888
- },
889
- "customer_email": {
890
- "name": "customer_email",
891
- "type": "text",
892
- "primaryKey": false,
893
- "notNull": true,
894
- "autoincrement": false
895
- },
896
- "subject": {
897
- "name": "subject",
898
- "type": "text",
899
- "primaryKey": false,
900
- "notNull": true,
901
- "autoincrement": false
902
- },
903
- "description": {
904
- "name": "description",
905
- "type": "text",
906
- "primaryKey": false,
907
- "notNull": true,
908
- "autoincrement": false
909
- },
910
- "status": {
911
- "name": "status",
912
- "type": "text",
913
- "primaryKey": false,
914
- "notNull": true,
915
- "autoincrement": false,
916
- "default": "'open'"
917
- },
918
- "priority": {
919
- "name": "priority",
920
- "type": "text",
921
- "primaryKey": false,
922
- "notNull": true,
923
- "autoincrement": false,
924
- "default": "'medium'"
925
- },
926
- "category": {
927
- "name": "category",
928
- "type": "text",
929
- "primaryKey": false,
930
- "notNull": true,
931
- "autoincrement": false
932
- },
933
- "assigned_to": {
934
- "name": "assigned_to",
935
- "type": "text",
936
- "primaryKey": false,
937
- "notNull": false,
938
- "autoincrement": false
939
- },
940
- "created_at": {
941
- "name": "created_at",
942
- "type": "integer",
943
- "primaryKey": false,
944
- "notNull": true,
945
- "autoincrement": false,
946
- "default": "(unixepoch() * 1000)"
947
- },
948
- "updated_at": {
949
- "name": "updated_at",
950
- "type": "integer",
951
- "primaryKey": false,
952
- "notNull": true,
953
- "autoincrement": false,
954
- "default": "(unixepoch() * 1000)"
955
- }
956
- },
957
- "indexes": {},
958
- "foreignKeys": {},
959
- "compositePrimaryKeys": {},
960
- "uniqueConstraints": {},
961
- "checkConstraints": {}
962
- },
963
- "disputes": {
964
- "name": "disputes",
965
- "columns": {
966
- "id": {
967
- "name": "id",
968
- "type": "integer",
969
- "primaryKey": true,
970
- "notNull": true,
971
- "autoincrement": true
972
- },
973
- "dispute_no": {
974
- "name": "dispute_no",
975
- "type": "text",
976
- "primaryKey": false,
977
- "notNull": true,
978
- "autoincrement": false
979
- },
980
- "order_id": {
981
- "name": "order_id",
982
- "type": "text",
983
- "primaryKey": false,
984
- "notNull": true,
985
- "autoincrement": false
986
- },
987
- "order_no": {
988
- "name": "order_no",
989
- "type": "text",
990
- "primaryKey": false,
991
- "notNull": true,
992
- "autoincrement": false
993
- },
994
- "customer_name": {
995
- "name": "customer_name",
996
- "type": "text",
997
- "primaryKey": false,
998
- "notNull": true,
999
- "autoincrement": false
1000
- },
1001
- "customer_email": {
1002
- "name": "customer_email",
1003
- "type": "text",
1004
- "primaryKey": false,
1005
- "notNull": true,
1006
- "autoincrement": false
1007
- },
1008
- "type": {
1009
- "name": "type",
1010
- "type": "text",
1011
- "primaryKey": false,
1012
- "notNull": true,
1013
- "autoincrement": false
1014
- },
1015
- "status": {
1016
- "name": "status",
1017
- "type": "text",
1018
- "primaryKey": false,
1019
- "notNull": true,
1020
- "autoincrement": false,
1021
- "default": "'pending'"
1022
- },
1023
- "description": {
1024
- "name": "description",
1025
- "type": "text",
1026
- "primaryKey": false,
1027
- "notNull": true,
1028
- "autoincrement": false
1029
- },
1030
- "resolution": {
1031
- "name": "resolution",
1032
- "type": "text",
1033
- "primaryKey": false,
1034
- "notNull": false,
1035
- "autoincrement": false
1036
- },
1037
- "amount": {
1038
- "name": "amount",
1039
- "type": "integer",
1040
- "primaryKey": false,
1041
- "notNull": true,
1042
- "autoincrement": false
1043
- },
1044
- "resolved_at": {
1045
- "name": "resolved_at",
1046
- "type": "integer",
1047
- "primaryKey": false,
1048
- "notNull": false,
1049
- "autoincrement": false
1050
- },
1051
- "resolved_by": {
1052
- "name": "resolved_by",
1053
- "type": "text",
1054
- "primaryKey": false,
1055
- "notNull": false,
1056
- "autoincrement": false
1057
- },
1058
- "created_at": {
1059
- "name": "created_at",
1060
- "type": "integer",
1061
- "primaryKey": false,
1062
- "notNull": true,
1063
- "autoincrement": false,
1064
- "default": "(unixepoch() * 1000)"
1065
- },
1066
- "updated_at": {
1067
- "name": "updated_at",
1068
- "type": "integer",
1069
- "primaryKey": false,
1070
- "notNull": true,
1071
- "autoincrement": false,
1072
- "default": "(unixepoch() * 1000)"
1073
- }
1074
- },
1075
- "indexes": {},
1076
- "foreignKeys": {},
1077
- "compositePrimaryKeys": {},
1078
- "uniqueConstraints": {},
1079
- "checkConstraints": {}
1080
- },
1081
- "contents": {
1082
- "name": "contents",
1083
- "columns": {
1084
- "id": {
1085
- "name": "id",
1086
- "type": "integer",
1087
- "primaryKey": true,
1088
- "notNull": true,
1089
- "autoincrement": true
1090
- },
1091
- "title": {
1092
- "name": "title",
1093
- "type": "text",
1094
- "primaryKey": false,
1095
- "notNull": true,
1096
- "autoincrement": false
1097
- },
1098
- "body": {
1099
- "name": "body",
1100
- "type": "text",
1101
- "primaryKey": false,
1102
- "notNull": true,
1103
- "autoincrement": false
1104
- },
1105
- "excerpt": {
1106
- "name": "excerpt",
1107
- "type": "text",
1108
- "primaryKey": false,
1109
- "notNull": false,
1110
- "autoincrement": false
1111
- },
1112
- "category": {
1113
- "name": "category",
1114
- "type": "text",
1115
- "primaryKey": false,
1116
- "notNull": true,
1117
- "autoincrement": false
1118
- },
1119
- "tags": {
1120
- "name": "tags",
1121
- "type": "text",
1122
- "primaryKey": false,
1123
- "notNull": false,
1124
- "autoincrement": false
1125
- },
1126
- "status": {
1127
- "name": "status",
1128
- "type": "text",
1129
- "primaryKey": false,
1130
- "notNull": true,
1131
- "autoincrement": false,
1132
- "default": "'draft'"
1133
- },
1134
- "author": {
1135
- "name": "author",
1136
- "type": "text",
1137
- "primaryKey": false,
1138
- "notNull": true,
1139
- "autoincrement": false
1140
- },
1141
- "view_count": {
1142
- "name": "view_count",
1143
- "type": "integer",
1144
- "primaryKey": false,
1145
- "notNull": true,
1146
- "autoincrement": false,
1147
- "default": 0
1148
- },
1149
- "like_count": {
1150
- "name": "like_count",
1151
- "type": "integer",
1152
- "primaryKey": false,
1153
- "notNull": true,
1154
- "autoincrement": false,
1155
- "default": 0
1156
- },
1157
- "published_at": {
1158
- "name": "published_at",
1159
- "type": "integer",
1160
- "primaryKey": false,
1161
- "notNull": false,
1162
- "autoincrement": false
1163
- },
1164
- "created_at": {
1165
- "name": "created_at",
1166
- "type": "integer",
1167
- "primaryKey": false,
1168
- "notNull": true,
1169
- "autoincrement": false,
1170
- "default": "(unixepoch() * 1000)"
1171
- },
1172
- "updated_at": {
1173
- "name": "updated_at",
1174
- "type": "integer",
1175
- "primaryKey": false,
1176
- "notNull": true,
1177
- "autoincrement": false,
1178
- "default": "(unixepoch() * 1000)"
1179
- }
1180
- },
1181
- "indexes": {},
1182
- "foreignKeys": {},
1183
- "compositePrimaryKeys": {},
1184
- "uniqueConstraints": {},
1185
- "checkConstraints": {}
1186
- }
1187
- },
1188
- "views": {},
1189
- "enums": {},
1190
- "_meta": {
1191
- "schemas": {},
1192
- "tables": {},
1193
- "columns": {}
1194
- },
1195
- "internal": {
1196
- "indexes": {}
1197
- }
1198
- }