@nymbalhq/platform 0.0.0-stage → 1.0.0

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.
Files changed (48) hide show
  1. package/dist/chunk-74KODSYJ.js +2564 -0
  2. package/dist/chunk-74KODSYJ.js.map +1 -0
  3. package/dist/chunk-PW6ILJF7.js +740 -0
  4. package/dist/chunk-PW6ILJF7.js.map +1 -0
  5. package/dist/chunk-PZ5AY32C.js +10 -0
  6. package/dist/chunk-PZ5AY32C.js.map +1 -0
  7. package/dist/db/schema/index.d.ts +10125 -0
  8. package/dist/db/schema/index.js +10 -0
  9. package/dist/db/schema/index.js.map +1 -0
  10. package/dist/index.d.ts +1373 -0
  11. package/dist/index.js +6462 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/register-IVFYBJSX.js +8 -0
  14. package/dist/register-IVFYBJSX.js.map +1 -0
  15. package/drizzle.config.postgres.ts +10 -0
  16. package/drizzle.config.sqlite.ts +10 -0
  17. package/migrations/postgres/0000_tearful_longshot.sql +166 -0
  18. package/migrations/postgres/0001_neat_zeigeist.sql +1 -0
  19. package/migrations/postgres/0002_sloppy_mad_thinker.sql +20 -0
  20. package/migrations/postgres/0003_violet_violations.sql +15 -0
  21. package/migrations/postgres/0004_white_reavers.sql +15 -0
  22. package/migrations/postgres/0005_natural_nico_minoru.sql +12 -0
  23. package/migrations/postgres/0006_minor_dragon_man.sql +28 -0
  24. package/migrations/postgres/meta/0000_snapshot.json +1172 -0
  25. package/migrations/postgres/meta/0001_snapshot.json +1187 -0
  26. package/migrations/postgres/meta/0002_snapshot.json +1325 -0
  27. package/migrations/postgres/meta/0003_snapshot.json +1432 -0
  28. package/migrations/postgres/meta/0004_snapshot.json +1439 -0
  29. package/migrations/postgres/meta/0005_snapshot.json +1461 -0
  30. package/migrations/postgres/meta/0006_snapshot.json +1598 -0
  31. package/migrations/postgres/meta/_journal.json +55 -0
  32. package/migrations/sqlite/0000_glorious_vision.sql +166 -0
  33. package/migrations/sqlite/0001_tricky_glorian.sql +1 -0
  34. package/migrations/sqlite/0002_puzzling_epoch.sql +19 -0
  35. package/migrations/sqlite/0003_fantastic_captain_stacy.sql +15 -0
  36. package/migrations/sqlite/0004_remarkable_shriek.sql +12 -0
  37. package/migrations/sqlite/0005_conscious_speedball.sql +13 -0
  38. package/migrations/sqlite/0006_flat_psylocke.sql +28 -0
  39. package/migrations/sqlite/meta/0000_snapshot.json +1093 -0
  40. package/migrations/sqlite/meta/0001_snapshot.json +1100 -0
  41. package/migrations/sqlite/meta/0002_snapshot.json +1222 -0
  42. package/migrations/sqlite/meta/0003_snapshot.json +1320 -0
  43. package/migrations/sqlite/meta/0004_snapshot.json +1328 -0
  44. package/migrations/sqlite/meta/0005_snapshot.json +1343 -0
  45. package/migrations/sqlite/meta/0006_snapshot.json +1470 -0
  46. package/migrations/sqlite/meta/_journal.json +55 -0
  47. package/package.json +85 -3
  48. package/README.md +0 -3
