@skaile/forge-layer-core 1.1.0 → 1.3.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.
@@ -0,0 +1,884 @@
1
+ {
2
+ "id": "c8ebcfc3-d758-4a30-80b2-821f47eeeba1",
3
+ "prevId": "f95d1be2-4f8b-47d4-b329-a3f296e8d208",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.api_tokens": {
8
+ "name": "api_tokens",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "uuid",
14
+ "primaryKey": true,
15
+ "notNull": true,
16
+ "default": "gen_random_uuid()"
17
+ },
18
+ "user_id": {
19
+ "name": "user_id",
20
+ "type": "uuid",
21
+ "primaryKey": false,
22
+ "notNull": true
23
+ },
24
+ "name": {
25
+ "name": "name",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true
29
+ },
30
+ "kind": {
31
+ "name": "kind",
32
+ "type": "text",
33
+ "primaryKey": false,
34
+ "notNull": true
35
+ },
36
+ "scopes": {
37
+ "name": "scopes",
38
+ "type": "text[]",
39
+ "primaryKey": false,
40
+ "notNull": true,
41
+ "default": "'{}'"
42
+ },
43
+ "token_hash": {
44
+ "name": "token_hash",
45
+ "type": "text",
46
+ "primaryKey": false,
47
+ "notNull": true
48
+ },
49
+ "prefix": {
50
+ "name": "prefix",
51
+ "type": "text",
52
+ "primaryKey": false,
53
+ "notNull": true
54
+ },
55
+ "last_used_at": {
56
+ "name": "last_used_at",
57
+ "type": "timestamp with time zone",
58
+ "primaryKey": false,
59
+ "notNull": false
60
+ },
61
+ "expires_at": {
62
+ "name": "expires_at",
63
+ "type": "timestamp with time zone",
64
+ "primaryKey": false,
65
+ "notNull": false
66
+ },
67
+ "revoked_at": {
68
+ "name": "revoked_at",
69
+ "type": "timestamp with time zone",
70
+ "primaryKey": false,
71
+ "notNull": false
72
+ },
73
+ "created_at": {
74
+ "name": "created_at",
75
+ "type": "timestamp with time zone",
76
+ "primaryKey": false,
77
+ "notNull": true,
78
+ "default": "now()"
79
+ }
80
+ },
81
+ "indexes": {
82
+ "api_tokens_hash_unique": {
83
+ "name": "api_tokens_hash_unique",
84
+ "columns": [
85
+ {
86
+ "expression": "token_hash",
87
+ "isExpression": false,
88
+ "asc": true,
89
+ "nulls": "last"
90
+ }
91
+ ],
92
+ "isUnique": true,
93
+ "concurrently": false,
94
+ "method": "btree",
95
+ "with": {}
96
+ },
97
+ "api_tokens_user_idx": {
98
+ "name": "api_tokens_user_idx",
99
+ "columns": [
100
+ {
101
+ "expression": "user_id",
102
+ "isExpression": false,
103
+ "asc": true,
104
+ "nulls": "last"
105
+ }
106
+ ],
107
+ "isUnique": false,
108
+ "concurrently": false,
109
+ "method": "btree",
110
+ "with": {}
111
+ }
112
+ },
113
+ "foreignKeys": {
114
+ "api_tokens_user_id_users_id_fk": {
115
+ "name": "api_tokens_user_id_users_id_fk",
116
+ "tableFrom": "api_tokens",
117
+ "tableTo": "users",
118
+ "columnsFrom": [
119
+ "user_id"
120
+ ],
121
+ "columnsTo": [
122
+ "id"
123
+ ],
124
+ "onDelete": "cascade",
125
+ "onUpdate": "no action"
126
+ }
127
+ },
128
+ "compositePrimaryKeys": {},
129
+ "uniqueConstraints": {},
130
+ "policies": {},
131
+ "checkConstraints": {},
132
+ "isRLSEnabled": false
133
+ },
134
+ "public.chat_messages": {
135
+ "name": "chat_messages",
136
+ "schema": "",
137
+ "columns": {
138
+ "id": {
139
+ "name": "id",
140
+ "type": "uuid",
141
+ "primaryKey": true,
142
+ "notNull": true,
143
+ "default": "gen_random_uuid()"
144
+ },
145
+ "thread_id": {
146
+ "name": "thread_id",
147
+ "type": "uuid",
148
+ "primaryKey": false,
149
+ "notNull": true
150
+ },
151
+ "seq": {
152
+ "name": "seq",
153
+ "type": "integer",
154
+ "primaryKey": false,
155
+ "notNull": true
156
+ },
157
+ "role": {
158
+ "name": "role",
159
+ "type": "text",
160
+ "primaryKey": false,
161
+ "notNull": false
162
+ },
163
+ "event": {
164
+ "name": "event",
165
+ "type": "jsonb",
166
+ "primaryKey": false,
167
+ "notNull": true
168
+ },
169
+ "created_at": {
170
+ "name": "created_at",
171
+ "type": "timestamp with time zone",
172
+ "primaryKey": false,
173
+ "notNull": true,
174
+ "default": "now()"
175
+ }
176
+ },
177
+ "indexes": {
178
+ "chat_messages_thread_seq_unique": {
179
+ "name": "chat_messages_thread_seq_unique",
180
+ "columns": [
181
+ {
182
+ "expression": "thread_id",
183
+ "isExpression": false,
184
+ "asc": true,
185
+ "nulls": "last"
186
+ },
187
+ {
188
+ "expression": "seq",
189
+ "isExpression": false,
190
+ "asc": true,
191
+ "nulls": "last"
192
+ }
193
+ ],
194
+ "isUnique": true,
195
+ "concurrently": false,
196
+ "method": "btree",
197
+ "with": {}
198
+ }
199
+ },
200
+ "foreignKeys": {
201
+ "chat_messages_thread_id_chat_threads_id_fk": {
202
+ "name": "chat_messages_thread_id_chat_threads_id_fk",
203
+ "tableFrom": "chat_messages",
204
+ "tableTo": "chat_threads",
205
+ "columnsFrom": [
206
+ "thread_id"
207
+ ],
208
+ "columnsTo": [
209
+ "id"
210
+ ],
211
+ "onDelete": "cascade",
212
+ "onUpdate": "no action"
213
+ }
214
+ },
215
+ "compositePrimaryKeys": {},
216
+ "uniqueConstraints": {},
217
+ "policies": {},
218
+ "checkConstraints": {},
219
+ "isRLSEnabled": false
220
+ },
221
+ "public.chat_threads": {
222
+ "name": "chat_threads",
223
+ "schema": "",
224
+ "columns": {
225
+ "id": {
226
+ "name": "id",
227
+ "type": "uuid",
228
+ "primaryKey": true,
229
+ "notNull": true,
230
+ "default": "gen_random_uuid()"
231
+ },
232
+ "user_id": {
233
+ "name": "user_id",
234
+ "type": "uuid",
235
+ "primaryKey": false,
236
+ "notNull": true
237
+ },
238
+ "title": {
239
+ "name": "title",
240
+ "type": "text",
241
+ "primaryKey": false,
242
+ "notNull": true,
243
+ "default": "'New conversation'"
244
+ },
245
+ "transport": {
246
+ "name": "transport",
247
+ "type": "text",
248
+ "primaryKey": false,
249
+ "notNull": true
250
+ },
251
+ "created_at": {
252
+ "name": "created_at",
253
+ "type": "timestamp with time zone",
254
+ "primaryKey": false,
255
+ "notNull": true,
256
+ "default": "now()"
257
+ },
258
+ "updated_at": {
259
+ "name": "updated_at",
260
+ "type": "timestamp with time zone",
261
+ "primaryKey": false,
262
+ "notNull": true,
263
+ "default": "now()"
264
+ }
265
+ },
266
+ "indexes": {
267
+ "chat_threads_user_idx": {
268
+ "name": "chat_threads_user_idx",
269
+ "columns": [
270
+ {
271
+ "expression": "user_id",
272
+ "isExpression": false,
273
+ "asc": true,
274
+ "nulls": "last"
275
+ }
276
+ ],
277
+ "isUnique": false,
278
+ "concurrently": false,
279
+ "method": "btree",
280
+ "with": {}
281
+ }
282
+ },
283
+ "foreignKeys": {
284
+ "chat_threads_user_id_users_id_fk": {
285
+ "name": "chat_threads_user_id_users_id_fk",
286
+ "tableFrom": "chat_threads",
287
+ "tableTo": "users",
288
+ "columnsFrom": [
289
+ "user_id"
290
+ ],
291
+ "columnsTo": [
292
+ "id"
293
+ ],
294
+ "onDelete": "cascade",
295
+ "onUpdate": "no action"
296
+ }
297
+ },
298
+ "compositePrimaryKeys": {},
299
+ "uniqueConstraints": {},
300
+ "policies": {},
301
+ "checkConstraints": {},
302
+ "isRLSEnabled": false
303
+ },
304
+ "public.login_codes": {
305
+ "name": "login_codes",
306
+ "schema": "",
307
+ "columns": {
308
+ "id": {
309
+ "name": "id",
310
+ "type": "uuid",
311
+ "primaryKey": true,
312
+ "notNull": true,
313
+ "default": "gen_random_uuid()"
314
+ },
315
+ "user_id": {
316
+ "name": "user_id",
317
+ "type": "uuid",
318
+ "primaryKey": false,
319
+ "notNull": true
320
+ },
321
+ "code_hash": {
322
+ "name": "code_hash",
323
+ "type": "text",
324
+ "primaryKey": false,
325
+ "notNull": true
326
+ },
327
+ "link_token_hash": {
328
+ "name": "link_token_hash",
329
+ "type": "text",
330
+ "primaryKey": false,
331
+ "notNull": true
332
+ },
333
+ "expires_at": {
334
+ "name": "expires_at",
335
+ "type": "timestamp with time zone",
336
+ "primaryKey": false,
337
+ "notNull": true
338
+ },
339
+ "used_at": {
340
+ "name": "used_at",
341
+ "type": "timestamp with time zone",
342
+ "primaryKey": false,
343
+ "notNull": false
344
+ },
345
+ "attempts": {
346
+ "name": "attempts",
347
+ "type": "integer",
348
+ "primaryKey": false,
349
+ "notNull": true,
350
+ "default": 0
351
+ },
352
+ "created_at": {
353
+ "name": "created_at",
354
+ "type": "timestamp with time zone",
355
+ "primaryKey": false,
356
+ "notNull": true,
357
+ "default": "now()"
358
+ },
359
+ "updated_at": {
360
+ "name": "updated_at",
361
+ "type": "timestamp with time zone",
362
+ "primaryKey": false,
363
+ "notNull": true,
364
+ "default": "now()"
365
+ }
366
+ },
367
+ "indexes": {
368
+ "login_codes_link_token_unique": {
369
+ "name": "login_codes_link_token_unique",
370
+ "columns": [
371
+ {
372
+ "expression": "link_token_hash",
373
+ "isExpression": false,
374
+ "asc": true,
375
+ "nulls": "last"
376
+ }
377
+ ],
378
+ "isUnique": true,
379
+ "concurrently": false,
380
+ "method": "btree",
381
+ "with": {}
382
+ },
383
+ "login_codes_user_created_idx": {
384
+ "name": "login_codes_user_created_idx",
385
+ "columns": [
386
+ {
387
+ "expression": "user_id",
388
+ "isExpression": false,
389
+ "asc": true,
390
+ "nulls": "last"
391
+ },
392
+ {
393
+ "expression": "created_at",
394
+ "isExpression": false,
395
+ "asc": true,
396
+ "nulls": "last"
397
+ }
398
+ ],
399
+ "isUnique": false,
400
+ "concurrently": false,
401
+ "method": "btree",
402
+ "with": {}
403
+ }
404
+ },
405
+ "foreignKeys": {
406
+ "login_codes_user_id_users_id_fk": {
407
+ "name": "login_codes_user_id_users_id_fk",
408
+ "tableFrom": "login_codes",
409
+ "tableTo": "users",
410
+ "columnsFrom": [
411
+ "user_id"
412
+ ],
413
+ "columnsTo": [
414
+ "id"
415
+ ],
416
+ "onDelete": "cascade",
417
+ "onUpdate": "no action"
418
+ }
419
+ },
420
+ "compositePrimaryKeys": {},
421
+ "uniqueConstraints": {},
422
+ "policies": {},
423
+ "checkConstraints": {},
424
+ "isRLSEnabled": false
425
+ },
426
+ "public.notifications": {
427
+ "name": "notifications",
428
+ "schema": "",
429
+ "columns": {
430
+ "id": {
431
+ "name": "id",
432
+ "type": "uuid",
433
+ "primaryKey": true,
434
+ "notNull": true,
435
+ "default": "gen_random_uuid()"
436
+ },
437
+ "user_id": {
438
+ "name": "user_id",
439
+ "type": "uuid",
440
+ "primaryKey": false,
441
+ "notNull": true
442
+ },
443
+ "kind": {
444
+ "name": "kind",
445
+ "type": "text",
446
+ "primaryKey": false,
447
+ "notNull": true
448
+ },
449
+ "title": {
450
+ "name": "title",
451
+ "type": "text",
452
+ "primaryKey": false,
453
+ "notNull": true
454
+ },
455
+ "body": {
456
+ "name": "body",
457
+ "type": "text",
458
+ "primaryKey": false,
459
+ "notNull": true,
460
+ "default": "''"
461
+ },
462
+ "link": {
463
+ "name": "link",
464
+ "type": "text",
465
+ "primaryKey": false,
466
+ "notNull": false
467
+ },
468
+ "read_at": {
469
+ "name": "read_at",
470
+ "type": "timestamp with time zone",
471
+ "primaryKey": false,
472
+ "notNull": false
473
+ },
474
+ "created_at": {
475
+ "name": "created_at",
476
+ "type": "timestamp with time zone",
477
+ "primaryKey": false,
478
+ "notNull": true,
479
+ "default": "now()"
480
+ }
481
+ },
482
+ "indexes": {
483
+ "notifications_user_idx": {
484
+ "name": "notifications_user_idx",
485
+ "columns": [
486
+ {
487
+ "expression": "user_id",
488
+ "isExpression": false,
489
+ "asc": true,
490
+ "nulls": "last"
491
+ },
492
+ {
493
+ "expression": "read_at",
494
+ "isExpression": false,
495
+ "asc": true,
496
+ "nulls": "last"
497
+ }
498
+ ],
499
+ "isUnique": false,
500
+ "concurrently": false,
501
+ "method": "btree",
502
+ "with": {}
503
+ }
504
+ },
505
+ "foreignKeys": {
506
+ "notifications_user_id_users_id_fk": {
507
+ "name": "notifications_user_id_users_id_fk",
508
+ "tableFrom": "notifications",
509
+ "tableTo": "users",
510
+ "columnsFrom": [
511
+ "user_id"
512
+ ],
513
+ "columnsTo": [
514
+ "id"
515
+ ],
516
+ "onDelete": "cascade",
517
+ "onUpdate": "no action"
518
+ }
519
+ },
520
+ "compositePrimaryKeys": {},
521
+ "uniqueConstraints": {},
522
+ "policies": {},
523
+ "checkConstraints": {},
524
+ "isRLSEnabled": false
525
+ },
526
+ "public.passkeys": {
527
+ "name": "passkeys",
528
+ "schema": "",
529
+ "columns": {
530
+ "id": {
531
+ "name": "id",
532
+ "type": "text",
533
+ "primaryKey": true,
534
+ "notNull": true
535
+ },
536
+ "user_id": {
537
+ "name": "user_id",
538
+ "type": "uuid",
539
+ "primaryKey": false,
540
+ "notNull": true
541
+ },
542
+ "public_key": {
543
+ "name": "public_key",
544
+ "type": "text",
545
+ "primaryKey": false,
546
+ "notNull": true
547
+ },
548
+ "counter": {
549
+ "name": "counter",
550
+ "type": "integer",
551
+ "primaryKey": false,
552
+ "notNull": true,
553
+ "default": 0
554
+ },
555
+ "transports": {
556
+ "name": "transports",
557
+ "type": "text[]",
558
+ "primaryKey": false,
559
+ "notNull": true,
560
+ "default": "'{}'"
561
+ },
562
+ "last_used_at": {
563
+ "name": "last_used_at",
564
+ "type": "timestamp with time zone",
565
+ "primaryKey": false,
566
+ "notNull": false
567
+ },
568
+ "created_at": {
569
+ "name": "created_at",
570
+ "type": "timestamp with time zone",
571
+ "primaryKey": false,
572
+ "notNull": true,
573
+ "default": "now()"
574
+ }
575
+ },
576
+ "indexes": {
577
+ "passkeys_user_idx": {
578
+ "name": "passkeys_user_idx",
579
+ "columns": [
580
+ {
581
+ "expression": "user_id",
582
+ "isExpression": false,
583
+ "asc": true,
584
+ "nulls": "last"
585
+ }
586
+ ],
587
+ "isUnique": false,
588
+ "concurrently": false,
589
+ "method": "btree",
590
+ "with": {}
591
+ }
592
+ },
593
+ "foreignKeys": {
594
+ "passkeys_user_id_users_id_fk": {
595
+ "name": "passkeys_user_id_users_id_fk",
596
+ "tableFrom": "passkeys",
597
+ "tableTo": "users",
598
+ "columnsFrom": [
599
+ "user_id"
600
+ ],
601
+ "columnsTo": [
602
+ "id"
603
+ ],
604
+ "onDelete": "cascade",
605
+ "onUpdate": "no action"
606
+ }
607
+ },
608
+ "compositePrimaryKeys": {},
609
+ "uniqueConstraints": {},
610
+ "policies": {},
611
+ "checkConstraints": {},
612
+ "isRLSEnabled": false
613
+ },
614
+ "public.assistant_accounts": {
615
+ "name": "assistant_accounts",
616
+ "schema": "",
617
+ "columns": {
618
+ "user_id": {
619
+ "name": "user_id",
620
+ "type": "uuid",
621
+ "primaryKey": true,
622
+ "notNull": true
623
+ },
624
+ "mode": {
625
+ "name": "mode",
626
+ "type": "text",
627
+ "primaryKey": false,
628
+ "notNull": false
629
+ },
630
+ "byok_preset": {
631
+ "name": "byok_preset",
632
+ "type": "text",
633
+ "primaryKey": false,
634
+ "notNull": false
635
+ },
636
+ "byok_model": {
637
+ "name": "byok_model",
638
+ "type": "text",
639
+ "primaryKey": false,
640
+ "notNull": false
641
+ },
642
+ "byok_base_url": {
643
+ "name": "byok_base_url",
644
+ "type": "text",
645
+ "primaryKey": false,
646
+ "notNull": false
647
+ },
648
+ "byok_key_sealed": {
649
+ "name": "byok_key_sealed",
650
+ "type": "text",
651
+ "primaryKey": false,
652
+ "notNull": false
653
+ },
654
+ "updated_at": {
655
+ "name": "updated_at",
656
+ "type": "timestamp with time zone",
657
+ "primaryKey": false,
658
+ "notNull": true,
659
+ "default": "now()"
660
+ }
661
+ },
662
+ "indexes": {},
663
+ "foreignKeys": {
664
+ "assistant_accounts_user_id_users_id_fk": {
665
+ "name": "assistant_accounts_user_id_users_id_fk",
666
+ "tableFrom": "assistant_accounts",
667
+ "tableTo": "users",
668
+ "columnsFrom": [
669
+ "user_id"
670
+ ],
671
+ "columnsTo": [
672
+ "id"
673
+ ],
674
+ "onDelete": "cascade",
675
+ "onUpdate": "no action"
676
+ }
677
+ },
678
+ "compositePrimaryKeys": {},
679
+ "uniqueConstraints": {},
680
+ "policies": {},
681
+ "checkConstraints": {},
682
+ "isRLSEnabled": false
683
+ },
684
+ "public.settings": {
685
+ "name": "settings",
686
+ "schema": "",
687
+ "columns": {
688
+ "scope": {
689
+ "name": "scope",
690
+ "type": "text",
691
+ "primaryKey": true,
692
+ "notNull": true
693
+ },
694
+ "value": {
695
+ "name": "value",
696
+ "type": "jsonb",
697
+ "primaryKey": false,
698
+ "notNull": true,
699
+ "default": "'{}'::jsonb"
700
+ },
701
+ "updated_at": {
702
+ "name": "updated_at",
703
+ "type": "timestamp with time zone",
704
+ "primaryKey": false,
705
+ "notNull": true,
706
+ "default": "now()"
707
+ },
708
+ "updated_by": {
709
+ "name": "updated_by",
710
+ "type": "uuid",
711
+ "primaryKey": false,
712
+ "notNull": false
713
+ }
714
+ },
715
+ "indexes": {},
716
+ "foreignKeys": {
717
+ "settings_updated_by_users_id_fk": {
718
+ "name": "settings_updated_by_users_id_fk",
719
+ "tableFrom": "settings",
720
+ "tableTo": "users",
721
+ "columnsFrom": [
722
+ "updated_by"
723
+ ],
724
+ "columnsTo": [
725
+ "id"
726
+ ],
727
+ "onDelete": "set null",
728
+ "onUpdate": "no action"
729
+ }
730
+ },
731
+ "compositePrimaryKeys": {},
732
+ "uniqueConstraints": {},
733
+ "policies": {},
734
+ "checkConstraints": {},
735
+ "isRLSEnabled": false
736
+ },
737
+ "public.user_preferences": {
738
+ "name": "user_preferences",
739
+ "schema": "",
740
+ "columns": {
741
+ "user_id": {
742
+ "name": "user_id",
743
+ "type": "uuid",
744
+ "primaryKey": true,
745
+ "notNull": true
746
+ },
747
+ "color_mode": {
748
+ "name": "color_mode",
749
+ "type": "text",
750
+ "primaryKey": false,
751
+ "notNull": true,
752
+ "default": "'system'"
753
+ },
754
+ "locale": {
755
+ "name": "locale",
756
+ "type": "text",
757
+ "primaryKey": false,
758
+ "notNull": true,
759
+ "default": "'en'"
760
+ },
761
+ "updated_at": {
762
+ "name": "updated_at",
763
+ "type": "timestamp with time zone",
764
+ "primaryKey": false,
765
+ "notNull": true,
766
+ "default": "now()"
767
+ }
768
+ },
769
+ "indexes": {},
770
+ "foreignKeys": {
771
+ "user_preferences_user_id_users_id_fk": {
772
+ "name": "user_preferences_user_id_users_id_fk",
773
+ "tableFrom": "user_preferences",
774
+ "tableTo": "users",
775
+ "columnsFrom": [
776
+ "user_id"
777
+ ],
778
+ "columnsTo": [
779
+ "id"
780
+ ],
781
+ "onDelete": "cascade",
782
+ "onUpdate": "no action"
783
+ }
784
+ },
785
+ "compositePrimaryKeys": {},
786
+ "uniqueConstraints": {},
787
+ "policies": {},
788
+ "checkConstraints": {},
789
+ "isRLSEnabled": false
790
+ },
791
+ "public.users": {
792
+ "name": "users",
793
+ "schema": "",
794
+ "columns": {
795
+ "id": {
796
+ "name": "id",
797
+ "type": "uuid",
798
+ "primaryKey": true,
799
+ "notNull": true,
800
+ "default": "gen_random_uuid()"
801
+ },
802
+ "email": {
803
+ "name": "email",
804
+ "type": "text",
805
+ "primaryKey": false,
806
+ "notNull": true
807
+ },
808
+ "name": {
809
+ "name": "name",
810
+ "type": "text",
811
+ "primaryKey": false,
812
+ "notNull": true
813
+ },
814
+ "role": {
815
+ "name": "role",
816
+ "type": "text",
817
+ "primaryKey": false,
818
+ "notNull": true,
819
+ "default": "'member'"
820
+ },
821
+ "password_hash": {
822
+ "name": "password_hash",
823
+ "type": "text",
824
+ "primaryKey": false,
825
+ "notNull": false
826
+ },
827
+ "last_sign_in_at": {
828
+ "name": "last_sign_in_at",
829
+ "type": "timestamp with time zone",
830
+ "primaryKey": false,
831
+ "notNull": false
832
+ },
833
+ "created_at": {
834
+ "name": "created_at",
835
+ "type": "timestamp with time zone",
836
+ "primaryKey": false,
837
+ "notNull": true,
838
+ "default": "now()"
839
+ },
840
+ "updated_at": {
841
+ "name": "updated_at",
842
+ "type": "timestamp with time zone",
843
+ "primaryKey": false,
844
+ "notNull": true,
845
+ "default": "now()"
846
+ }
847
+ },
848
+ "indexes": {
849
+ "users_email_unique": {
850
+ "name": "users_email_unique",
851
+ "columns": [
852
+ {
853
+ "expression": "email",
854
+ "isExpression": false,
855
+ "asc": true,
856
+ "nulls": "last"
857
+ }
858
+ ],
859
+ "isUnique": true,
860
+ "concurrently": false,
861
+ "method": "btree",
862
+ "with": {}
863
+ }
864
+ },
865
+ "foreignKeys": {},
866
+ "compositePrimaryKeys": {},
867
+ "uniqueConstraints": {},
868
+ "policies": {},
869
+ "checkConstraints": {},
870
+ "isRLSEnabled": false
871
+ }
872
+ },
873
+ "enums": {},
874
+ "schemas": {},
875
+ "sequences": {},
876
+ "roles": {},
877
+ "policies": {},
878
+ "views": {},
879
+ "_meta": {
880
+ "columns": {},
881
+ "schemas": {},
882
+ "tables": {}
883
+ }
884
+ }