@@ -0,0 +1,1598 @@
1
+ {
2
+ "id": "230ade84-754a-49e5-a25a-6515bd6340ff",
3
+ "prevId": "e293e65d-6042-4e57-a0f3-1905c3637381",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.carts": {
8
+ "name": "carts",
9
+ "schema": "",
10
+ "columns": {
11
+ "token": {
12
+ "name": "token",
13
+ "type": "text",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "customer_id": {
18
+ "name": "customer_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": false
22
+ },
23
+ "currency": {
24
+ "name": "currency",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "items": {
30
+ "name": "items",
31
+ "type": "jsonb",
32
+ "primaryKey": false,
33
+ "notNull": true,
34
+ "default": "'[]'::jsonb"
35
+ },
36
+ "line_count": {
37
+ "name": "line_count",
38
+ "type": "integer",
39
+ "primaryKey": false,
40
+ "notNull": true,
41
+ "default": 0
42
+ },
43
+ "subtotal_minor": {
44
+ "name": "subtotal_minor",
45
+ "type": "integer",
46
+ "primaryKey": false,
47
+ "notNull": true,
48
+ "default": 0
49
+ },
50
+ "expires_at": {
51
+ "name": "expires_at",
52
+ "type": "timestamp with time zone",
53
+ "primaryKey": false,
54
+ "notNull": true
55
+ },
56
+ "created_at": {
57
+ "name": "created_at",
58
+ "type": "timestamp with time zone",
59
+ "primaryKey": false,
60
+ "notNull": true
61
+ },
62
+ "updated_at": {
63
+ "name": "updated_at",
64
+ "type": "timestamp with time zone",
65
+ "primaryKey": false,
66
+ "notNull": true
67
+ },
68
+ "abandoned_notified_at": {
69
+ "name": "abandoned_notified_at",
70
+ "type": "timestamp with time zone",
71
+ "primaryKey": false,
72
+ "notNull": false
73
+ }
74
+ },
75
+ "indexes": {
76
+ "carts_expires_idx": {
77
+ "name": "carts_expires_idx",
78
+ "columns": [
79
+ {
80
+ "expression": "expires_at",
81
+ "isExpression": false,
82
+ "asc": true,
83
+ "nulls": "last"
84
+ }
85
+ ],
86
+ "isUnique": false,
87
+ "concurrently": false,
88
+ "method": "btree",
89
+ "with": {}
90
+ },
91
+ "carts_updated_idx": {
92
+ "name": "carts_updated_idx",
93
+ "columns": [
94
+ {
95
+ "expression": "updated_at",
96
+ "isExpression": false,
97
+ "asc": true,
98
+ "nulls": "last"
99
+ }
100
+ ],
101
+ "isUnique": false,
102
+ "concurrently": false,
103
+ "method": "btree",
104
+ "with": {}
105
+ }
106
+ },
107
+ "foreignKeys": {},
108
+ "compositePrimaryKeys": {},
109
+ "uniqueConstraints": {},
110
+ "policies": {},
111
+ "checkConstraints": {},
112
+ "isRLSEnabled": false
113
+ },
114
+ "public.categories": {
115
+ "name": "categories",
116
+ "schema": "",
117
+ "columns": {
118
+ "id": {
119
+ "name": "id",
120
+ "type": "text",
121
+ "primaryKey": true,
122
+ "notNull": true
123
+ },
124
+ "parent_id": {
125
+ "name": "parent_id",
126
+ "type": "text",
127
+ "primaryKey": false,
128
+ "notNull": false
129
+ },
130
+ "slug": {
131
+ "name": "slug",
132
+ "type": "text",
133
+ "primaryKey": false,
134
+ "notNull": true
135
+ },
136
+ "name": {
137
+ "name": "name",
138
+ "type": "text",
139
+ "primaryKey": false,
140
+ "notNull": true
141
+ },
142
+ "description": {
143
+ "name": "description",
144
+ "type": "text",
145
+ "primaryKey": false,
146
+ "notNull": true,
147
+ "default": "''"
148
+ },
149
+ "position": {
150
+ "name": "position",
151
+ "type": "integer",
152
+ "primaryKey": false,
153
+ "notNull": true,
154
+ "default": 0
155
+ },
156
+ "created_at": {
157
+ "name": "created_at",
158
+ "type": "timestamp with time zone",
159
+ "primaryKey": false,
160
+ "notNull": true
161
+ }
162
+ },
163
+ "indexes": {
164
+ "categories_slug_unique": {
165
+ "name": "categories_slug_unique",
166
+ "columns": [
167
+ {
168
+ "expression": "slug",
169
+ "isExpression": false,
170
+ "asc": true,
171
+ "nulls": "last"
172
+ }
173
+ ],
174
+ "isUnique": true,
175
+ "concurrently": false,
176
+ "method": "btree",
177
+ "with": {}
178
+ },
179
+ "categories_parent_idx": {
180
+ "name": "categories_parent_idx",
181
+ "columns": [
182
+ {
183
+ "expression": "parent_id",
184
+ "isExpression": false,
185
+ "asc": true,
186
+ "nulls": "last"
187
+ }
188
+ ],
189
+ "isUnique": false,
190
+ "concurrently": false,
191
+ "method": "btree",
192
+ "with": {}
193
+ }
194
+ },
195
+ "foreignKeys": {},
196
+ "compositePrimaryKeys": {},
197
+ "uniqueConstraints": {},
198
+ "policies": {},
199
+ "checkConstraints": {},
200
+ "isRLSEnabled": false
201
+ },
202
+ "public.customers": {
203
+ "name": "customers",
204
+ "schema": "",
205
+ "columns": {
206
+ "id": {
207
+ "name": "id",
208
+ "type": "text",
209
+ "primaryKey": true,
210
+ "notNull": true
211
+ },
212
+ "email": {
213
+ "name": "email",
214
+ "type": "text",
215
+ "primaryKey": false,
216
+ "notNull": true
217
+ },
218
+ "password_hash": {
219
+ "name": "password_hash",
220
+ "type": "text",
221
+ "primaryKey": false,
222
+ "notNull": true
223
+ },
224
+ "first_name": {
225
+ "name": "first_name",
226
+ "type": "text",
227
+ "primaryKey": false,
228
+ "notNull": true,
229
+ "default": "''"
230
+ },
231
+ "last_name": {
232
+ "name": "last_name",
233
+ "type": "text",
234
+ "primaryKey": false,
235
+ "notNull": true,
236
+ "default": "''"
237
+ },
238
+ "phone": {
239
+ "name": "phone",
240
+ "type": "text",
241
+ "primaryKey": false,
242
+ "notNull": true,
243
+ "default": "''"
244
+ },
245
+ "addresses": {
246
+ "name": "addresses",
247
+ "type": "jsonb",
248
+ "primaryKey": false,
249
+ "notNull": true,
250
+ "default": "'[]'::jsonb"
251
+ },
252
+ "order_count": {
253
+ "name": "order_count",
254
+ "type": "integer",
255
+ "primaryKey": false,
256
+ "notNull": true,
257
+ "default": 0
258
+ },
259
+ "total_spent_minor": {
260
+ "name": "total_spent_minor",
261
+ "type": "integer",
262
+ "primaryKey": false,
263
+ "notNull": true,
264
+ "default": 0
265
+ },
266
+ "metadata": {
267
+ "name": "metadata",
268
+ "type": "jsonb",
269
+ "primaryKey": false,
270
+ "notNull": true,
271
+ "default": "'{}'::jsonb"
272
+ },
273
+ "roles": {
274
+ "name": "roles",
275
+ "type": "jsonb",
276
+ "primaryKey": false,
277
+ "notNull": true,
278
+ "default": "'[\"customer\"]'::jsonb"
279
+ },
280
+ "requires_password_reset": {
281
+ "name": "requires_password_reset",
282
+ "type": "boolean",
283
+ "primaryKey": false,
284
+ "notNull": true,
285
+ "default": false
286
+ },
287
+ "created_at": {
288
+ "name": "created_at",
289
+ "type": "timestamp with time zone",
290
+ "primaryKey": false,
291
+ "notNull": true
292
+ },
293
+ "updated_at": {
294
+ "name": "updated_at",
295
+ "type": "timestamp with time zone",
296
+ "primaryKey": false,
297
+ "notNull": true
298
+ }
299
+ },
300
+ "indexes": {
301
+ "customers_email_unique": {
302
+ "name": "customers_email_unique",
303
+ "columns": [
304
+ {
305
+ "expression": "email",
306
+ "isExpression": false,
307
+ "asc": true,
308
+ "nulls": "last"
309
+ }
310
+ ],
311
+ "isUnique": true,
312
+ "concurrently": false,
313
+ "method": "btree",
314
+ "with": {}
315
+ }
316
+ },
317
+ "foreignKeys": {},
318
+ "compositePrimaryKeys": {},
319
+ "uniqueConstraints": {},
320
+ "policies": {},
321
+ "checkConstraints": {},
322
+ "isRLSEnabled": false
323
+ },
324
+ "public.events": {
325
+ "name": "events",
326
+ "schema": "",
327
+ "columns": {
328
+ "seq": {
329
+ "name": "seq",
330
+ "type": "bigserial",
331
+ "primaryKey": true,
332
+ "notNull": true
333
+ },
334
+ "id": {
335
+ "name": "id",
336
+ "type": "text",
337
+ "primaryKey": false,
338
+ "notNull": true
339
+ },
340
+ "type": {
341
+ "name": "type",
342
+ "type": "text",
343
+ "primaryKey": false,
344
+ "notNull": true
345
+ },
346
+ "envelope": {
347
+ "name": "envelope",
348
+ "type": "jsonb",
349
+ "primaryKey": false,
350
+ "notNull": true
351
+ },
352
+ "created_at": {
353
+ "name": "created_at",
354
+ "type": "timestamp with time zone",
355
+ "primaryKey": false,
356
+ "notNull": true
357
+ },
358
+ "delivered_at": {
359
+ "name": "delivered_at",
360
+ "type": "timestamp with time zone",
361
+ "primaryKey": false,
362
+ "notNull": false
363
+ },
364
+ "attempts": {
365
+ "name": "attempts",
366
+ "type": "integer",
367
+ "primaryKey": false,
368
+ "notNull": true,
369
+ "default": 0
370
+ },
371
+ "dead_at": {
372
+ "name": "dead_at",
373
+ "type": "timestamp with time zone",
374
+ "primaryKey": false,
375
+ "notNull": false
376
+ }
377
+ },
378
+ "indexes": {
379
+ "events_id_unique": {
380
+ "name": "events_id_unique",
381
+ "columns": [
382
+ {
383
+ "expression": "id",
384
+ "isExpression": false,
385
+ "asc": true,
386
+ "nulls": "last"
387
+ }
388
+ ],
389
+ "isUnique": true,
390
+ "concurrently": false,
391
+ "method": "btree",
392
+ "with": {}
393
+ },
394
+ "events_undelivered_idx": {
395
+ "name": "events_undelivered_idx",
396
+ "columns": [
397
+ {
398
+ "expression": "delivered_at",
399
+ "isExpression": false,
400
+ "asc": true,
401
+ "nulls": "last"
402
+ },
403
+ {
404
+ "expression": "seq",
405
+ "isExpression": false,
406
+ "asc": true,
407
+ "nulls": "last"
408
+ }
409
+ ],
410
+ "isUnique": false,
411
+ "concurrently": false,
412
+ "method": "btree",
413
+ "with": {}
414
+ }
415
+ },
416
+ "foreignKeys": {},
417
+ "compositePrimaryKeys": {},
418
+ "uniqueConstraints": {},
419
+ "policies": {},
420
+ "checkConstraints": {},
421
+ "isRLSEnabled": false
422
+ },
423
+ "public.inventory_reservations": {
424
+ "name": "inventory_reservations",
425
+ "schema": "",
426
+ "columns": {
427
+ "reservation_id": {
428
+ "name": "reservation_id",
429
+ "type": "text",
430
+ "primaryKey": true,
431
+ "notNull": true
432
+ },
433
+ "variant_id": {
434
+ "name": "variant_id",
435
+ "type": "text",
436
+ "primaryKey": false,
437
+ "notNull": true
438
+ },
439
+ "qty": {
440
+ "name": "qty",
441
+ "type": "integer",
442
+ "primaryKey": false,
443
+ "notNull": true
444
+ },
445
+ "order_ref": {
446
+ "name": "order_ref",
447
+ "type": "text",
448
+ "primaryKey": false,
449
+ "notNull": false
450
+ },
451
+ "expires_at": {
452
+ "name": "expires_at",
453
+ "type": "timestamp with time zone",
454
+ "primaryKey": false,
455
+ "notNull": true
456
+ },
457
+ "created_at": {
458
+ "name": "created_at",
459
+ "type": "timestamp with time zone",
460
+ "primaryKey": false,
461
+ "notNull": true
462
+ }
463
+ },
464
+ "indexes": {
465
+ "inv_reservations_variant_idx": {
466
+ "name": "inv_reservations_variant_idx",
467
+ "columns": [
468
+ {
469
+ "expression": "variant_id",
470
+ "isExpression": false,
471
+ "asc": true,
472
+ "nulls": "last"
473
+ }
474
+ ],
475
+ "isUnique": false,
476
+ "concurrently": false,
477
+ "method": "btree",
478
+ "with": {}
479
+ },
480
+ "inv_reservations_expires_idx": {
481
+ "name": "inv_reservations_expires_idx",
482
+ "columns": [
483
+ {
484
+ "expression": "expires_at",
485
+ "isExpression": false,
486
+ "asc": true,
487
+ "nulls": "last"
488
+ }
489
+ ],
490
+ "isUnique": false,
491
+ "concurrently": false,
492
+ "method": "btree",
493
+ "with": {}
494
+ }
495
+ },
496
+ "foreignKeys": {},
497
+ "compositePrimaryKeys": {},
498
+ "uniqueConstraints": {},
499
+ "policies": {},
500
+ "checkConstraints": {},
501
+ "isRLSEnabled": false
502
+ },
503
+ "public.order_history": {
504
+ "name": "order_history",
505
+ "schema": "",
506
+ "columns": {
507
+ "id": {
508
+ "name": "id",
509
+ "type": "text",
510
+ "primaryKey": true,
511
+ "notNull": true
512
+ },
513
+ "order_id": {
514
+ "name": "order_id",
515
+ "type": "text",
516
+ "primaryKey": false,
517
+ "notNull": true
518
+ },
519
+ "from_status": {
520
+ "name": "from_status",
521
+ "type": "text",
522
+ "primaryKey": false,
523
+ "notNull": false
524
+ },
525
+ "to_status": {
526
+ "name": "to_status",
527
+ "type": "text",
528
+ "primaryKey": false,
529
+ "notNull": true
530
+ },
531
+ "actor": {
532
+ "name": "actor",
533
+ "type": "text",
534
+ "primaryKey": false,
535
+ "notNull": true
536
+ },
537
+ "note": {
538
+ "name": "note",
539
+ "type": "text",
540
+ "primaryKey": false,
541
+ "notNull": true,
542
+ "default": "''"
543
+ },
544
+ "timestamp": {
545
+ "name": "timestamp",
546
+ "type": "timestamp with time zone",
547
+ "primaryKey": false,
548
+ "notNull": true
549
+ }
550
+ },
551
+ "indexes": {
552
+ "order_history_order_idx": {
553
+ "name": "order_history_order_idx",
554
+ "columns": [
555
+ {
556
+ "expression": "order_id",
557
+ "isExpression": false,
558
+ "asc": true,
559
+ "nulls": "last"
560
+ }
561
+ ],
562
+ "isUnique": false,
563
+ "concurrently": false,
564
+ "method": "btree",
565
+ "with": {}
566
+ }
567
+ },
568
+ "foreignKeys": {},
569
+ "compositePrimaryKeys": {},
570
+ "uniqueConstraints": {},
571
+ "policies": {},
572
+ "checkConstraints": {},
573
+ "isRLSEnabled": false
574
+ },
575
+ "public.order_refunds": {
576
+ "name": "order_refunds",
577
+ "schema": "",
578
+ "columns": {
579
+ "id": {
580
+ "name": "id",
581
+ "type": "text",
582
+ "primaryKey": true,
583
+ "notNull": true
584
+ },
585
+ "order_id": {
586
+ "name": "order_id",
587
+ "type": "text",
588
+ "primaryKey": false,
589
+ "notNull": true
590
+ },
591
+ "amount_minor": {
592
+ "name": "amount_minor",
593
+ "type": "integer",
594
+ "primaryKey": false,
595
+ "notNull": true
596
+ },
597
+ "currency": {
598
+ "name": "currency",
599
+ "type": "text",
600
+ "primaryKey": false,
601
+ "notNull": true
602
+ },
603
+ "provider_refund_id": {
604
+ "name": "provider_refund_id",
605
+ "type": "text",
606
+ "primaryKey": false,
607
+ "notNull": false
608
+ },
609
+ "status": {
610
+ "name": "status",
611
+ "type": "text",
612
+ "primaryKey": false,
613
+ "notNull": true,
614
+ "default": "'pending'"
615
+ },
616
+ "reason": {
617
+ "name": "reason",
618
+ "type": "text",
619
+ "primaryKey": false,
620
+ "notNull": false
621
+ },
622
+ "actor": {
623
+ "name": "actor",
624
+ "type": "text",
625
+ "primaryKey": false,
626
+ "notNull": true
627
+ },
628
+ "created_at": {
629
+ "name": "created_at",
630
+ "type": "timestamp with time zone",
631
+ "primaryKey": false,
632
+ "notNull": true
633
+ },
634
+ "request_id": {
635
+ "name": "request_id",
636
+ "type": "text",
637
+ "primaryKey": false,
638
+ "notNull": false
639
+ }
640
+ },
641
+ "indexes": {
642
+ "order_refunds_order_idx": {
643
+ "name": "order_refunds_order_idx",
644
+ "columns": [
645
+ {
646
+ "expression": "order_id",
647
+ "isExpression": false,
648
+ "asc": true,
649
+ "nulls": "last"
650
+ }
651
+ ],
652
+ "isUnique": false,
653
+ "concurrently": false,
654
+ "method": "btree",
655
+ "with": {}
656
+ },
657
+ "order_refunds_order_request_idx": {
658
+ "name": "order_refunds_order_request_idx",
659
+ "columns": [
660
+ {
661
+ "expression": "order_id",
662
+ "isExpression": false,
663
+ "asc": true,
664
+ "nulls": "last"
665
+ },
666
+ {
667
+ "expression": "request_id",
668
+ "isExpression": false,
669
+ "asc": true,
670
+ "nulls": "last"
671
+ }
672
+ ],
673
+ "isUnique": true,
674
+ "concurrently": false,
675
+ "method": "btree",
676
+ "with": {}
677
+ }
678
+ },
679
+ "foreignKeys": {},
680
+ "compositePrimaryKeys": {},
681
+ "uniqueConstraints": {},
682
+ "policies": {},
683
+ "checkConstraints": {},
684
+ "isRLSEnabled": false
685
+ },
686
+ "public.order_sequences": {
687
+ "name": "order_sequences",
688
+ "schema": "",
689
+ "columns": {
690
+ "id": {
691
+ "name": "id",
692
+ "type": "integer",
693
+ "primaryKey": true,
694
+ "notNull": true
695
+ },
696
+ "next_value": {
697
+ "name": "next_value",
698
+ "type": "integer",
699
+ "primaryKey": false,
700
+ "notNull": true
701
+ }
702
+ },
703
+ "indexes": {},
704
+ "foreignKeys": {},
705
+ "compositePrimaryKeys": {},
706
+ "uniqueConstraints": {},
707
+ "policies": {},
708
+ "checkConstraints": {},
709
+ "isRLSEnabled": false
710
+ },
711
+ "public.orders": {
712
+ "name": "orders",
713
+ "schema": "",
714
+ "columns": {
715
+ "id": {
716
+ "name": "id",
717
+ "type": "text",
718
+ "primaryKey": true,
719
+ "notNull": true
720
+ },
721
+ "order_number": {
722
+ "name": "order_number",
723
+ "type": "text",
724
+ "primaryKey": false,
725
+ "notNull": true
726
+ },
727
+ "sequence": {
728
+ "name": "sequence",
729
+ "type": "integer",
730
+ "primaryKey": false,
731
+ "notNull": true
732
+ },
733
+ "customer_id": {
734
+ "name": "customer_id",
735
+ "type": "text",
736
+ "primaryKey": false,
737
+ "notNull": false
738
+ },
739
+ "status": {
740
+ "name": "status",
741
+ "type": "text",
742
+ "primaryKey": false,
743
+ "notNull": true,
744
+ "default": "'pending'"
745
+ },
746
+ "email": {
747
+ "name": "email",
748
+ "type": "text",
749
+ "primaryKey": false,
750
+ "notNull": true
751
+ },
752
+ "billing_address": {
753
+ "name": "billing_address",
754
+ "type": "jsonb",
755
+ "primaryKey": false,
756
+ "notNull": true
757
+ },
758
+ "shipping_address": {
759
+ "name": "shipping_address",
760
+ "type": "jsonb",
761
+ "primaryKey": false,
762
+ "notNull": true
763
+ },
764
+ "line_items": {
765
+ "name": "line_items",
766
+ "type": "jsonb",
767
+ "primaryKey": false,
768
+ "notNull": true
769
+ },
770
+ "subtotal_minor": {
771
+ "name": "subtotal_minor",
772
+ "type": "integer",
773
+ "primaryKey": false,
774
+ "notNull": true
775
+ },
776
+ "tax_total_minor": {
777
+ "name": "tax_total_minor",
778
+ "type": "integer",
779
+ "primaryKey": false,
780
+ "notNull": true,
781
+ "default": 0
782
+ },
783
+ "shipping_total_minor": {
784
+ "name": "shipping_total_minor",
785
+ "type": "integer",
786
+ "primaryKey": false,
787
+ "notNull": true,
788
+ "default": 0
789
+ },
790
+ "discount_total_minor": {
791
+ "name": "discount_total_minor",
792
+ "type": "integer",
793
+ "primaryKey": false,
794
+ "notNull": true,
795
+ "default": 0
796
+ },
797
+ "total_minor": {
798
+ "name": "total_minor",
799
+ "type": "integer",
800
+ "primaryKey": false,
801
+ "notNull": true
802
+ },
803
+ "currency": {
804
+ "name": "currency",
805
+ "type": "text",
806
+ "primaryKey": false,
807
+ "notNull": true
808
+ },
809
+ "notes": {
810
+ "name": "notes",
811
+ "type": "text",
812
+ "primaryKey": false,
813
+ "notNull": true,
814
+ "default": "''"
815
+ },
816
+ "metadata": {
817
+ "name": "metadata",
818
+ "type": "jsonb",
819
+ "primaryKey": false,
820
+ "notNull": true,
821
+ "default": "'{}'::jsonb"
822
+ },
823
+ "payment_intent_id": {
824
+ "name": "payment_intent_id",
825
+ "type": "text",
826
+ "primaryKey": false,
827
+ "notNull": false
828
+ },
829
+ "cart_token": {
830
+ "name": "cart_token",
831
+ "type": "text",
832
+ "primaryKey": false,
833
+ "notNull": false
834
+ },
835
+ "captured_minor": {
836
+ "name": "captured_minor",
837
+ "type": "integer",
838
+ "primaryKey": false,
839
+ "notNull": true,
840
+ "default": 0
841
+ },
842
+ "captured_at": {
843
+ "name": "captured_at",
844
+ "type": "timestamp with time zone",
845
+ "primaryKey": false,
846
+ "notNull": false
847
+ },
848
+ "refunded_minor": {
849
+ "name": "refunded_minor",
850
+ "type": "integer",
851
+ "primaryKey": false,
852
+ "notNull": true,
853
+ "default": 0
854
+ },
855
+ "capture_method": {
856
+ "name": "capture_method",
857
+ "type": "text",
858
+ "primaryKey": false,
859
+ "notNull": false
860
+ },
861
+ "created_at": {
862
+ "name": "created_at",
863
+ "type": "timestamp with time zone",
864
+ "primaryKey": false,
865
+ "notNull": true
866
+ },
867
+ "updated_at": {
868
+ "name": "updated_at",
869
+ "type": "timestamp with time zone",
870
+ "primaryKey": false,
871
+ "notNull": true
872
+ }
873
+ },
874
+ "indexes": {
875
+ "orders_number_unique": {
876
+ "name": "orders_number_unique",
877
+ "columns": [
878
+ {
879
+ "expression": "order_number",
880
+ "isExpression": false,
881
+ "asc": true,
882
+ "nulls": "last"
883
+ }
884
+ ],
885
+ "isUnique": true,
886
+ "concurrently": false,
887
+ "method": "btree",
888
+ "with": {}
889
+ },
890
+ "orders_sequence_unique": {
891
+ "name": "orders_sequence_unique",
892
+ "columns": [
893
+ {
894
+ "expression": "sequence",
895
+ "isExpression": false,
896
+ "asc": true,
897
+ "nulls": "last"
898
+ }
899
+ ],
900
+ "isUnique": true,
901
+ "concurrently": false,
902
+ "method": "btree",
903
+ "with": {}
904
+ },
905
+ "orders_customer_idx": {
906
+ "name": "orders_customer_idx",
907
+ "columns": [
908
+ {
909
+ "expression": "customer_id",
910
+ "isExpression": false,
911
+ "asc": true,
912
+ "nulls": "last"
913
+ }
914
+ ],
915
+ "isUnique": false,
916
+ "concurrently": false,
917
+ "method": "btree",
918
+ "with": {}
919
+ },
920
+ "orders_status_idx": {
921
+ "name": "orders_status_idx",
922
+ "columns": [
923
+ {
924
+ "expression": "status",
925
+ "isExpression": false,
926
+ "asc": true,
927
+ "nulls": "last"
928
+ }
929
+ ],
930
+ "isUnique": false,
931
+ "concurrently": false,
932
+ "method": "btree",
933
+ "with": {}
934
+ },
935
+ "orders_payment_intent_idx": {
936
+ "name": "orders_payment_intent_idx",
937
+ "columns": [
938
+ {
939
+ "expression": "payment_intent_id",
940
+ "isExpression": false,
941
+ "asc": true,
942
+ "nulls": "last"
943
+ }
944
+ ],
945
+ "isUnique": false,
946
+ "concurrently": false,
947
+ "method": "btree",
948
+ "with": {}
949
+ },
950
+ "orders_pending_cart_unique": {
951
+ "name": "orders_pending_cart_unique",
952
+ "columns": [
953
+ {
954
+ "expression": "cart_token",
955
+ "isExpression": false,
956
+ "asc": true,
957
+ "nulls": "last"
958
+ }
959
+ ],
960
+ "isUnique": true,
961
+ "where": "status = 'pending'",
962
+ "concurrently": false,
963
+ "method": "btree",
964
+ "with": {}
965
+ }
966
+ },
967
+ "foreignKeys": {},
968
+ "compositePrimaryKeys": {},
969
+ "uniqueConstraints": {},
970
+ "policies": {},
971
+ "checkConstraints": {},
972
+ "isRLSEnabled": false
973
+ },
974
+ "public.processed_events": {
975
+ "name": "processed_events",
976
+ "schema": "",
977
+ "columns": {
978
+ "handler_name": {
979
+ "name": "handler_name",
980
+ "type": "text",
981
+ "primaryKey": false,
982
+ "notNull": true
983
+ },
984
+ "event_id": {
985
+ "name": "event_id",
986
+ "type": "text",
987
+ "primaryKey": false,
988
+ "notNull": true
989
+ },
990
+ "processed_at": {
991
+ "name": "processed_at",
992
+ "type": "timestamp with time zone",
993
+ "primaryKey": false,
994
+ "notNull": true
995
+ }
996
+ },
997
+ "indexes": {},
998
+ "foreignKeys": {},
999
+ "compositePrimaryKeys": {
1000
+ "processed_events_handler_name_event_id_pk": {
1001
+ "name": "processed_events_handler_name_event_id_pk",
1002
+ "columns": [
1003
+ "handler_name",
1004
+ "event_id"
1005
+ ]
1006
+ }
1007
+ },
1008
+ "uniqueConstraints": {},
1009
+ "policies": {},
1010
+ "checkConstraints": {},
1011
+ "isRLSEnabled": false
1012
+ },
1013
+ "public.product_categories": {
1014
+ "name": "product_categories",
1015
+ "schema": "",
1016
+ "columns": {
1017
+ "product_id": {
1018
+ "name": "product_id",
1019
+ "type": "text",
1020
+ "primaryKey": false,
1021
+ "notNull": true
1022
+ },
1023
+ "category_id": {
1024
+ "name": "category_id",
1025
+ "type": "text",
1026
+ "primaryKey": false,
1027
+ "notNull": true
1028
+ }
1029
+ },
1030
+ "indexes": {
1031
+ "product_categories_category_idx": {
1032
+ "name": "product_categories_category_idx",
1033
+ "columns": [
1034
+ {
1035
+ "expression": "category_id",
1036
+ "isExpression": false,
1037
+ "asc": true,
1038
+ "nulls": "last"
1039
+ }
1040
+ ],
1041
+ "isUnique": false,
1042
+ "concurrently": false,
1043
+ "method": "btree",
1044
+ "with": {}
1045
+ }
1046
+ },
1047
+ "foreignKeys": {},
1048
+ "compositePrimaryKeys": {
1049
+ "product_categories_product_id_category_id_pk": {
1050
+ "name": "product_categories_product_id_category_id_pk",
1051
+ "columns": [
1052
+ "product_id",
1053
+ "category_id"
1054
+ ]
1055
+ }
1056
+ },
1057
+ "uniqueConstraints": {},
1058
+ "policies": {},
1059
+ "checkConstraints": {},
1060
+ "isRLSEnabled": false
1061
+ },
1062
+ "public.products": {
1063
+ "name": "products",
1064
+ "schema": "",
1065
+ "columns": {
1066
+ "id": {
1067
+ "name": "id",
1068
+ "type": "text",
1069
+ "primaryKey": true,
1070
+ "notNull": true
1071
+ },
1072
+ "slug": {
1073
+ "name": "slug",
1074
+ "type": "text",
1075
+ "primaryKey": false,
1076
+ "notNull": true
1077
+ },
1078
+ "name": {
1079
+ "name": "name",
1080
+ "type": "text",
1081
+ "primaryKey": false,
1082
+ "notNull": true
1083
+ },
1084
+ "description": {
1085
+ "name": "description",
1086
+ "type": "text",
1087
+ "primaryKey": false,
1088
+ "notNull": true,
1089
+ "default": "''"
1090
+ },
1091
+ "short_description": {
1092
+ "name": "short_description",
1093
+ "type": "text",
1094
+ "primaryKey": false,
1095
+ "notNull": true,
1096
+ "default": "''"
1097
+ },
1098
+ "status": {
1099
+ "name": "status",
1100
+ "type": "text",
1101
+ "primaryKey": false,
1102
+ "notNull": true,
1103
+ "default": "'draft'"
1104
+ },
1105
+ "type": {
1106
+ "name": "type",
1107
+ "type": "text",
1108
+ "primaryKey": false,
1109
+ "notNull": true,
1110
+ "default": "'simple'"
1111
+ },
1112
+ "seo_title": {
1113
+ "name": "seo_title",
1114
+ "type": "text",
1115
+ "primaryKey": false,
1116
+ "notNull": true,
1117
+ "default": "''"
1118
+ },
1119
+ "seo_description": {
1120
+ "name": "seo_description",
1121
+ "type": "text",
1122
+ "primaryKey": false,
1123
+ "notNull": true,
1124
+ "default": "''"
1125
+ },
1126
+ "media": {
1127
+ "name": "media",
1128
+ "type": "jsonb",
1129
+ "primaryKey": false,
1130
+ "notNull": true,
1131
+ "default": "'[]'::jsonb"
1132
+ },
1133
+ "metadata": {
1134
+ "name": "metadata",
1135
+ "type": "jsonb",
1136
+ "primaryKey": false,
1137
+ "notNull": true,
1138
+ "default": "'{}'::jsonb"
1139
+ },
1140
+ "created_at": {
1141
+ "name": "created_at",
1142
+ "type": "timestamp with time zone",
1143
+ "primaryKey": false,
1144
+ "notNull": true
1145
+ },
1146
+ "updated_at": {
1147
+ "name": "updated_at",
1148
+ "type": "timestamp with time zone",
1149
+ "primaryKey": false,
1150
+ "notNull": true
1151
+ }
1152
+ },
1153
+ "indexes": {
1154
+ "products_slug_unique": {
1155
+ "name": "products_slug_unique",
1156
+ "columns": [
1157
+ {
1158
+ "expression": "slug",
1159
+ "isExpression": false,
1160
+ "asc": true,
1161
+ "nulls": "last"
1162
+ }
1163
+ ],
1164
+ "isUnique": true,
1165
+ "concurrently": false,
1166
+ "method": "btree",
1167
+ "with": {}
1168
+ },
1169
+ "products_status_idx": {
1170
+ "name": "products_status_idx",
1171
+ "columns": [
1172
+ {
1173
+ "expression": "status",
1174
+ "isExpression": false,
1175
+ "asc": true,
1176
+ "nulls": "last"
1177
+ }
1178
+ ],
1179
+ "isUnique": false,
1180
+ "concurrently": false,
1181
+ "method": "btree",
1182
+ "with": {}
1183
+ }
1184
+ },
1185
+ "foreignKeys": {},
1186
+ "compositePrimaryKeys": {},
1187
+ "uniqueConstraints": {},
1188
+ "policies": {},
1189
+ "checkConstraints": {},
1190
+ "isRLSEnabled": false
1191
+ },
1192
+ "public.refresh_tokens": {
1193
+ "name": "refresh_tokens",
1194
+ "schema": "",
1195
+ "columns": {
1196
+ "id": {
1197
+ "name": "id",
1198
+ "type": "text",
1199
+ "primaryKey": true,
1200
+ "notNull": true
1201
+ },
1202
+ "customer_id": {
1203
+ "name": "customer_id",
1204
+ "type": "text",
1205
+ "primaryKey": false,
1206
+ "notNull": true
1207
+ },
1208
+ "token_hash": {
1209
+ "name": "token_hash",
1210
+ "type": "text",
1211
+ "primaryKey": false,
1212
+ "notNull": true
1213
+ },
1214
+ "revoked_at": {
1215
+ "name": "revoked_at",
1216
+ "type": "timestamp with time zone",
1217
+ "primaryKey": false,
1218
+ "notNull": false
1219
+ },
1220
+ "replaced_by_jti": {
1221
+ "name": "replaced_by_jti",
1222
+ "type": "text",
1223
+ "primaryKey": false,
1224
+ "notNull": false
1225
+ },
1226
+ "expires_at": {
1227
+ "name": "expires_at",
1228
+ "type": "timestamp with time zone",
1229
+ "primaryKey": false,
1230
+ "notNull": true
1231
+ },
1232
+ "created_at": {
1233
+ "name": "created_at",
1234
+ "type": "timestamp with time zone",
1235
+ "primaryKey": false,
1236
+ "notNull": true
1237
+ }
1238
+ },
1239
+ "indexes": {
1240
+ "refresh_tokens_customer_idx": {
1241
+ "name": "refresh_tokens_customer_idx",
1242
+ "columns": [
1243
+ {
1244
+ "expression": "customer_id",
1245
+ "isExpression": false,
1246
+ "asc": true,
1247
+ "nulls": "last"
1248
+ }
1249
+ ],
1250
+ "isUnique": false,
1251
+ "concurrently": false,
1252
+ "method": "btree",
1253
+ "with": {}
1254
+ }
1255
+ },
1256
+ "foreignKeys": {},
1257
+ "compositePrimaryKeys": {},
1258
+ "uniqueConstraints": {},
1259
+ "policies": {},
1260
+ "checkConstraints": {},
1261
+ "isRLSEnabled": false
1262
+ },
1263
+ "public.reviews": {
1264
+ "name": "reviews",
1265
+ "schema": "",
1266
+ "columns": {
1267
+ "id": {
1268
+ "name": "id",
1269
+ "type": "text",
1270
+ "primaryKey": true,
1271
+ "notNull": true
1272
+ },
1273
+ "product_id": {
1274
+ "name": "product_id",
1275
+ "type": "text",
1276
+ "primaryKey": false,
1277
+ "notNull": true
1278
+ },
1279
+ "customer_id": {
1280
+ "name": "customer_id",
1281
+ "type": "text",
1282
+ "primaryKey": false,
1283
+ "notNull": false
1284
+ },
1285
+ "order_id": {
1286
+ "name": "order_id",
1287
+ "type": "text",
1288
+ "primaryKey": false,
1289
+ "notNull": false
1290
+ },
1291
+ "rating": {
1292
+ "name": "rating",
1293
+ "type": "integer",
1294
+ "primaryKey": false,
1295
+ "notNull": true
1296
+ },
1297
+ "title": {
1298
+ "name": "title",
1299
+ "type": "text",
1300
+ "primaryKey": false,
1301
+ "notNull": true,
1302
+ "default": "''"
1303
+ },
1304
+ "body": {
1305
+ "name": "body",
1306
+ "type": "text",
1307
+ "primaryKey": false,
1308
+ "notNull": true,
1309
+ "default": "''"
1310
+ },
1311
+ "moderation_status": {
1312
+ "name": "moderation_status",
1313
+ "type": "text",
1314
+ "primaryKey": false,
1315
+ "notNull": true,
1316
+ "default": "'pending'"
1317
+ },
1318
+ "submitted_at": {
1319
+ "name": "submitted_at",
1320
+ "type": "timestamp with time zone",
1321
+ "primaryKey": false,
1322
+ "notNull": true
1323
+ },
1324
+ "moderated_at": {
1325
+ "name": "moderated_at",
1326
+ "type": "timestamp with time zone",
1327
+ "primaryKey": false,
1328
+ "notNull": false
1329
+ },
1330
+ "moderated_by": {
1331
+ "name": "moderated_by",
1332
+ "type": "text",
1333
+ "primaryKey": false,
1334
+ "notNull": false
1335
+ }
1336
+ },
1337
+ "indexes": {
1338
+ "reviews_product_idx": {
1339
+ "name": "reviews_product_idx",
1340
+ "columns": [
1341
+ {
1342
+ "expression": "product_id",
1343
+ "isExpression": false,
1344
+ "asc": true,
1345
+ "nulls": "last"
1346
+ }
1347
+ ],
1348
+ "isUnique": false,
1349
+ "concurrently": false,
1350
+ "method": "btree",
1351
+ "with": {}
1352
+ },
1353
+ "reviews_status_idx": {
1354
+ "name": "reviews_status_idx",
1355
+ "columns": [
1356
+ {
1357
+ "expression": "moderation_status",
1358
+ "isExpression": false,
1359
+ "asc": true,
1360
+ "nulls": "last"
1361
+ }
1362
+ ],
1363
+ "isUnique": false,
1364
+ "concurrently": false,
1365
+ "method": "btree",
1366
+ "with": {}
1367
+ }
1368
+ },
1369
+ "foreignKeys": {},
1370
+ "compositePrimaryKeys": {},
1371
+ "uniqueConstraints": {},
1372
+ "policies": {},
1373
+ "checkConstraints": {},
1374
+ "isRLSEnabled": false
1375
+ },
1376
+ "public.stock_adjustments": {
1377
+ "name": "stock_adjustments",
1378
+ "schema": "",
1379
+ "columns": {
1380
+ "id": {
1381
+ "name": "id",
1382
+ "type": "text",
1383
+ "primaryKey": true,
1384
+ "notNull": true
1385
+ },
1386
+ "variant_id": {
1387
+ "name": "variant_id",
1388
+ "type": "text",
1389
+ "primaryKey": false,
1390
+ "notNull": true
1391
+ },
1392
+ "adjustment": {
1393
+ "name": "adjustment",
1394
+ "type": "integer",
1395
+ "primaryKey": false,
1396
+ "notNull": true
1397
+ },
1398
+ "reason": {
1399
+ "name": "reason",
1400
+ "type": "text",
1401
+ "primaryKey": false,
1402
+ "notNull": true
1403
+ },
1404
+ "actor": {
1405
+ "name": "actor",
1406
+ "type": "text",
1407
+ "primaryKey": false,
1408
+ "notNull": true
1409
+ },
1410
+ "previous_qty": {
1411
+ "name": "previous_qty",
1412
+ "type": "integer",
1413
+ "primaryKey": false,
1414
+ "notNull": true
1415
+ },
1416
+ "new_qty": {
1417
+ "name": "new_qty",
1418
+ "type": "integer",
1419
+ "primaryKey": false,
1420
+ "notNull": true
1421
+ },
1422
+ "timestamp": {
1423
+ "name": "timestamp",
1424
+ "type": "timestamp with time zone",
1425
+ "primaryKey": false,
1426
+ "notNull": true
1427
+ }
1428
+ },
1429
+ "indexes": {
1430
+ "stock_adjustments_variant_idx": {
1431
+ "name": "stock_adjustments_variant_idx",
1432
+ "columns": [
1433
+ {
1434
+ "expression": "variant_id",
1435
+ "isExpression": false,
1436
+ "asc": true,
1437
+ "nulls": "last"
1438
+ }
1439
+ ],
1440
+ "isUnique": false,
1441
+ "concurrently": false,
1442
+ "method": "btree",
1443
+ "with": {}
1444
+ }
1445
+ },
1446
+ "foreignKeys": {},
1447
+ "compositePrimaryKeys": {},
1448
+ "uniqueConstraints": {},
1449
+ "policies": {},
1450
+ "checkConstraints": {},
1451
+ "isRLSEnabled": false
1452
+ },
1453
+ "public.variants": {
1454
+ "name": "variants",
1455
+ "schema": "",
1456
+ "columns": {
1457
+ "id": {
1458
+ "name": "id",
1459
+ "type": "text",
1460
+ "primaryKey": true,
1461
+ "notNull": true
1462
+ },
1463
+ "product_id": {
1464
+ "name": "product_id",
1465
+ "type": "text",
1466
+ "primaryKey": false,
1467
+ "notNull": true
1468
+ },
1469
+ "sku": {
1470
+ "name": "sku",
1471
+ "type": "text",
1472
+ "primaryKey": false,
1473
+ "notNull": true
1474
+ },
1475
+ "name": {
1476
+ "name": "name",
1477
+ "type": "text",
1478
+ "primaryKey": false,
1479
+ "notNull": true,
1480
+ "default": "''"
1481
+ },
1482
+ "price_minor": {
1483
+ "name": "price_minor",
1484
+ "type": "integer",
1485
+ "primaryKey": false,
1486
+ "notNull": true
1487
+ },
1488
+ "compare_at_price_minor": {
1489
+ "name": "compare_at_price_minor",
1490
+ "type": "integer",
1491
+ "primaryKey": false,
1492
+ "notNull": false
1493
+ },
1494
+ "weight_grams": {
1495
+ "name": "weight_grams",
1496
+ "type": "integer",
1497
+ "primaryKey": false,
1498
+ "notNull": false
1499
+ },
1500
+ "dimensions": {
1501
+ "name": "dimensions",
1502
+ "type": "jsonb",
1503
+ "primaryKey": false,
1504
+ "notNull": false
1505
+ },
1506
+ "stock": {
1507
+ "name": "stock",
1508
+ "type": "integer",
1509
+ "primaryKey": false,
1510
+ "notNull": true,
1511
+ "default": 0
1512
+ },
1513
+ "low_stock_threshold": {
1514
+ "name": "low_stock_threshold",
1515
+ "type": "integer",
1516
+ "primaryKey": false,
1517
+ "notNull": true,
1518
+ "default": 0
1519
+ },
1520
+ "options": {
1521
+ "name": "options",
1522
+ "type": "jsonb",
1523
+ "primaryKey": false,
1524
+ "notNull": true,
1525
+ "default": "'[]'::jsonb"
1526
+ },
1527
+ "status": {
1528
+ "name": "status",
1529
+ "type": "text",
1530
+ "primaryKey": false,
1531
+ "notNull": true,
1532
+ "default": "'active'"
1533
+ },
1534
+ "created_at": {
1535
+ "name": "created_at",
1536
+ "type": "timestamp with time zone",
1537
+ "primaryKey": false,
1538
+ "notNull": true
1539
+ },
1540
+ "updated_at": {
1541
+ "name": "updated_at",
1542
+ "type": "timestamp with time zone",
1543
+ "primaryKey": false,
1544
+ "notNull": true
1545
+ }
1546
+ },
1547
+ "indexes": {
1548
+ "variants_sku_unique": {
1549
+ "name": "variants_sku_unique",
1550
+ "columns": [
1551
+ {
1552
+ "expression": "sku",
1553
+ "isExpression": false,
1554
+ "asc": true,
1555
+ "nulls": "last"
1556
+ }
1557
+ ],
1558
+ "isUnique": true,
1559
+ "concurrently": false,
1560
+ "method": "btree",
1561
+ "with": {}
1562
+ },
1563
+ "variants_product_idx": {
1564
+ "name": "variants_product_idx",
1565
+ "columns": [
1566
+ {
1567
+ "expression": "product_id",
1568
+ "isExpression": false,
1569
+ "asc": true,
1570
+ "nulls": "last"
1571
+ }
1572
+ ],
1573
+ "isUnique": false,
1574
+ "concurrently": false,
1575
+ "method": "btree",
1576
+ "with": {}
1577
+ }
1578
+ },
1579
+ "foreignKeys": {},
1580
+ "compositePrimaryKeys": {},
1581
+ "uniqueConstraints": {},
1582
+ "policies": {},
1583
+ "checkConstraints": {},
1584
+ "isRLSEnabled": false
1585
+ }
1586
+ },
1587
+ "enums": {},
1588
+ "schemas": {},
1589
+ "sequences": {},
1590
+ "roles": {},
1591
+ "policies": {},
1592
+ "views": {},
1593
+ "_meta": {
1594
+ "columns": {},
1595
+ "schemas": {},
1596
+ "tables": {}
1597
+ }
1598
+ }