@spfn/auth 0.2.0-beta.9 → 0.2.0-beta.90

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 (52) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +984 -1743
  3. package/dist/authenticate-CnccboAg.d.ts +1383 -0
  4. package/dist/client-proof.d.ts +677 -0
  5. package/dist/client-proof.js +1814 -0
  6. package/dist/client-proof.js.map +1 -0
  7. package/dist/config.d.ts +487 -39
  8. package/dist/config.js +243 -29
  9. package/dist/config.js.map +1 -1
  10. package/dist/errors.d.ts +208 -3
  11. package/dist/errors.js +140 -1
  12. package/dist/errors.js.map +1 -1
  13. package/dist/index.d.ts +391 -109
  14. package/dist/index.js +186 -7
  15. package/dist/index.js.map +1 -1
  16. package/dist/nextjs/api.js +591 -61
  17. package/dist/nextjs/api.js.map +1 -1
  18. package/dist/nextjs/client.d.ts +28 -0
  19. package/dist/nextjs/client.js +80 -0
  20. package/dist/nextjs/client.js.map +1 -0
  21. package/dist/nextjs/server.d.ts +92 -3
  22. package/dist/nextjs/server.js +288 -24
  23. package/dist/nextjs/server.js.map +1 -1
  24. package/dist/server.d.ts +2495 -1089
  25. package/dist/server.js +6212 -1499
  26. package/dist/server.js.map +1 -1
  27. package/dist/session-CFK4BT25.d.ts +53 -0
  28. package/dist/types-CD95yudz.d.ts +98 -0
  29. package/migrations/20251125021229_premium_famine/snapshot.json +2641 -0
  30. package/migrations/20260225130050_smooth_the_fury/migration.sql +3 -0
  31. package/migrations/20260225130050_smooth_the_fury/snapshot.json +2686 -0
  32. package/migrations/20260308141417_deep_iceman/migration.sql +11 -0
  33. package/migrations/20260308141417_deep_iceman/snapshot.json +2686 -0
  34. package/migrations/20260308151309_perfect_deathbird/migration.sql +3 -0
  35. package/migrations/20260308151309_perfect_deathbird/snapshot.json +2731 -0
  36. package/migrations/20260308201135_concerned_rawhide_kid/migration.sql +5 -0
  37. package/migrations/20260308201135_concerned_rawhide_kid/snapshot.json +2786 -0
  38. package/migrations/20260629103209_lethal_lifeguard/migration.sql +32 -0
  39. package/migrations/20260629103209_lethal_lifeguard/snapshot.json +2786 -0
  40. package/migrations/20260709073531_easy_hardball/migration.sql +24 -0
  41. package/migrations/20260709073531_easy_hardball/snapshot.json +3119 -0
  42. package/migrations/20260714081434_glossy_major_mapleleaf/migration.sql +1 -0
  43. package/migrations/20260714081434_glossy_major_mapleleaf/snapshot.json +3112 -0
  44. package/migrations/20260804105939_amazing_bushwacker/migration.sql +3 -0
  45. package/migrations/20260804105939_amazing_bushwacker/snapshot.json +3112 -0
  46. package/migrations/20260804110033_fat_piledriver/migration.sql +2 -0
  47. package/migrations/20260804110033_fat_piledriver/snapshot.json +3138 -0
  48. package/package.json +60 -46
  49. package/dist/dto-CRlgoCP5.d.ts +0 -645
  50. package/migrations/meta/0000_snapshot.json +0 -1632
  51. package/migrations/meta/_journal.json +0 -13
  52. /package/migrations/{0000_premium_famine.sql → 20251125021229_premium_famine/migration.sql} +0 -0
@@ -0,0 +1,3112 @@
1
+ {
2
+ "id": "a798d88b-655d-4494-80b3-98ee83fbd530",
3
+ "prevIds": [
4
+ "c8a498b4-f984-4c31-a6af-6736be0f4665"
5
+ ],
6
+ "version": "8",
7
+ "dialect": "postgres",
8
+ "ddl": [
9
+ {
10
+ "name": "spfn_auth",
11
+ "entityType": "schemas"
12
+ },
13
+ {
14
+ "isRlsEnabled": false,
15
+ "name": "users",
16
+ "schema": "spfn_auth",
17
+ "entityType": "tables"
18
+ },
19
+ {
20
+ "columns": [
21
+ "id"
22
+ ],
23
+ "nameExplicit": false,
24
+ "name": "users_pkey",
25
+ "schema": "spfn_auth",
26
+ "table": "users",
27
+ "entityType": "pks"
28
+ },
29
+ {
30
+ "type": "bigserial",
31
+ "typeSchema": null,
32
+ "notNull": true,
33
+ "dimensions": 0,
34
+ "default": null,
35
+ "generated": null,
36
+ "identity": null,
37
+ "name": "id",
38
+ "schema": "spfn_auth",
39
+ "table": "users",
40
+ "entityType": "columns"
41
+ },
42
+ {
43
+ "type": "uuid",
44
+ "typeSchema": null,
45
+ "notNull": true,
46
+ "dimensions": 0,
47
+ "default": "gen_random_uuid()",
48
+ "generated": null,
49
+ "identity": null,
50
+ "name": "public_id",
51
+ "schema": "spfn_auth",
52
+ "table": "users",
53
+ "entityType": "columns"
54
+ },
55
+ {
56
+ "type": "text",
57
+ "typeSchema": null,
58
+ "notNull": false,
59
+ "dimensions": 0,
60
+ "default": null,
61
+ "generated": null,
62
+ "identity": null,
63
+ "name": "email",
64
+ "schema": "spfn_auth",
65
+ "table": "users",
66
+ "entityType": "columns"
67
+ },
68
+ {
69
+ "type": "text",
70
+ "typeSchema": null,
71
+ "notNull": false,
72
+ "dimensions": 0,
73
+ "default": null,
74
+ "generated": null,
75
+ "identity": null,
76
+ "name": "phone",
77
+ "schema": "spfn_auth",
78
+ "table": "users",
79
+ "entityType": "columns"
80
+ },
81
+ {
82
+ "type": "text",
83
+ "typeSchema": null,
84
+ "notNull": false,
85
+ "dimensions": 0,
86
+ "default": null,
87
+ "generated": null,
88
+ "identity": null,
89
+ "name": "username",
90
+ "schema": "spfn_auth",
91
+ "table": "users",
92
+ "entityType": "columns"
93
+ },
94
+ {
95
+ "type": "text",
96
+ "typeSchema": null,
97
+ "notNull": false,
98
+ "dimensions": 0,
99
+ "default": null,
100
+ "generated": null,
101
+ "identity": null,
102
+ "name": "password_hash",
103
+ "schema": "spfn_auth",
104
+ "table": "users",
105
+ "entityType": "columns"
106
+ },
107
+ {
108
+ "type": "boolean",
109
+ "typeSchema": null,
110
+ "notNull": true,
111
+ "dimensions": 0,
112
+ "default": "false",
113
+ "generated": null,
114
+ "identity": null,
115
+ "name": "password_change_required",
116
+ "schema": "spfn_auth",
117
+ "table": "users",
118
+ "entityType": "columns"
119
+ },
120
+ {
121
+ "type": "bigint",
122
+ "typeSchema": null,
123
+ "notNull": true,
124
+ "dimensions": 0,
125
+ "default": null,
126
+ "generated": null,
127
+ "identity": null,
128
+ "name": "role_id",
129
+ "schema": "spfn_auth",
130
+ "table": "users",
131
+ "entityType": "columns"
132
+ },
133
+ {
134
+ "type": "text",
135
+ "typeSchema": null,
136
+ "notNull": true,
137
+ "dimensions": 0,
138
+ "default": "'active'",
139
+ "generated": null,
140
+ "identity": null,
141
+ "name": "status",
142
+ "schema": "spfn_auth",
143
+ "table": "users",
144
+ "entityType": "columns"
145
+ },
146
+ {
147
+ "type": "timestamp with time zone",
148
+ "typeSchema": null,
149
+ "notNull": false,
150
+ "dimensions": 0,
151
+ "default": null,
152
+ "generated": null,
153
+ "identity": null,
154
+ "name": "email_verified_at",
155
+ "schema": "spfn_auth",
156
+ "table": "users",
157
+ "entityType": "columns"
158
+ },
159
+ {
160
+ "type": "timestamp with time zone",
161
+ "typeSchema": null,
162
+ "notNull": false,
163
+ "dimensions": 0,
164
+ "default": null,
165
+ "generated": null,
166
+ "identity": null,
167
+ "name": "phone_verified_at",
168
+ "schema": "spfn_auth",
169
+ "table": "users",
170
+ "entityType": "columns"
171
+ },
172
+ {
173
+ "type": "timestamp with time zone",
174
+ "typeSchema": null,
175
+ "notNull": false,
176
+ "dimensions": 0,
177
+ "default": null,
178
+ "generated": null,
179
+ "identity": null,
180
+ "name": "last_login_at",
181
+ "schema": "spfn_auth",
182
+ "table": "users",
183
+ "entityType": "columns"
184
+ },
185
+ {
186
+ "type": "timestamp with time zone",
187
+ "typeSchema": null,
188
+ "notNull": true,
189
+ "dimensions": 0,
190
+ "default": "now()",
191
+ "generated": null,
192
+ "identity": null,
193
+ "name": "created_at",
194
+ "schema": "spfn_auth",
195
+ "table": "users",
196
+ "entityType": "columns"
197
+ },
198
+ {
199
+ "type": "timestamp with time zone",
200
+ "typeSchema": null,
201
+ "notNull": true,
202
+ "dimensions": 0,
203
+ "default": "now()",
204
+ "generated": null,
205
+ "identity": null,
206
+ "name": "updated_at",
207
+ "schema": "spfn_auth",
208
+ "table": "users",
209
+ "entityType": "columns"
210
+ },
211
+ {
212
+ "type": "timestamp with time zone",
213
+ "typeSchema": null,
214
+ "notNull": false,
215
+ "dimensions": 0,
216
+ "default": null,
217
+ "generated": null,
218
+ "identity": null,
219
+ "name": "deleted_at",
220
+ "schema": "spfn_auth",
221
+ "table": "users",
222
+ "entityType": "columns"
223
+ },
224
+ {
225
+ "type": "text",
226
+ "typeSchema": null,
227
+ "notNull": false,
228
+ "dimensions": 0,
229
+ "default": null,
230
+ "generated": null,
231
+ "identity": null,
232
+ "name": "deleted_by",
233
+ "schema": "spfn_auth",
234
+ "table": "users",
235
+ "entityType": "columns"
236
+ },
237
+ {
238
+ "nameExplicit": false,
239
+ "columns": [
240
+ "public_id"
241
+ ],
242
+ "nullsNotDistinct": false,
243
+ "name": "users_public_id_unique",
244
+ "schema": "spfn_auth",
245
+ "table": "users",
246
+ "entityType": "uniques"
247
+ },
248
+ {
249
+ "nameExplicit": false,
250
+ "columns": [
251
+ "email"
252
+ ],
253
+ "nullsNotDistinct": false,
254
+ "name": "users_email_unique",
255
+ "schema": "spfn_auth",
256
+ "table": "users",
257
+ "entityType": "uniques"
258
+ },
259
+ {
260
+ "nameExplicit": false,
261
+ "columns": [
262
+ "phone"
263
+ ],
264
+ "nullsNotDistinct": false,
265
+ "name": "users_phone_unique",
266
+ "schema": "spfn_auth",
267
+ "table": "users",
268
+ "entityType": "uniques"
269
+ },
270
+ {
271
+ "nameExplicit": false,
272
+ "columns": [
273
+ "username"
274
+ ],
275
+ "nullsNotDistinct": false,
276
+ "name": "users_username_unique",
277
+ "schema": "spfn_auth",
278
+ "table": "users",
279
+ "entityType": "uniques"
280
+ },
281
+ {
282
+ "nameExplicit": true,
283
+ "columns": [
284
+ {
285
+ "value": "public_id",
286
+ "isExpression": false,
287
+ "asc": true,
288
+ "nullsFirst": false,
289
+ "opclass": null
290
+ }
291
+ ],
292
+ "isUnique": false,
293
+ "where": null,
294
+ "with": "",
295
+ "method": "btree",
296
+ "concurrently": false,
297
+ "name": "users_public_id_idx",
298
+ "schema": "spfn_auth",
299
+ "table": "users",
300
+ "entityType": "indexes"
301
+ },
302
+ {
303
+ "nameExplicit": true,
304
+ "columns": [
305
+ {
306
+ "value": "email",
307
+ "isExpression": false,
308
+ "asc": true,
309
+ "nullsFirst": false,
310
+ "opclass": null
311
+ }
312
+ ],
313
+ "isUnique": false,
314
+ "where": null,
315
+ "with": "",
316
+ "method": "btree",
317
+ "concurrently": false,
318
+ "name": "users_email_idx",
319
+ "schema": "spfn_auth",
320
+ "table": "users",
321
+ "entityType": "indexes"
322
+ },
323
+ {
324
+ "nameExplicit": true,
325
+ "columns": [
326
+ {
327
+ "value": "phone",
328
+ "isExpression": false,
329
+ "asc": true,
330
+ "nullsFirst": false,
331
+ "opclass": null
332
+ }
333
+ ],
334
+ "isUnique": false,
335
+ "where": null,
336
+ "with": "",
337
+ "method": "btree",
338
+ "concurrently": false,
339
+ "name": "users_phone_idx",
340
+ "schema": "spfn_auth",
341
+ "table": "users",
342
+ "entityType": "indexes"
343
+ },
344
+ {
345
+ "nameExplicit": true,
346
+ "columns": [
347
+ {
348
+ "value": "username",
349
+ "isExpression": false,
350
+ "asc": true,
351
+ "nullsFirst": false,
352
+ "opclass": null
353
+ }
354
+ ],
355
+ "isUnique": false,
356
+ "where": null,
357
+ "with": "",
358
+ "method": "btree",
359
+ "concurrently": false,
360
+ "name": "users_username_idx",
361
+ "schema": "spfn_auth",
362
+ "table": "users",
363
+ "entityType": "indexes"
364
+ },
365
+ {
366
+ "nameExplicit": true,
367
+ "columns": [
368
+ {
369
+ "value": "status",
370
+ "isExpression": false,
371
+ "asc": true,
372
+ "nullsFirst": false,
373
+ "opclass": null
374
+ }
375
+ ],
376
+ "isUnique": false,
377
+ "where": null,
378
+ "with": "",
379
+ "method": "btree",
380
+ "concurrently": false,
381
+ "name": "users_status_idx",
382
+ "schema": "spfn_auth",
383
+ "table": "users",
384
+ "entityType": "indexes"
385
+ },
386
+ {
387
+ "nameExplicit": true,
388
+ "columns": [
389
+ {
390
+ "value": "role_id",
391
+ "isExpression": false,
392
+ "asc": true,
393
+ "nullsFirst": false,
394
+ "opclass": null
395
+ }
396
+ ],
397
+ "isUnique": false,
398
+ "where": null,
399
+ "with": "",
400
+ "method": "btree",
401
+ "concurrently": false,
402
+ "name": "users_role_id_idx",
403
+ "schema": "spfn_auth",
404
+ "table": "users",
405
+ "entityType": "indexes"
406
+ },
407
+ {
408
+ "nameExplicit": false,
409
+ "columns": [
410
+ "role_id"
411
+ ],
412
+ "schemaTo": "spfn_auth",
413
+ "tableTo": "roles",
414
+ "columnsTo": [
415
+ "id"
416
+ ],
417
+ "onUpdate": "NO ACTION",
418
+ "onDelete": "CASCADE",
419
+ "name": "users_role_id_roles_id_fk",
420
+ "schema": "spfn_auth",
421
+ "table": "users",
422
+ "entityType": "fks"
423
+ },
424
+ {
425
+ "isRlsEnabled": false,
426
+ "name": "user_profiles",
427
+ "schema": "spfn_auth",
428
+ "entityType": "tables"
429
+ },
430
+ {
431
+ "columns": [
432
+ "id"
433
+ ],
434
+ "nameExplicit": false,
435
+ "name": "user_profiles_pkey",
436
+ "schema": "spfn_auth",
437
+ "table": "user_profiles",
438
+ "entityType": "pks"
439
+ },
440
+ {
441
+ "type": "bigserial",
442
+ "typeSchema": null,
443
+ "notNull": true,
444
+ "dimensions": 0,
445
+ "default": null,
446
+ "generated": null,
447
+ "identity": null,
448
+ "name": "id",
449
+ "schema": "spfn_auth",
450
+ "table": "user_profiles",
451
+ "entityType": "columns"
452
+ },
453
+ {
454
+ "type": "bigint",
455
+ "typeSchema": null,
456
+ "notNull": true,
457
+ "dimensions": 0,
458
+ "default": null,
459
+ "generated": null,
460
+ "identity": null,
461
+ "name": "user_id",
462
+ "schema": "spfn_auth",
463
+ "table": "user_profiles",
464
+ "entityType": "columns"
465
+ },
466
+ {
467
+ "type": "text",
468
+ "typeSchema": null,
469
+ "notNull": false,
470
+ "dimensions": 0,
471
+ "default": null,
472
+ "generated": null,
473
+ "identity": null,
474
+ "name": "display_name",
475
+ "schema": "spfn_auth",
476
+ "table": "user_profiles",
477
+ "entityType": "columns"
478
+ },
479
+ {
480
+ "type": "text",
481
+ "typeSchema": null,
482
+ "notNull": false,
483
+ "dimensions": 0,
484
+ "default": null,
485
+ "generated": null,
486
+ "identity": null,
487
+ "name": "first_name",
488
+ "schema": "spfn_auth",
489
+ "table": "user_profiles",
490
+ "entityType": "columns"
491
+ },
492
+ {
493
+ "type": "text",
494
+ "typeSchema": null,
495
+ "notNull": false,
496
+ "dimensions": 0,
497
+ "default": null,
498
+ "generated": null,
499
+ "identity": null,
500
+ "name": "last_name",
501
+ "schema": "spfn_auth",
502
+ "table": "user_profiles",
503
+ "entityType": "columns"
504
+ },
505
+ {
506
+ "type": "text",
507
+ "typeSchema": null,
508
+ "notNull": false,
509
+ "dimensions": 0,
510
+ "default": null,
511
+ "generated": null,
512
+ "identity": null,
513
+ "name": "avatar_url",
514
+ "schema": "spfn_auth",
515
+ "table": "user_profiles",
516
+ "entityType": "columns"
517
+ },
518
+ {
519
+ "type": "text",
520
+ "typeSchema": null,
521
+ "notNull": false,
522
+ "dimensions": 0,
523
+ "default": null,
524
+ "generated": null,
525
+ "identity": null,
526
+ "name": "bio",
527
+ "schema": "spfn_auth",
528
+ "table": "user_profiles",
529
+ "entityType": "columns"
530
+ },
531
+ {
532
+ "type": "text",
533
+ "typeSchema": null,
534
+ "notNull": false,
535
+ "dimensions": 0,
536
+ "default": "'en'",
537
+ "generated": null,
538
+ "identity": null,
539
+ "name": "locale",
540
+ "schema": "spfn_auth",
541
+ "table": "user_profiles",
542
+ "entityType": "columns"
543
+ },
544
+ {
545
+ "type": "text",
546
+ "typeSchema": null,
547
+ "notNull": false,
548
+ "dimensions": 0,
549
+ "default": "'UTC'",
550
+ "generated": null,
551
+ "identity": null,
552
+ "name": "timezone",
553
+ "schema": "spfn_auth",
554
+ "table": "user_profiles",
555
+ "entityType": "columns"
556
+ },
557
+ {
558
+ "type": "text",
559
+ "typeSchema": null,
560
+ "notNull": false,
561
+ "dimensions": 0,
562
+ "default": null,
563
+ "generated": null,
564
+ "identity": null,
565
+ "name": "date_of_birth",
566
+ "schema": "spfn_auth",
567
+ "table": "user_profiles",
568
+ "entityType": "columns"
569
+ },
570
+ {
571
+ "type": "text",
572
+ "typeSchema": null,
573
+ "notNull": false,
574
+ "dimensions": 0,
575
+ "default": null,
576
+ "generated": null,
577
+ "identity": null,
578
+ "name": "gender",
579
+ "schema": "spfn_auth",
580
+ "table": "user_profiles",
581
+ "entityType": "columns"
582
+ },
583
+ {
584
+ "type": "text",
585
+ "typeSchema": null,
586
+ "notNull": false,
587
+ "dimensions": 0,
588
+ "default": null,
589
+ "generated": null,
590
+ "identity": null,
591
+ "name": "website",
592
+ "schema": "spfn_auth",
593
+ "table": "user_profiles",
594
+ "entityType": "columns"
595
+ },
596
+ {
597
+ "type": "text",
598
+ "typeSchema": null,
599
+ "notNull": false,
600
+ "dimensions": 0,
601
+ "default": null,
602
+ "generated": null,
603
+ "identity": null,
604
+ "name": "location",
605
+ "schema": "spfn_auth",
606
+ "table": "user_profiles",
607
+ "entityType": "columns"
608
+ },
609
+ {
610
+ "type": "text",
611
+ "typeSchema": null,
612
+ "notNull": false,
613
+ "dimensions": 0,
614
+ "default": null,
615
+ "generated": null,
616
+ "identity": null,
617
+ "name": "company",
618
+ "schema": "spfn_auth",
619
+ "table": "user_profiles",
620
+ "entityType": "columns"
621
+ },
622
+ {
623
+ "type": "text",
624
+ "typeSchema": null,
625
+ "notNull": false,
626
+ "dimensions": 0,
627
+ "default": null,
628
+ "generated": null,
629
+ "identity": null,
630
+ "name": "job_title",
631
+ "schema": "spfn_auth",
632
+ "table": "user_profiles",
633
+ "entityType": "columns"
634
+ },
635
+ {
636
+ "type": "jsonb",
637
+ "typeSchema": null,
638
+ "notNull": false,
639
+ "dimensions": 0,
640
+ "default": null,
641
+ "generated": null,
642
+ "identity": null,
643
+ "name": "metadata",
644
+ "schema": "spfn_auth",
645
+ "table": "user_profiles",
646
+ "entityType": "columns"
647
+ },
648
+ {
649
+ "type": "timestamp with time zone",
650
+ "typeSchema": null,
651
+ "notNull": true,
652
+ "dimensions": 0,
653
+ "default": "now()",
654
+ "generated": null,
655
+ "identity": null,
656
+ "name": "created_at",
657
+ "schema": "spfn_auth",
658
+ "table": "user_profiles",
659
+ "entityType": "columns"
660
+ },
661
+ {
662
+ "type": "timestamp with time zone",
663
+ "typeSchema": null,
664
+ "notNull": true,
665
+ "dimensions": 0,
666
+ "default": "now()",
667
+ "generated": null,
668
+ "identity": null,
669
+ "name": "updated_at",
670
+ "schema": "spfn_auth",
671
+ "table": "user_profiles",
672
+ "entityType": "columns"
673
+ },
674
+ {
675
+ "nameExplicit": false,
676
+ "columns": [
677
+ "user_id"
678
+ ],
679
+ "nullsNotDistinct": false,
680
+ "name": "user_profiles_user_id_unique",
681
+ "schema": "spfn_auth",
682
+ "table": "user_profiles",
683
+ "entityType": "uniques"
684
+ },
685
+ {
686
+ "nameExplicit": true,
687
+ "columns": [
688
+ {
689
+ "value": "user_id",
690
+ "isExpression": false,
691
+ "asc": true,
692
+ "nullsFirst": false,
693
+ "opclass": null
694
+ }
695
+ ],
696
+ "isUnique": false,
697
+ "where": null,
698
+ "with": "",
699
+ "method": "btree",
700
+ "concurrently": false,
701
+ "name": "user_profiles_user_id_idx",
702
+ "schema": "spfn_auth",
703
+ "table": "user_profiles",
704
+ "entityType": "indexes"
705
+ },
706
+ {
707
+ "nameExplicit": true,
708
+ "columns": [
709
+ {
710
+ "value": "display_name",
711
+ "isExpression": false,
712
+ "asc": true,
713
+ "nullsFirst": false,
714
+ "opclass": null
715
+ }
716
+ ],
717
+ "isUnique": false,
718
+ "where": null,
719
+ "with": "",
720
+ "method": "btree",
721
+ "concurrently": false,
722
+ "name": "user_profiles_display_name_idx",
723
+ "schema": "spfn_auth",
724
+ "table": "user_profiles",
725
+ "entityType": "indexes"
726
+ },
727
+ {
728
+ "nameExplicit": true,
729
+ "columns": [
730
+ {
731
+ "value": "locale",
732
+ "isExpression": false,
733
+ "asc": true,
734
+ "nullsFirst": false,
735
+ "opclass": null
736
+ }
737
+ ],
738
+ "isUnique": false,
739
+ "where": null,
740
+ "with": "",
741
+ "method": "btree",
742
+ "concurrently": false,
743
+ "name": "user_profiles_locale_idx",
744
+ "schema": "spfn_auth",
745
+ "table": "user_profiles",
746
+ "entityType": "indexes"
747
+ },
748
+ {
749
+ "nameExplicit": false,
750
+ "columns": [
751
+ "user_id"
752
+ ],
753
+ "schemaTo": "spfn_auth",
754
+ "tableTo": "users",
755
+ "columnsTo": [
756
+ "id"
757
+ ],
758
+ "onUpdate": "NO ACTION",
759
+ "onDelete": "CASCADE",
760
+ "name": "user_profiles_user_id_users_id_fk",
761
+ "schema": "spfn_auth",
762
+ "table": "user_profiles",
763
+ "entityType": "fks"
764
+ },
765
+ {
766
+ "isRlsEnabled": false,
767
+ "name": "user_public_keys",
768
+ "schema": "spfn_auth",
769
+ "entityType": "tables"
770
+ },
771
+ {
772
+ "columns": [
773
+ "id"
774
+ ],
775
+ "nameExplicit": false,
776
+ "name": "user_public_keys_pkey",
777
+ "schema": "spfn_auth",
778
+ "table": "user_public_keys",
779
+ "entityType": "pks"
780
+ },
781
+ {
782
+ "type": "bigserial",
783
+ "typeSchema": null,
784
+ "notNull": true,
785
+ "dimensions": 0,
786
+ "default": null,
787
+ "generated": null,
788
+ "identity": null,
789
+ "name": "id",
790
+ "schema": "spfn_auth",
791
+ "table": "user_public_keys",
792
+ "entityType": "columns"
793
+ },
794
+ {
795
+ "type": "bigint",
796
+ "typeSchema": null,
797
+ "notNull": true,
798
+ "dimensions": 0,
799
+ "default": null,
800
+ "generated": null,
801
+ "identity": null,
802
+ "name": "user_id",
803
+ "schema": "spfn_auth",
804
+ "table": "user_public_keys",
805
+ "entityType": "columns"
806
+ },
807
+ {
808
+ "type": "text",
809
+ "typeSchema": null,
810
+ "notNull": true,
811
+ "dimensions": 0,
812
+ "default": null,
813
+ "generated": null,
814
+ "identity": null,
815
+ "name": "key_id",
816
+ "schema": "spfn_auth",
817
+ "table": "user_public_keys",
818
+ "entityType": "columns"
819
+ },
820
+ {
821
+ "type": "text",
822
+ "typeSchema": null,
823
+ "notNull": true,
824
+ "dimensions": 0,
825
+ "default": null,
826
+ "generated": null,
827
+ "identity": null,
828
+ "name": "public_key",
829
+ "schema": "spfn_auth",
830
+ "table": "user_public_keys",
831
+ "entityType": "columns"
832
+ },
833
+ {
834
+ "type": "text",
835
+ "typeSchema": null,
836
+ "notNull": true,
837
+ "dimensions": 0,
838
+ "default": "'ES256'",
839
+ "generated": null,
840
+ "identity": null,
841
+ "name": "algorithm",
842
+ "schema": "spfn_auth",
843
+ "table": "user_public_keys",
844
+ "entityType": "columns"
845
+ },
846
+ {
847
+ "type": "text",
848
+ "typeSchema": null,
849
+ "notNull": true,
850
+ "dimensions": 0,
851
+ "default": null,
852
+ "generated": null,
853
+ "identity": null,
854
+ "name": "fingerprint",
855
+ "schema": "spfn_auth",
856
+ "table": "user_public_keys",
857
+ "entityType": "columns"
858
+ },
859
+ {
860
+ "type": "boolean",
861
+ "typeSchema": null,
862
+ "notNull": true,
863
+ "dimensions": 0,
864
+ "default": "true",
865
+ "generated": null,
866
+ "identity": null,
867
+ "name": "is_active",
868
+ "schema": "spfn_auth",
869
+ "table": "user_public_keys",
870
+ "entityType": "columns"
871
+ },
872
+ {
873
+ "type": "timestamp with time zone",
874
+ "typeSchema": null,
875
+ "notNull": true,
876
+ "dimensions": 0,
877
+ "default": "now()",
878
+ "generated": null,
879
+ "identity": null,
880
+ "name": "created_at",
881
+ "schema": "spfn_auth",
882
+ "table": "user_public_keys",
883
+ "entityType": "columns"
884
+ },
885
+ {
886
+ "type": "timestamp with time zone",
887
+ "typeSchema": null,
888
+ "notNull": false,
889
+ "dimensions": 0,
890
+ "default": null,
891
+ "generated": null,
892
+ "identity": null,
893
+ "name": "last_used_at",
894
+ "schema": "spfn_auth",
895
+ "table": "user_public_keys",
896
+ "entityType": "columns"
897
+ },
898
+ {
899
+ "type": "timestamp with time zone",
900
+ "typeSchema": null,
901
+ "notNull": false,
902
+ "dimensions": 0,
903
+ "default": null,
904
+ "generated": null,
905
+ "identity": null,
906
+ "name": "expires_at",
907
+ "schema": "spfn_auth",
908
+ "table": "user_public_keys",
909
+ "entityType": "columns"
910
+ },
911
+ {
912
+ "type": "timestamp with time zone",
913
+ "typeSchema": null,
914
+ "notNull": false,
915
+ "dimensions": 0,
916
+ "default": null,
917
+ "generated": null,
918
+ "identity": null,
919
+ "name": "revoked_at",
920
+ "schema": "spfn_auth",
921
+ "table": "user_public_keys",
922
+ "entityType": "columns"
923
+ },
924
+ {
925
+ "type": "text",
926
+ "typeSchema": null,
927
+ "notNull": false,
928
+ "dimensions": 0,
929
+ "default": null,
930
+ "generated": null,
931
+ "identity": null,
932
+ "name": "revoked_reason",
933
+ "schema": "spfn_auth",
934
+ "table": "user_public_keys",
935
+ "entityType": "columns"
936
+ },
937
+ {
938
+ "nameExplicit": false,
939
+ "columns": [
940
+ "key_id"
941
+ ],
942
+ "nullsNotDistinct": false,
943
+ "name": "user_public_keys_key_id_unique",
944
+ "schema": "spfn_auth",
945
+ "table": "user_public_keys",
946
+ "entityType": "uniques"
947
+ },
948
+ {
949
+ "nameExplicit": true,
950
+ "columns": [
951
+ {
952
+ "value": "user_id",
953
+ "isExpression": false,
954
+ "asc": true,
955
+ "nullsFirst": false,
956
+ "opclass": null
957
+ }
958
+ ],
959
+ "isUnique": false,
960
+ "where": null,
961
+ "with": "",
962
+ "method": "btree",
963
+ "concurrently": false,
964
+ "name": "user_public_keys_user_id_idx",
965
+ "schema": "spfn_auth",
966
+ "table": "user_public_keys",
967
+ "entityType": "indexes"
968
+ },
969
+ {
970
+ "nameExplicit": true,
971
+ "columns": [
972
+ {
973
+ "value": "key_id",
974
+ "isExpression": false,
975
+ "asc": true,
976
+ "nullsFirst": false,
977
+ "opclass": null
978
+ }
979
+ ],
980
+ "isUnique": false,
981
+ "where": null,
982
+ "with": "",
983
+ "method": "btree",
984
+ "concurrently": false,
985
+ "name": "user_public_keys_key_id_idx",
986
+ "schema": "spfn_auth",
987
+ "table": "user_public_keys",
988
+ "entityType": "indexes"
989
+ },
990
+ {
991
+ "nameExplicit": true,
992
+ "columns": [
993
+ {
994
+ "value": "is_active",
995
+ "isExpression": false,
996
+ "asc": true,
997
+ "nullsFirst": false,
998
+ "opclass": null
999
+ }
1000
+ ],
1001
+ "isUnique": false,
1002
+ "where": null,
1003
+ "with": "",
1004
+ "method": "btree",
1005
+ "concurrently": false,
1006
+ "name": "user_public_keys_active_idx",
1007
+ "schema": "spfn_auth",
1008
+ "table": "user_public_keys",
1009
+ "entityType": "indexes"
1010
+ },
1011
+ {
1012
+ "nameExplicit": true,
1013
+ "columns": [
1014
+ {
1015
+ "value": "fingerprint",
1016
+ "isExpression": false,
1017
+ "asc": true,
1018
+ "nullsFirst": false,
1019
+ "opclass": null
1020
+ }
1021
+ ],
1022
+ "isUnique": false,
1023
+ "where": null,
1024
+ "with": "",
1025
+ "method": "btree",
1026
+ "concurrently": false,
1027
+ "name": "user_public_keys_fingerprint_idx",
1028
+ "schema": "spfn_auth",
1029
+ "table": "user_public_keys",
1030
+ "entityType": "indexes"
1031
+ },
1032
+ {
1033
+ "nameExplicit": false,
1034
+ "columns": [
1035
+ "user_id"
1036
+ ],
1037
+ "schemaTo": "spfn_auth",
1038
+ "tableTo": "users",
1039
+ "columnsTo": [
1040
+ "id"
1041
+ ],
1042
+ "onUpdate": "NO ACTION",
1043
+ "onDelete": "CASCADE",
1044
+ "name": "user_public_keys_user_id_users_id_fk",
1045
+ "schema": "spfn_auth",
1046
+ "table": "user_public_keys",
1047
+ "entityType": "fks"
1048
+ },
1049
+ {
1050
+ "isRlsEnabled": false,
1051
+ "name": "user_social_accounts",
1052
+ "schema": "spfn_auth",
1053
+ "entityType": "tables"
1054
+ },
1055
+ {
1056
+ "columns": [
1057
+ "id"
1058
+ ],
1059
+ "nameExplicit": false,
1060
+ "name": "user_social_accounts_pkey",
1061
+ "schema": "spfn_auth",
1062
+ "table": "user_social_accounts",
1063
+ "entityType": "pks"
1064
+ },
1065
+ {
1066
+ "type": "bigserial",
1067
+ "typeSchema": null,
1068
+ "notNull": true,
1069
+ "dimensions": 0,
1070
+ "default": null,
1071
+ "generated": null,
1072
+ "identity": null,
1073
+ "name": "id",
1074
+ "schema": "spfn_auth",
1075
+ "table": "user_social_accounts",
1076
+ "entityType": "columns"
1077
+ },
1078
+ {
1079
+ "type": "bigint",
1080
+ "typeSchema": null,
1081
+ "notNull": true,
1082
+ "dimensions": 0,
1083
+ "default": null,
1084
+ "generated": null,
1085
+ "identity": null,
1086
+ "name": "user_id",
1087
+ "schema": "spfn_auth",
1088
+ "table": "user_social_accounts",
1089
+ "entityType": "columns"
1090
+ },
1091
+ {
1092
+ "type": "text",
1093
+ "typeSchema": null,
1094
+ "notNull": true,
1095
+ "dimensions": 0,
1096
+ "default": null,
1097
+ "generated": null,
1098
+ "identity": null,
1099
+ "name": "provider",
1100
+ "schema": "spfn_auth",
1101
+ "table": "user_social_accounts",
1102
+ "entityType": "columns"
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "typeSchema": null,
1107
+ "notNull": true,
1108
+ "dimensions": 0,
1109
+ "default": null,
1110
+ "generated": null,
1111
+ "identity": null,
1112
+ "name": "provider_user_id",
1113
+ "schema": "spfn_auth",
1114
+ "table": "user_social_accounts",
1115
+ "entityType": "columns"
1116
+ },
1117
+ {
1118
+ "type": "text",
1119
+ "typeSchema": null,
1120
+ "notNull": false,
1121
+ "dimensions": 0,
1122
+ "default": null,
1123
+ "generated": null,
1124
+ "identity": null,
1125
+ "name": "provider_email",
1126
+ "schema": "spfn_auth",
1127
+ "table": "user_social_accounts",
1128
+ "entityType": "columns"
1129
+ },
1130
+ {
1131
+ "type": "text",
1132
+ "typeSchema": null,
1133
+ "notNull": false,
1134
+ "dimensions": 0,
1135
+ "default": null,
1136
+ "generated": null,
1137
+ "identity": null,
1138
+ "name": "access_token",
1139
+ "schema": "spfn_auth",
1140
+ "table": "user_social_accounts",
1141
+ "entityType": "columns"
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "typeSchema": null,
1146
+ "notNull": false,
1147
+ "dimensions": 0,
1148
+ "default": null,
1149
+ "generated": null,
1150
+ "identity": null,
1151
+ "name": "refresh_token",
1152
+ "schema": "spfn_auth",
1153
+ "table": "user_social_accounts",
1154
+ "entityType": "columns"
1155
+ },
1156
+ {
1157
+ "type": "timestamp with time zone",
1158
+ "typeSchema": null,
1159
+ "notNull": false,
1160
+ "dimensions": 0,
1161
+ "default": null,
1162
+ "generated": null,
1163
+ "identity": null,
1164
+ "name": "token_expires_at",
1165
+ "schema": "spfn_auth",
1166
+ "table": "user_social_accounts",
1167
+ "entityType": "columns"
1168
+ },
1169
+ {
1170
+ "type": "timestamp with time zone",
1171
+ "typeSchema": null,
1172
+ "notNull": true,
1173
+ "dimensions": 0,
1174
+ "default": "now()",
1175
+ "generated": null,
1176
+ "identity": null,
1177
+ "name": "created_at",
1178
+ "schema": "spfn_auth",
1179
+ "table": "user_social_accounts",
1180
+ "entityType": "columns"
1181
+ },
1182
+ {
1183
+ "type": "timestamp with time zone",
1184
+ "typeSchema": null,
1185
+ "notNull": true,
1186
+ "dimensions": 0,
1187
+ "default": "now()",
1188
+ "generated": null,
1189
+ "identity": null,
1190
+ "name": "updated_at",
1191
+ "schema": "spfn_auth",
1192
+ "table": "user_social_accounts",
1193
+ "entityType": "columns"
1194
+ },
1195
+ {
1196
+ "nameExplicit": true,
1197
+ "columns": [
1198
+ {
1199
+ "value": "user_id",
1200
+ "isExpression": false,
1201
+ "asc": true,
1202
+ "nullsFirst": false,
1203
+ "opclass": null
1204
+ }
1205
+ ],
1206
+ "isUnique": false,
1207
+ "where": null,
1208
+ "with": "",
1209
+ "method": "btree",
1210
+ "concurrently": false,
1211
+ "name": "user_social_accounts_user_id_idx",
1212
+ "schema": "spfn_auth",
1213
+ "table": "user_social_accounts",
1214
+ "entityType": "indexes"
1215
+ },
1216
+ {
1217
+ "nameExplicit": true,
1218
+ "columns": [
1219
+ {
1220
+ "value": "provider",
1221
+ "isExpression": false,
1222
+ "asc": true,
1223
+ "nullsFirst": false,
1224
+ "opclass": null
1225
+ }
1226
+ ],
1227
+ "isUnique": false,
1228
+ "where": null,
1229
+ "with": "",
1230
+ "method": "btree",
1231
+ "concurrently": false,
1232
+ "name": "user_social_accounts_provider_idx",
1233
+ "schema": "spfn_auth",
1234
+ "table": "user_social_accounts",
1235
+ "entityType": "indexes"
1236
+ },
1237
+ {
1238
+ "nameExplicit": true,
1239
+ "columns": [
1240
+ {
1241
+ "value": "provider",
1242
+ "isExpression": false,
1243
+ "asc": true,
1244
+ "nullsFirst": false,
1245
+ "opclass": null
1246
+ },
1247
+ {
1248
+ "value": "provider_user_id",
1249
+ "isExpression": false,
1250
+ "asc": true,
1251
+ "nullsFirst": false,
1252
+ "opclass": null
1253
+ }
1254
+ ],
1255
+ "isUnique": true,
1256
+ "where": null,
1257
+ "with": "",
1258
+ "method": "btree",
1259
+ "concurrently": false,
1260
+ "name": "provider_user_unique_idx",
1261
+ "schema": "spfn_auth",
1262
+ "table": "user_social_accounts",
1263
+ "entityType": "indexes"
1264
+ },
1265
+ {
1266
+ "nameExplicit": false,
1267
+ "columns": [
1268
+ "user_id"
1269
+ ],
1270
+ "schemaTo": "spfn_auth",
1271
+ "tableTo": "users",
1272
+ "columnsTo": [
1273
+ "id"
1274
+ ],
1275
+ "onUpdate": "NO ACTION",
1276
+ "onDelete": "CASCADE",
1277
+ "name": "user_social_accounts_user_id_users_id_fk",
1278
+ "schema": "spfn_auth",
1279
+ "table": "user_social_accounts",
1280
+ "entityType": "fks"
1281
+ },
1282
+ {
1283
+ "isRlsEnabled": false,
1284
+ "name": "verification_codes",
1285
+ "schema": "spfn_auth",
1286
+ "entityType": "tables"
1287
+ },
1288
+ {
1289
+ "columns": [
1290
+ "id"
1291
+ ],
1292
+ "nameExplicit": false,
1293
+ "name": "verification_codes_pkey",
1294
+ "schema": "spfn_auth",
1295
+ "table": "verification_codes",
1296
+ "entityType": "pks"
1297
+ },
1298
+ {
1299
+ "type": "bigserial",
1300
+ "typeSchema": null,
1301
+ "notNull": true,
1302
+ "dimensions": 0,
1303
+ "default": null,
1304
+ "generated": null,
1305
+ "identity": null,
1306
+ "name": "id",
1307
+ "schema": "spfn_auth",
1308
+ "table": "verification_codes",
1309
+ "entityType": "columns"
1310
+ },
1311
+ {
1312
+ "type": "text",
1313
+ "typeSchema": null,
1314
+ "notNull": true,
1315
+ "dimensions": 0,
1316
+ "default": null,
1317
+ "generated": null,
1318
+ "identity": null,
1319
+ "name": "target",
1320
+ "schema": "spfn_auth",
1321
+ "table": "verification_codes",
1322
+ "entityType": "columns"
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "typeSchema": null,
1327
+ "notNull": true,
1328
+ "dimensions": 0,
1329
+ "default": null,
1330
+ "generated": null,
1331
+ "identity": null,
1332
+ "name": "target_type",
1333
+ "schema": "spfn_auth",
1334
+ "table": "verification_codes",
1335
+ "entityType": "columns"
1336
+ },
1337
+ {
1338
+ "type": "text",
1339
+ "typeSchema": null,
1340
+ "notNull": true,
1341
+ "dimensions": 0,
1342
+ "default": null,
1343
+ "generated": null,
1344
+ "identity": null,
1345
+ "name": "code",
1346
+ "schema": "spfn_auth",
1347
+ "table": "verification_codes",
1348
+ "entityType": "columns"
1349
+ },
1350
+ {
1351
+ "type": "text",
1352
+ "typeSchema": null,
1353
+ "notNull": true,
1354
+ "dimensions": 0,
1355
+ "default": null,
1356
+ "generated": null,
1357
+ "identity": null,
1358
+ "name": "purpose",
1359
+ "schema": "spfn_auth",
1360
+ "table": "verification_codes",
1361
+ "entityType": "columns"
1362
+ },
1363
+ {
1364
+ "type": "timestamp with time zone",
1365
+ "typeSchema": null,
1366
+ "notNull": true,
1367
+ "dimensions": 0,
1368
+ "default": null,
1369
+ "generated": null,
1370
+ "identity": null,
1371
+ "name": "expires_at",
1372
+ "schema": "spfn_auth",
1373
+ "table": "verification_codes",
1374
+ "entityType": "columns"
1375
+ },
1376
+ {
1377
+ "type": "timestamp with time zone",
1378
+ "typeSchema": null,
1379
+ "notNull": false,
1380
+ "dimensions": 0,
1381
+ "default": null,
1382
+ "generated": null,
1383
+ "identity": null,
1384
+ "name": "used_at",
1385
+ "schema": "spfn_auth",
1386
+ "table": "verification_codes",
1387
+ "entityType": "columns"
1388
+ },
1389
+ {
1390
+ "type": "integer",
1391
+ "typeSchema": null,
1392
+ "notNull": true,
1393
+ "dimensions": 0,
1394
+ "default": "0",
1395
+ "generated": null,
1396
+ "identity": null,
1397
+ "name": "attempts",
1398
+ "schema": "spfn_auth",
1399
+ "table": "verification_codes",
1400
+ "entityType": "columns"
1401
+ },
1402
+ {
1403
+ "type": "timestamp with time zone",
1404
+ "typeSchema": null,
1405
+ "notNull": true,
1406
+ "dimensions": 0,
1407
+ "default": "now()",
1408
+ "generated": null,
1409
+ "identity": null,
1410
+ "name": "created_at",
1411
+ "schema": "spfn_auth",
1412
+ "table": "verification_codes",
1413
+ "entityType": "columns"
1414
+ },
1415
+ {
1416
+ "type": "timestamp with time zone",
1417
+ "typeSchema": null,
1418
+ "notNull": true,
1419
+ "dimensions": 0,
1420
+ "default": "now()",
1421
+ "generated": null,
1422
+ "identity": null,
1423
+ "name": "updated_at",
1424
+ "schema": "spfn_auth",
1425
+ "table": "verification_codes",
1426
+ "entityType": "columns"
1427
+ },
1428
+ {
1429
+ "value": "\"spfn_auth\".\"verification_codes\".\"attempts\" >= 0 AND \"spfn_auth\".\"verification_codes\".\"attempts\" <= 10",
1430
+ "name": "attempts_limit_check",
1431
+ "schema": "spfn_auth",
1432
+ "table": "verification_codes",
1433
+ "entityType": "checks"
1434
+ },
1435
+ {
1436
+ "nameExplicit": true,
1437
+ "columns": [
1438
+ {
1439
+ "value": "target",
1440
+ "isExpression": false,
1441
+ "asc": true,
1442
+ "nullsFirst": false,
1443
+ "opclass": null
1444
+ },
1445
+ {
1446
+ "value": "purpose",
1447
+ "isExpression": false,
1448
+ "asc": true,
1449
+ "nullsFirst": false,
1450
+ "opclass": null
1451
+ },
1452
+ {
1453
+ "value": "expires_at",
1454
+ "isExpression": false,
1455
+ "asc": true,
1456
+ "nullsFirst": false,
1457
+ "opclass": null
1458
+ }
1459
+ ],
1460
+ "isUnique": false,
1461
+ "where": null,
1462
+ "with": "",
1463
+ "method": "btree",
1464
+ "concurrently": false,
1465
+ "name": "target_purpose_idx",
1466
+ "schema": "spfn_auth",
1467
+ "table": "verification_codes",
1468
+ "entityType": "indexes"
1469
+ },
1470
+ {
1471
+ "isRlsEnabled": false,
1472
+ "name": "user_invitations",
1473
+ "schema": "spfn_auth",
1474
+ "entityType": "tables"
1475
+ },
1476
+ {
1477
+ "columns": [
1478
+ "id"
1479
+ ],
1480
+ "nameExplicit": false,
1481
+ "name": "user_invitations_pkey",
1482
+ "schema": "spfn_auth",
1483
+ "table": "user_invitations",
1484
+ "entityType": "pks"
1485
+ },
1486
+ {
1487
+ "type": "bigserial",
1488
+ "typeSchema": null,
1489
+ "notNull": true,
1490
+ "dimensions": 0,
1491
+ "default": null,
1492
+ "generated": null,
1493
+ "identity": null,
1494
+ "name": "id",
1495
+ "schema": "spfn_auth",
1496
+ "table": "user_invitations",
1497
+ "entityType": "columns"
1498
+ },
1499
+ {
1500
+ "type": "text",
1501
+ "typeSchema": null,
1502
+ "notNull": true,
1503
+ "dimensions": 0,
1504
+ "default": null,
1505
+ "generated": null,
1506
+ "identity": null,
1507
+ "name": "email",
1508
+ "schema": "spfn_auth",
1509
+ "table": "user_invitations",
1510
+ "entityType": "columns"
1511
+ },
1512
+ {
1513
+ "type": "text",
1514
+ "typeSchema": null,
1515
+ "notNull": true,
1516
+ "dimensions": 0,
1517
+ "default": null,
1518
+ "generated": null,
1519
+ "identity": null,
1520
+ "name": "token",
1521
+ "schema": "spfn_auth",
1522
+ "table": "user_invitations",
1523
+ "entityType": "columns"
1524
+ },
1525
+ {
1526
+ "type": "bigint",
1527
+ "typeSchema": null,
1528
+ "notNull": true,
1529
+ "dimensions": 0,
1530
+ "default": null,
1531
+ "generated": null,
1532
+ "identity": null,
1533
+ "name": "role_id",
1534
+ "schema": "spfn_auth",
1535
+ "table": "user_invitations",
1536
+ "entityType": "columns"
1537
+ },
1538
+ {
1539
+ "type": "bigint",
1540
+ "typeSchema": null,
1541
+ "notNull": true,
1542
+ "dimensions": 0,
1543
+ "default": null,
1544
+ "generated": null,
1545
+ "identity": null,
1546
+ "name": "invited_by_id",
1547
+ "schema": "spfn_auth",
1548
+ "table": "user_invitations",
1549
+ "entityType": "columns"
1550
+ },
1551
+ {
1552
+ "type": "text",
1553
+ "typeSchema": null,
1554
+ "notNull": true,
1555
+ "dimensions": 0,
1556
+ "default": "'pending'",
1557
+ "generated": null,
1558
+ "identity": null,
1559
+ "name": "status",
1560
+ "schema": "spfn_auth",
1561
+ "table": "user_invitations",
1562
+ "entityType": "columns"
1563
+ },
1564
+ {
1565
+ "type": "timestamp with time zone",
1566
+ "typeSchema": null,
1567
+ "notNull": true,
1568
+ "dimensions": 0,
1569
+ "default": null,
1570
+ "generated": null,
1571
+ "identity": null,
1572
+ "name": "expires_at",
1573
+ "schema": "spfn_auth",
1574
+ "table": "user_invitations",
1575
+ "entityType": "columns"
1576
+ },
1577
+ {
1578
+ "type": "timestamp with time zone",
1579
+ "typeSchema": null,
1580
+ "notNull": false,
1581
+ "dimensions": 0,
1582
+ "default": null,
1583
+ "generated": null,
1584
+ "identity": null,
1585
+ "name": "accepted_at",
1586
+ "schema": "spfn_auth",
1587
+ "table": "user_invitations",
1588
+ "entityType": "columns"
1589
+ },
1590
+ {
1591
+ "type": "timestamp with time zone",
1592
+ "typeSchema": null,
1593
+ "notNull": false,
1594
+ "dimensions": 0,
1595
+ "default": null,
1596
+ "generated": null,
1597
+ "identity": null,
1598
+ "name": "cancelled_at",
1599
+ "schema": "spfn_auth",
1600
+ "table": "user_invitations",
1601
+ "entityType": "columns"
1602
+ },
1603
+ {
1604
+ "type": "jsonb",
1605
+ "typeSchema": null,
1606
+ "notNull": false,
1607
+ "dimensions": 0,
1608
+ "default": null,
1609
+ "generated": null,
1610
+ "identity": null,
1611
+ "name": "metadata",
1612
+ "schema": "spfn_auth",
1613
+ "table": "user_invitations",
1614
+ "entityType": "columns"
1615
+ },
1616
+ {
1617
+ "type": "timestamp with time zone",
1618
+ "typeSchema": null,
1619
+ "notNull": true,
1620
+ "dimensions": 0,
1621
+ "default": "now()",
1622
+ "generated": null,
1623
+ "identity": null,
1624
+ "name": "created_at",
1625
+ "schema": "spfn_auth",
1626
+ "table": "user_invitations",
1627
+ "entityType": "columns"
1628
+ },
1629
+ {
1630
+ "type": "timestamp with time zone",
1631
+ "typeSchema": null,
1632
+ "notNull": true,
1633
+ "dimensions": 0,
1634
+ "default": "now()",
1635
+ "generated": null,
1636
+ "identity": null,
1637
+ "name": "updated_at",
1638
+ "schema": "spfn_auth",
1639
+ "table": "user_invitations",
1640
+ "entityType": "columns"
1641
+ },
1642
+ {
1643
+ "nameExplicit": false,
1644
+ "columns": [
1645
+ "token"
1646
+ ],
1647
+ "nullsNotDistinct": false,
1648
+ "name": "user_invitations_token_unique",
1649
+ "schema": "spfn_auth",
1650
+ "table": "user_invitations",
1651
+ "entityType": "uniques"
1652
+ },
1653
+ {
1654
+ "nameExplicit": true,
1655
+ "columns": [
1656
+ {
1657
+ "value": "token",
1658
+ "isExpression": false,
1659
+ "asc": true,
1660
+ "nullsFirst": false,
1661
+ "opclass": null
1662
+ }
1663
+ ],
1664
+ "isUnique": false,
1665
+ "where": null,
1666
+ "with": "",
1667
+ "method": "btree",
1668
+ "concurrently": false,
1669
+ "name": "invitations_token_idx",
1670
+ "schema": "spfn_auth",
1671
+ "table": "user_invitations",
1672
+ "entityType": "indexes"
1673
+ },
1674
+ {
1675
+ "nameExplicit": true,
1676
+ "columns": [
1677
+ {
1678
+ "value": "email",
1679
+ "isExpression": false,
1680
+ "asc": true,
1681
+ "nullsFirst": false,
1682
+ "opclass": null
1683
+ }
1684
+ ],
1685
+ "isUnique": false,
1686
+ "where": null,
1687
+ "with": "",
1688
+ "method": "btree",
1689
+ "concurrently": false,
1690
+ "name": "invitations_email_idx",
1691
+ "schema": "spfn_auth",
1692
+ "table": "user_invitations",
1693
+ "entityType": "indexes"
1694
+ },
1695
+ {
1696
+ "nameExplicit": true,
1697
+ "columns": [
1698
+ {
1699
+ "value": "status",
1700
+ "isExpression": false,
1701
+ "asc": true,
1702
+ "nullsFirst": false,
1703
+ "opclass": null
1704
+ }
1705
+ ],
1706
+ "isUnique": false,
1707
+ "where": null,
1708
+ "with": "",
1709
+ "method": "btree",
1710
+ "concurrently": false,
1711
+ "name": "invitations_status_idx",
1712
+ "schema": "spfn_auth",
1713
+ "table": "user_invitations",
1714
+ "entityType": "indexes"
1715
+ },
1716
+ {
1717
+ "nameExplicit": true,
1718
+ "columns": [
1719
+ {
1720
+ "value": "invited_by_id",
1721
+ "isExpression": false,
1722
+ "asc": true,
1723
+ "nullsFirst": false,
1724
+ "opclass": null
1725
+ }
1726
+ ],
1727
+ "isUnique": false,
1728
+ "where": null,
1729
+ "with": "",
1730
+ "method": "btree",
1731
+ "concurrently": false,
1732
+ "name": "invitations_invited_by_idx",
1733
+ "schema": "spfn_auth",
1734
+ "table": "user_invitations",
1735
+ "entityType": "indexes"
1736
+ },
1737
+ {
1738
+ "nameExplicit": true,
1739
+ "columns": [
1740
+ {
1741
+ "value": "expires_at",
1742
+ "isExpression": false,
1743
+ "asc": true,
1744
+ "nullsFirst": false,
1745
+ "opclass": null
1746
+ }
1747
+ ],
1748
+ "isUnique": false,
1749
+ "where": null,
1750
+ "with": "",
1751
+ "method": "btree",
1752
+ "concurrently": false,
1753
+ "name": "invitations_expires_at_idx",
1754
+ "schema": "spfn_auth",
1755
+ "table": "user_invitations",
1756
+ "entityType": "indexes"
1757
+ },
1758
+ {
1759
+ "nameExplicit": true,
1760
+ "columns": [
1761
+ {
1762
+ "value": "role_id",
1763
+ "isExpression": false,
1764
+ "asc": true,
1765
+ "nullsFirst": false,
1766
+ "opclass": null
1767
+ }
1768
+ ],
1769
+ "isUnique": false,
1770
+ "where": null,
1771
+ "with": "",
1772
+ "method": "btree",
1773
+ "concurrently": false,
1774
+ "name": "invitations_role_id_idx",
1775
+ "schema": "spfn_auth",
1776
+ "table": "user_invitations",
1777
+ "entityType": "indexes"
1778
+ },
1779
+ {
1780
+ "nameExplicit": false,
1781
+ "columns": [
1782
+ "role_id"
1783
+ ],
1784
+ "schemaTo": "spfn_auth",
1785
+ "tableTo": "roles",
1786
+ "columnsTo": [
1787
+ "id"
1788
+ ],
1789
+ "onUpdate": "NO ACTION",
1790
+ "onDelete": "CASCADE",
1791
+ "name": "user_invitations_role_id_roles_id_fk",
1792
+ "schema": "spfn_auth",
1793
+ "table": "user_invitations",
1794
+ "entityType": "fks"
1795
+ },
1796
+ {
1797
+ "nameExplicit": false,
1798
+ "columns": [
1799
+ "invited_by_id"
1800
+ ],
1801
+ "schemaTo": "spfn_auth",
1802
+ "tableTo": "users",
1803
+ "columnsTo": [
1804
+ "id"
1805
+ ],
1806
+ "onUpdate": "NO ACTION",
1807
+ "onDelete": "CASCADE",
1808
+ "name": "user_invitations_invited_by_id_users_id_fk",
1809
+ "schema": "spfn_auth",
1810
+ "table": "user_invitations",
1811
+ "entityType": "fks"
1812
+ },
1813
+ {
1814
+ "isRlsEnabled": false,
1815
+ "name": "account_deletion_requests",
1816
+ "schema": "spfn_auth",
1817
+ "entityType": "tables"
1818
+ },
1819
+ {
1820
+ "columns": [
1821
+ "id"
1822
+ ],
1823
+ "nameExplicit": false,
1824
+ "name": "account_deletion_requests_pkey",
1825
+ "schema": "spfn_auth",
1826
+ "table": "account_deletion_requests",
1827
+ "entityType": "pks"
1828
+ },
1829
+ {
1830
+ "type": "bigserial",
1831
+ "typeSchema": null,
1832
+ "notNull": true,
1833
+ "dimensions": 0,
1834
+ "default": null,
1835
+ "generated": null,
1836
+ "identity": null,
1837
+ "name": "id",
1838
+ "schema": "spfn_auth",
1839
+ "table": "account_deletion_requests",
1840
+ "entityType": "columns"
1841
+ },
1842
+ {
1843
+ "type": "bigint",
1844
+ "typeSchema": null,
1845
+ "notNull": false,
1846
+ "dimensions": 0,
1847
+ "default": null,
1848
+ "generated": null,
1849
+ "identity": null,
1850
+ "name": "user_id",
1851
+ "schema": "spfn_auth",
1852
+ "table": "account_deletion_requests",
1853
+ "entityType": "columns"
1854
+ },
1855
+ {
1856
+ "type": "text",
1857
+ "typeSchema": null,
1858
+ "notNull": true,
1859
+ "dimensions": 0,
1860
+ "default": null,
1861
+ "generated": null,
1862
+ "identity": null,
1863
+ "name": "user_public_id",
1864
+ "schema": "spfn_auth",
1865
+ "table": "account_deletion_requests",
1866
+ "entityType": "columns"
1867
+ },
1868
+ {
1869
+ "type": "timestamp with time zone",
1870
+ "typeSchema": null,
1871
+ "notNull": true,
1872
+ "dimensions": 0,
1873
+ "default": "now()",
1874
+ "generated": null,
1875
+ "identity": null,
1876
+ "name": "requested_at",
1877
+ "schema": "spfn_auth",
1878
+ "table": "account_deletion_requests",
1879
+ "entityType": "columns"
1880
+ },
1881
+ {
1882
+ "type": "timestamp with time zone",
1883
+ "typeSchema": null,
1884
+ "notNull": true,
1885
+ "dimensions": 0,
1886
+ "default": null,
1887
+ "generated": null,
1888
+ "identity": null,
1889
+ "name": "purge_scheduled_at",
1890
+ "schema": "spfn_auth",
1891
+ "table": "account_deletion_requests",
1892
+ "entityType": "columns"
1893
+ },
1894
+ {
1895
+ "type": "text",
1896
+ "typeSchema": null,
1897
+ "notNull": true,
1898
+ "dimensions": 0,
1899
+ "default": "'pending'",
1900
+ "generated": null,
1901
+ "identity": null,
1902
+ "name": "status",
1903
+ "schema": "spfn_auth",
1904
+ "table": "account_deletion_requests",
1905
+ "entityType": "columns"
1906
+ },
1907
+ {
1908
+ "type": "text",
1909
+ "typeSchema": null,
1910
+ "notNull": true,
1911
+ "dimensions": 0,
1912
+ "default": "'self'",
1913
+ "generated": null,
1914
+ "identity": null,
1915
+ "name": "requested_by",
1916
+ "schema": "spfn_auth",
1917
+ "table": "account_deletion_requests",
1918
+ "entityType": "columns"
1919
+ },
1920
+ {
1921
+ "type": "text",
1922
+ "typeSchema": null,
1923
+ "notNull": false,
1924
+ "dimensions": 0,
1925
+ "default": null,
1926
+ "generated": null,
1927
+ "identity": null,
1928
+ "name": "reason",
1929
+ "schema": "spfn_auth",
1930
+ "table": "account_deletion_requests",
1931
+ "entityType": "columns"
1932
+ },
1933
+ {
1934
+ "type": "timestamp with time zone",
1935
+ "typeSchema": null,
1936
+ "notNull": false,
1937
+ "dimensions": 0,
1938
+ "default": null,
1939
+ "generated": null,
1940
+ "identity": null,
1941
+ "name": "cancelled_at",
1942
+ "schema": "spfn_auth",
1943
+ "table": "account_deletion_requests",
1944
+ "entityType": "columns"
1945
+ },
1946
+ {
1947
+ "type": "timestamp with time zone",
1948
+ "typeSchema": null,
1949
+ "notNull": false,
1950
+ "dimensions": 0,
1951
+ "default": null,
1952
+ "generated": null,
1953
+ "identity": null,
1954
+ "name": "completed_at",
1955
+ "schema": "spfn_auth",
1956
+ "table": "account_deletion_requests",
1957
+ "entityType": "columns"
1958
+ },
1959
+ {
1960
+ "type": "text",
1961
+ "typeSchema": null,
1962
+ "notNull": false,
1963
+ "dimensions": 0,
1964
+ "default": null,
1965
+ "generated": null,
1966
+ "identity": null,
1967
+ "name": "purge_strategy",
1968
+ "schema": "spfn_auth",
1969
+ "table": "account_deletion_requests",
1970
+ "entityType": "columns"
1971
+ },
1972
+ {
1973
+ "type": "timestamp with time zone",
1974
+ "typeSchema": null,
1975
+ "notNull": true,
1976
+ "dimensions": 0,
1977
+ "default": "now()",
1978
+ "generated": null,
1979
+ "identity": null,
1980
+ "name": "created_at",
1981
+ "schema": "spfn_auth",
1982
+ "table": "account_deletion_requests",
1983
+ "entityType": "columns"
1984
+ },
1985
+ {
1986
+ "type": "timestamp with time zone",
1987
+ "typeSchema": null,
1988
+ "notNull": true,
1989
+ "dimensions": 0,
1990
+ "default": "now()",
1991
+ "generated": null,
1992
+ "identity": null,
1993
+ "name": "updated_at",
1994
+ "schema": "spfn_auth",
1995
+ "table": "account_deletion_requests",
1996
+ "entityType": "columns"
1997
+ },
1998
+ {
1999
+ "nameExplicit": true,
2000
+ "columns": [
2001
+ {
2002
+ "value": "user_id",
2003
+ "isExpression": false,
2004
+ "asc": true,
2005
+ "nullsFirst": false,
2006
+ "opclass": null
2007
+ }
2008
+ ],
2009
+ "isUnique": false,
2010
+ "where": null,
2011
+ "with": "",
2012
+ "method": "btree",
2013
+ "concurrently": false,
2014
+ "name": "account_deletion_requests_user_id_idx",
2015
+ "schema": "spfn_auth",
2016
+ "table": "account_deletion_requests",
2017
+ "entityType": "indexes"
2018
+ },
2019
+ {
2020
+ "nameExplicit": true,
2021
+ "columns": [
2022
+ {
2023
+ "value": "status",
2024
+ "isExpression": false,
2025
+ "asc": true,
2026
+ "nullsFirst": false,
2027
+ "opclass": null
2028
+ }
2029
+ ],
2030
+ "isUnique": false,
2031
+ "where": null,
2032
+ "with": "",
2033
+ "method": "btree",
2034
+ "concurrently": false,
2035
+ "name": "account_deletion_requests_status_idx",
2036
+ "schema": "spfn_auth",
2037
+ "table": "account_deletion_requests",
2038
+ "entityType": "indexes"
2039
+ },
2040
+ {
2041
+ "nameExplicit": true,
2042
+ "columns": [
2043
+ {
2044
+ "value": "purge_scheduled_at",
2045
+ "isExpression": false,
2046
+ "asc": true,
2047
+ "nullsFirst": false,
2048
+ "opclass": null
2049
+ }
2050
+ ],
2051
+ "isUnique": false,
2052
+ "where": null,
2053
+ "with": "",
2054
+ "method": "btree",
2055
+ "concurrently": false,
2056
+ "name": "account_deletion_requests_purge_scheduled_at_idx",
2057
+ "schema": "spfn_auth",
2058
+ "table": "account_deletion_requests",
2059
+ "entityType": "indexes"
2060
+ },
2061
+ {
2062
+ "nameExplicit": true,
2063
+ "columns": [
2064
+ {
2065
+ "value": "user_public_id",
2066
+ "isExpression": false,
2067
+ "asc": true,
2068
+ "nullsFirst": false,
2069
+ "opclass": null
2070
+ }
2071
+ ],
2072
+ "isUnique": false,
2073
+ "where": null,
2074
+ "with": "",
2075
+ "method": "btree",
2076
+ "concurrently": false,
2077
+ "name": "account_deletion_requests_user_public_id_idx",
2078
+ "schema": "spfn_auth",
2079
+ "table": "account_deletion_requests",
2080
+ "entityType": "indexes"
2081
+ },
2082
+ {
2083
+ "nameExplicit": true,
2084
+ "columns": [
2085
+ {
2086
+ "value": "user_id",
2087
+ "isExpression": false,
2088
+ "asc": true,
2089
+ "nullsFirst": false,
2090
+ "opclass": null
2091
+ }
2092
+ ],
2093
+ "isUnique": true,
2094
+ "where": "\"spfn_auth\".\"account_deletion_requests\".\"status\" = 'pending'",
2095
+ "with": "",
2096
+ "method": "btree",
2097
+ "concurrently": false,
2098
+ "name": "account_deletion_requests_user_pending_unique_idx",
2099
+ "schema": "spfn_auth",
2100
+ "table": "account_deletion_requests",
2101
+ "entityType": "indexes"
2102
+ },
2103
+ {
2104
+ "nameExplicit": false,
2105
+ "columns": [
2106
+ "user_id"
2107
+ ],
2108
+ "schemaTo": "spfn_auth",
2109
+ "tableTo": "users",
2110
+ "columnsTo": [
2111
+ "id"
2112
+ ],
2113
+ "onUpdate": "NO ACTION",
2114
+ "onDelete": "SET NULL",
2115
+ "name": "account_deletion_requests_user_id_users_id_fk",
2116
+ "schema": "spfn_auth",
2117
+ "table": "account_deletion_requests",
2118
+ "entityType": "fks"
2119
+ },
2120
+ {
2121
+ "isRlsEnabled": false,
2122
+ "name": "roles",
2123
+ "schema": "spfn_auth",
2124
+ "entityType": "tables"
2125
+ },
2126
+ {
2127
+ "columns": [
2128
+ "id"
2129
+ ],
2130
+ "nameExplicit": false,
2131
+ "name": "roles_pkey",
2132
+ "schema": "spfn_auth",
2133
+ "table": "roles",
2134
+ "entityType": "pks"
2135
+ },
2136
+ {
2137
+ "type": "bigserial",
2138
+ "typeSchema": null,
2139
+ "notNull": true,
2140
+ "dimensions": 0,
2141
+ "default": null,
2142
+ "generated": null,
2143
+ "identity": null,
2144
+ "name": "id",
2145
+ "schema": "spfn_auth",
2146
+ "table": "roles",
2147
+ "entityType": "columns"
2148
+ },
2149
+ {
2150
+ "type": "text",
2151
+ "typeSchema": null,
2152
+ "notNull": true,
2153
+ "dimensions": 0,
2154
+ "default": null,
2155
+ "generated": null,
2156
+ "identity": null,
2157
+ "name": "name",
2158
+ "schema": "spfn_auth",
2159
+ "table": "roles",
2160
+ "entityType": "columns"
2161
+ },
2162
+ {
2163
+ "type": "text",
2164
+ "typeSchema": null,
2165
+ "notNull": true,
2166
+ "dimensions": 0,
2167
+ "default": null,
2168
+ "generated": null,
2169
+ "identity": null,
2170
+ "name": "display_name",
2171
+ "schema": "spfn_auth",
2172
+ "table": "roles",
2173
+ "entityType": "columns"
2174
+ },
2175
+ {
2176
+ "type": "text",
2177
+ "typeSchema": null,
2178
+ "notNull": false,
2179
+ "dimensions": 0,
2180
+ "default": null,
2181
+ "generated": null,
2182
+ "identity": null,
2183
+ "name": "description",
2184
+ "schema": "spfn_auth",
2185
+ "table": "roles",
2186
+ "entityType": "columns"
2187
+ },
2188
+ {
2189
+ "type": "boolean",
2190
+ "typeSchema": null,
2191
+ "notNull": true,
2192
+ "dimensions": 0,
2193
+ "default": "false",
2194
+ "generated": null,
2195
+ "identity": null,
2196
+ "name": "is_builtin",
2197
+ "schema": "spfn_auth",
2198
+ "table": "roles",
2199
+ "entityType": "columns"
2200
+ },
2201
+ {
2202
+ "type": "boolean",
2203
+ "typeSchema": null,
2204
+ "notNull": true,
2205
+ "dimensions": 0,
2206
+ "default": "false",
2207
+ "generated": null,
2208
+ "identity": null,
2209
+ "name": "is_system",
2210
+ "schema": "spfn_auth",
2211
+ "table": "roles",
2212
+ "entityType": "columns"
2213
+ },
2214
+ {
2215
+ "type": "boolean",
2216
+ "typeSchema": null,
2217
+ "notNull": true,
2218
+ "dimensions": 0,
2219
+ "default": "true",
2220
+ "generated": null,
2221
+ "identity": null,
2222
+ "name": "is_active",
2223
+ "schema": "spfn_auth",
2224
+ "table": "roles",
2225
+ "entityType": "columns"
2226
+ },
2227
+ {
2228
+ "type": "integer",
2229
+ "typeSchema": null,
2230
+ "notNull": true,
2231
+ "dimensions": 0,
2232
+ "default": "10",
2233
+ "generated": null,
2234
+ "identity": null,
2235
+ "name": "priority",
2236
+ "schema": "spfn_auth",
2237
+ "table": "roles",
2238
+ "entityType": "columns"
2239
+ },
2240
+ {
2241
+ "type": "timestamp with time zone",
2242
+ "typeSchema": null,
2243
+ "notNull": true,
2244
+ "dimensions": 0,
2245
+ "default": "now()",
2246
+ "generated": null,
2247
+ "identity": null,
2248
+ "name": "created_at",
2249
+ "schema": "spfn_auth",
2250
+ "table": "roles",
2251
+ "entityType": "columns"
2252
+ },
2253
+ {
2254
+ "type": "timestamp with time zone",
2255
+ "typeSchema": null,
2256
+ "notNull": true,
2257
+ "dimensions": 0,
2258
+ "default": "now()",
2259
+ "generated": null,
2260
+ "identity": null,
2261
+ "name": "updated_at",
2262
+ "schema": "spfn_auth",
2263
+ "table": "roles",
2264
+ "entityType": "columns"
2265
+ },
2266
+ {
2267
+ "nameExplicit": false,
2268
+ "columns": [
2269
+ "name"
2270
+ ],
2271
+ "nullsNotDistinct": false,
2272
+ "name": "roles_name_unique",
2273
+ "schema": "spfn_auth",
2274
+ "table": "roles",
2275
+ "entityType": "uniques"
2276
+ },
2277
+ {
2278
+ "nameExplicit": true,
2279
+ "columns": [
2280
+ {
2281
+ "value": "name",
2282
+ "isExpression": false,
2283
+ "asc": true,
2284
+ "nullsFirst": false,
2285
+ "opclass": null
2286
+ }
2287
+ ],
2288
+ "isUnique": false,
2289
+ "where": null,
2290
+ "with": "",
2291
+ "method": "btree",
2292
+ "concurrently": false,
2293
+ "name": "roles_name_idx",
2294
+ "schema": "spfn_auth",
2295
+ "table": "roles",
2296
+ "entityType": "indexes"
2297
+ },
2298
+ {
2299
+ "nameExplicit": true,
2300
+ "columns": [
2301
+ {
2302
+ "value": "is_system",
2303
+ "isExpression": false,
2304
+ "asc": true,
2305
+ "nullsFirst": false,
2306
+ "opclass": null
2307
+ }
2308
+ ],
2309
+ "isUnique": false,
2310
+ "where": null,
2311
+ "with": "",
2312
+ "method": "btree",
2313
+ "concurrently": false,
2314
+ "name": "roles_is_system_idx",
2315
+ "schema": "spfn_auth",
2316
+ "table": "roles",
2317
+ "entityType": "indexes"
2318
+ },
2319
+ {
2320
+ "nameExplicit": true,
2321
+ "columns": [
2322
+ {
2323
+ "value": "is_active",
2324
+ "isExpression": false,
2325
+ "asc": true,
2326
+ "nullsFirst": false,
2327
+ "opclass": null
2328
+ }
2329
+ ],
2330
+ "isUnique": false,
2331
+ "where": null,
2332
+ "with": "",
2333
+ "method": "btree",
2334
+ "concurrently": false,
2335
+ "name": "roles_is_active_idx",
2336
+ "schema": "spfn_auth",
2337
+ "table": "roles",
2338
+ "entityType": "indexes"
2339
+ },
2340
+ {
2341
+ "nameExplicit": true,
2342
+ "columns": [
2343
+ {
2344
+ "value": "is_builtin",
2345
+ "isExpression": false,
2346
+ "asc": true,
2347
+ "nullsFirst": false,
2348
+ "opclass": null
2349
+ }
2350
+ ],
2351
+ "isUnique": false,
2352
+ "where": null,
2353
+ "with": "",
2354
+ "method": "btree",
2355
+ "concurrently": false,
2356
+ "name": "roles_is_builtin_idx",
2357
+ "schema": "spfn_auth",
2358
+ "table": "roles",
2359
+ "entityType": "indexes"
2360
+ },
2361
+ {
2362
+ "nameExplicit": true,
2363
+ "columns": [
2364
+ {
2365
+ "value": "priority",
2366
+ "isExpression": false,
2367
+ "asc": true,
2368
+ "nullsFirst": false,
2369
+ "opclass": null
2370
+ }
2371
+ ],
2372
+ "isUnique": false,
2373
+ "where": null,
2374
+ "with": "",
2375
+ "method": "btree",
2376
+ "concurrently": false,
2377
+ "name": "roles_priority_idx",
2378
+ "schema": "spfn_auth",
2379
+ "table": "roles",
2380
+ "entityType": "indexes"
2381
+ },
2382
+ {
2383
+ "isRlsEnabled": false,
2384
+ "name": "permissions",
2385
+ "schema": "spfn_auth",
2386
+ "entityType": "tables"
2387
+ },
2388
+ {
2389
+ "columns": [
2390
+ "id"
2391
+ ],
2392
+ "nameExplicit": false,
2393
+ "name": "permissions_pkey",
2394
+ "schema": "spfn_auth",
2395
+ "table": "permissions",
2396
+ "entityType": "pks"
2397
+ },
2398
+ {
2399
+ "type": "bigserial",
2400
+ "typeSchema": null,
2401
+ "notNull": true,
2402
+ "dimensions": 0,
2403
+ "default": null,
2404
+ "generated": null,
2405
+ "identity": null,
2406
+ "name": "id",
2407
+ "schema": "spfn_auth",
2408
+ "table": "permissions",
2409
+ "entityType": "columns"
2410
+ },
2411
+ {
2412
+ "type": "text",
2413
+ "typeSchema": null,
2414
+ "notNull": true,
2415
+ "dimensions": 0,
2416
+ "default": null,
2417
+ "generated": null,
2418
+ "identity": null,
2419
+ "name": "name",
2420
+ "schema": "spfn_auth",
2421
+ "table": "permissions",
2422
+ "entityType": "columns"
2423
+ },
2424
+ {
2425
+ "type": "text",
2426
+ "typeSchema": null,
2427
+ "notNull": true,
2428
+ "dimensions": 0,
2429
+ "default": null,
2430
+ "generated": null,
2431
+ "identity": null,
2432
+ "name": "display_name",
2433
+ "schema": "spfn_auth",
2434
+ "table": "permissions",
2435
+ "entityType": "columns"
2436
+ },
2437
+ {
2438
+ "type": "text",
2439
+ "typeSchema": null,
2440
+ "notNull": false,
2441
+ "dimensions": 0,
2442
+ "default": null,
2443
+ "generated": null,
2444
+ "identity": null,
2445
+ "name": "description",
2446
+ "schema": "spfn_auth",
2447
+ "table": "permissions",
2448
+ "entityType": "columns"
2449
+ },
2450
+ {
2451
+ "type": "text",
2452
+ "typeSchema": null,
2453
+ "notNull": false,
2454
+ "dimensions": 0,
2455
+ "default": null,
2456
+ "generated": null,
2457
+ "identity": null,
2458
+ "name": "category",
2459
+ "schema": "spfn_auth",
2460
+ "table": "permissions",
2461
+ "entityType": "columns"
2462
+ },
2463
+ {
2464
+ "type": "boolean",
2465
+ "typeSchema": null,
2466
+ "notNull": true,
2467
+ "dimensions": 0,
2468
+ "default": "false",
2469
+ "generated": null,
2470
+ "identity": null,
2471
+ "name": "is_builtin",
2472
+ "schema": "spfn_auth",
2473
+ "table": "permissions",
2474
+ "entityType": "columns"
2475
+ },
2476
+ {
2477
+ "type": "boolean",
2478
+ "typeSchema": null,
2479
+ "notNull": true,
2480
+ "dimensions": 0,
2481
+ "default": "false",
2482
+ "generated": null,
2483
+ "identity": null,
2484
+ "name": "is_system",
2485
+ "schema": "spfn_auth",
2486
+ "table": "permissions",
2487
+ "entityType": "columns"
2488
+ },
2489
+ {
2490
+ "type": "boolean",
2491
+ "typeSchema": null,
2492
+ "notNull": true,
2493
+ "dimensions": 0,
2494
+ "default": "true",
2495
+ "generated": null,
2496
+ "identity": null,
2497
+ "name": "is_active",
2498
+ "schema": "spfn_auth",
2499
+ "table": "permissions",
2500
+ "entityType": "columns"
2501
+ },
2502
+ {
2503
+ "type": "jsonb",
2504
+ "typeSchema": null,
2505
+ "notNull": false,
2506
+ "dimensions": 0,
2507
+ "default": null,
2508
+ "generated": null,
2509
+ "identity": null,
2510
+ "name": "metadata",
2511
+ "schema": "spfn_auth",
2512
+ "table": "permissions",
2513
+ "entityType": "columns"
2514
+ },
2515
+ {
2516
+ "type": "timestamp with time zone",
2517
+ "typeSchema": null,
2518
+ "notNull": true,
2519
+ "dimensions": 0,
2520
+ "default": "now()",
2521
+ "generated": null,
2522
+ "identity": null,
2523
+ "name": "created_at",
2524
+ "schema": "spfn_auth",
2525
+ "table": "permissions",
2526
+ "entityType": "columns"
2527
+ },
2528
+ {
2529
+ "type": "timestamp with time zone",
2530
+ "typeSchema": null,
2531
+ "notNull": true,
2532
+ "dimensions": 0,
2533
+ "default": "now()",
2534
+ "generated": null,
2535
+ "identity": null,
2536
+ "name": "updated_at",
2537
+ "schema": "spfn_auth",
2538
+ "table": "permissions",
2539
+ "entityType": "columns"
2540
+ },
2541
+ {
2542
+ "nameExplicit": false,
2543
+ "columns": [
2544
+ "name"
2545
+ ],
2546
+ "nullsNotDistinct": false,
2547
+ "name": "permissions_name_unique",
2548
+ "schema": "spfn_auth",
2549
+ "table": "permissions",
2550
+ "entityType": "uniques"
2551
+ },
2552
+ {
2553
+ "nameExplicit": true,
2554
+ "columns": [
2555
+ {
2556
+ "value": "name",
2557
+ "isExpression": false,
2558
+ "asc": true,
2559
+ "nullsFirst": false,
2560
+ "opclass": null
2561
+ }
2562
+ ],
2563
+ "isUnique": false,
2564
+ "where": null,
2565
+ "with": "",
2566
+ "method": "btree",
2567
+ "concurrently": false,
2568
+ "name": "permissions_name_idx",
2569
+ "schema": "spfn_auth",
2570
+ "table": "permissions",
2571
+ "entityType": "indexes"
2572
+ },
2573
+ {
2574
+ "nameExplicit": true,
2575
+ "columns": [
2576
+ {
2577
+ "value": "category",
2578
+ "isExpression": false,
2579
+ "asc": true,
2580
+ "nullsFirst": false,
2581
+ "opclass": null
2582
+ }
2583
+ ],
2584
+ "isUnique": false,
2585
+ "where": null,
2586
+ "with": "",
2587
+ "method": "btree",
2588
+ "concurrently": false,
2589
+ "name": "permissions_category_idx",
2590
+ "schema": "spfn_auth",
2591
+ "table": "permissions",
2592
+ "entityType": "indexes"
2593
+ },
2594
+ {
2595
+ "nameExplicit": true,
2596
+ "columns": [
2597
+ {
2598
+ "value": "is_system",
2599
+ "isExpression": false,
2600
+ "asc": true,
2601
+ "nullsFirst": false,
2602
+ "opclass": null
2603
+ }
2604
+ ],
2605
+ "isUnique": false,
2606
+ "where": null,
2607
+ "with": "",
2608
+ "method": "btree",
2609
+ "concurrently": false,
2610
+ "name": "permissions_is_system_idx",
2611
+ "schema": "spfn_auth",
2612
+ "table": "permissions",
2613
+ "entityType": "indexes"
2614
+ },
2615
+ {
2616
+ "nameExplicit": true,
2617
+ "columns": [
2618
+ {
2619
+ "value": "is_active",
2620
+ "isExpression": false,
2621
+ "asc": true,
2622
+ "nullsFirst": false,
2623
+ "opclass": null
2624
+ }
2625
+ ],
2626
+ "isUnique": false,
2627
+ "where": null,
2628
+ "with": "",
2629
+ "method": "btree",
2630
+ "concurrently": false,
2631
+ "name": "permissions_is_active_idx",
2632
+ "schema": "spfn_auth",
2633
+ "table": "permissions",
2634
+ "entityType": "indexes"
2635
+ },
2636
+ {
2637
+ "nameExplicit": true,
2638
+ "columns": [
2639
+ {
2640
+ "value": "is_builtin",
2641
+ "isExpression": false,
2642
+ "asc": true,
2643
+ "nullsFirst": false,
2644
+ "opclass": null
2645
+ }
2646
+ ],
2647
+ "isUnique": false,
2648
+ "where": null,
2649
+ "with": "",
2650
+ "method": "btree",
2651
+ "concurrently": false,
2652
+ "name": "permissions_is_builtin_idx",
2653
+ "schema": "spfn_auth",
2654
+ "table": "permissions",
2655
+ "entityType": "indexes"
2656
+ },
2657
+ {
2658
+ "isRlsEnabled": false,
2659
+ "name": "role_permissions",
2660
+ "schema": "spfn_auth",
2661
+ "entityType": "tables"
2662
+ },
2663
+ {
2664
+ "columns": [
2665
+ "id"
2666
+ ],
2667
+ "nameExplicit": false,
2668
+ "name": "role_permissions_pkey",
2669
+ "schema": "spfn_auth",
2670
+ "table": "role_permissions",
2671
+ "entityType": "pks"
2672
+ },
2673
+ {
2674
+ "type": "bigserial",
2675
+ "typeSchema": null,
2676
+ "notNull": true,
2677
+ "dimensions": 0,
2678
+ "default": null,
2679
+ "generated": null,
2680
+ "identity": null,
2681
+ "name": "id",
2682
+ "schema": "spfn_auth",
2683
+ "table": "role_permissions",
2684
+ "entityType": "columns"
2685
+ },
2686
+ {
2687
+ "type": "bigint",
2688
+ "typeSchema": null,
2689
+ "notNull": true,
2690
+ "dimensions": 0,
2691
+ "default": null,
2692
+ "generated": null,
2693
+ "identity": null,
2694
+ "name": "role_id",
2695
+ "schema": "spfn_auth",
2696
+ "table": "role_permissions",
2697
+ "entityType": "columns"
2698
+ },
2699
+ {
2700
+ "type": "bigint",
2701
+ "typeSchema": null,
2702
+ "notNull": true,
2703
+ "dimensions": 0,
2704
+ "default": null,
2705
+ "generated": null,
2706
+ "identity": null,
2707
+ "name": "permission_id",
2708
+ "schema": "spfn_auth",
2709
+ "table": "role_permissions",
2710
+ "entityType": "columns"
2711
+ },
2712
+ {
2713
+ "type": "timestamp with time zone",
2714
+ "typeSchema": null,
2715
+ "notNull": true,
2716
+ "dimensions": 0,
2717
+ "default": "now()",
2718
+ "generated": null,
2719
+ "identity": null,
2720
+ "name": "created_at",
2721
+ "schema": "spfn_auth",
2722
+ "table": "role_permissions",
2723
+ "entityType": "columns"
2724
+ },
2725
+ {
2726
+ "type": "timestamp with time zone",
2727
+ "typeSchema": null,
2728
+ "notNull": true,
2729
+ "dimensions": 0,
2730
+ "default": "now()",
2731
+ "generated": null,
2732
+ "identity": null,
2733
+ "name": "updated_at",
2734
+ "schema": "spfn_auth",
2735
+ "table": "role_permissions",
2736
+ "entityType": "columns"
2737
+ },
2738
+ {
2739
+ "nameExplicit": true,
2740
+ "columns": [
2741
+ "role_id",
2742
+ "permission_id"
2743
+ ],
2744
+ "nullsNotDistinct": false,
2745
+ "name": "role_permissions_unique",
2746
+ "schema": "spfn_auth",
2747
+ "table": "role_permissions",
2748
+ "entityType": "uniques"
2749
+ },
2750
+ {
2751
+ "nameExplicit": true,
2752
+ "columns": [
2753
+ {
2754
+ "value": "role_id",
2755
+ "isExpression": false,
2756
+ "asc": true,
2757
+ "nullsFirst": false,
2758
+ "opclass": null
2759
+ }
2760
+ ],
2761
+ "isUnique": false,
2762
+ "where": null,
2763
+ "with": "",
2764
+ "method": "btree",
2765
+ "concurrently": false,
2766
+ "name": "role_permissions_role_id_idx",
2767
+ "schema": "spfn_auth",
2768
+ "table": "role_permissions",
2769
+ "entityType": "indexes"
2770
+ },
2771
+ {
2772
+ "nameExplicit": true,
2773
+ "columns": [
2774
+ {
2775
+ "value": "permission_id",
2776
+ "isExpression": false,
2777
+ "asc": true,
2778
+ "nullsFirst": false,
2779
+ "opclass": null
2780
+ }
2781
+ ],
2782
+ "isUnique": false,
2783
+ "where": null,
2784
+ "with": "",
2785
+ "method": "btree",
2786
+ "concurrently": false,
2787
+ "name": "role_permissions_permission_id_idx",
2788
+ "schema": "spfn_auth",
2789
+ "table": "role_permissions",
2790
+ "entityType": "indexes"
2791
+ },
2792
+ {
2793
+ "nameExplicit": false,
2794
+ "columns": [
2795
+ "role_id"
2796
+ ],
2797
+ "schemaTo": "spfn_auth",
2798
+ "tableTo": "roles",
2799
+ "columnsTo": [
2800
+ "id"
2801
+ ],
2802
+ "onUpdate": "NO ACTION",
2803
+ "onDelete": "CASCADE",
2804
+ "name": "role_permissions_role_id_roles_id_fk",
2805
+ "schema": "spfn_auth",
2806
+ "table": "role_permissions",
2807
+ "entityType": "fks"
2808
+ },
2809
+ {
2810
+ "nameExplicit": false,
2811
+ "columns": [
2812
+ "permission_id"
2813
+ ],
2814
+ "schemaTo": "spfn_auth",
2815
+ "tableTo": "permissions",
2816
+ "columnsTo": [
2817
+ "id"
2818
+ ],
2819
+ "onUpdate": "NO ACTION",
2820
+ "onDelete": "CASCADE",
2821
+ "name": "role_permissions_permission_id_permissions_id_fk",
2822
+ "schema": "spfn_auth",
2823
+ "table": "role_permissions",
2824
+ "entityType": "fks"
2825
+ },
2826
+ {
2827
+ "isRlsEnabled": false,
2828
+ "name": "user_permissions",
2829
+ "schema": "spfn_auth",
2830
+ "entityType": "tables"
2831
+ },
2832
+ {
2833
+ "columns": [
2834
+ "id"
2835
+ ],
2836
+ "nameExplicit": false,
2837
+ "name": "user_permissions_pkey",
2838
+ "schema": "spfn_auth",
2839
+ "table": "user_permissions",
2840
+ "entityType": "pks"
2841
+ },
2842
+ {
2843
+ "type": "bigserial",
2844
+ "typeSchema": null,
2845
+ "notNull": true,
2846
+ "dimensions": 0,
2847
+ "default": null,
2848
+ "generated": null,
2849
+ "identity": null,
2850
+ "name": "id",
2851
+ "schema": "spfn_auth",
2852
+ "table": "user_permissions",
2853
+ "entityType": "columns"
2854
+ },
2855
+ {
2856
+ "type": "bigint",
2857
+ "typeSchema": null,
2858
+ "notNull": true,
2859
+ "dimensions": 0,
2860
+ "default": null,
2861
+ "generated": null,
2862
+ "identity": null,
2863
+ "name": "user_id",
2864
+ "schema": "spfn_auth",
2865
+ "table": "user_permissions",
2866
+ "entityType": "columns"
2867
+ },
2868
+ {
2869
+ "type": "bigint",
2870
+ "typeSchema": null,
2871
+ "notNull": true,
2872
+ "dimensions": 0,
2873
+ "default": null,
2874
+ "generated": null,
2875
+ "identity": null,
2876
+ "name": "permission_id",
2877
+ "schema": "spfn_auth",
2878
+ "table": "user_permissions",
2879
+ "entityType": "columns"
2880
+ },
2881
+ {
2882
+ "type": "boolean",
2883
+ "typeSchema": null,
2884
+ "notNull": true,
2885
+ "dimensions": 0,
2886
+ "default": "true",
2887
+ "generated": null,
2888
+ "identity": null,
2889
+ "name": "granted",
2890
+ "schema": "spfn_auth",
2891
+ "table": "user_permissions",
2892
+ "entityType": "columns"
2893
+ },
2894
+ {
2895
+ "type": "text",
2896
+ "typeSchema": null,
2897
+ "notNull": false,
2898
+ "dimensions": 0,
2899
+ "default": null,
2900
+ "generated": null,
2901
+ "identity": null,
2902
+ "name": "reason",
2903
+ "schema": "spfn_auth",
2904
+ "table": "user_permissions",
2905
+ "entityType": "columns"
2906
+ },
2907
+ {
2908
+ "type": "timestamp with time zone",
2909
+ "typeSchema": null,
2910
+ "notNull": false,
2911
+ "dimensions": 0,
2912
+ "default": null,
2913
+ "generated": null,
2914
+ "identity": null,
2915
+ "name": "expires_at",
2916
+ "schema": "spfn_auth",
2917
+ "table": "user_permissions",
2918
+ "entityType": "columns"
2919
+ },
2920
+ {
2921
+ "type": "timestamp with time zone",
2922
+ "typeSchema": null,
2923
+ "notNull": true,
2924
+ "dimensions": 0,
2925
+ "default": "now()",
2926
+ "generated": null,
2927
+ "identity": null,
2928
+ "name": "created_at",
2929
+ "schema": "spfn_auth",
2930
+ "table": "user_permissions",
2931
+ "entityType": "columns"
2932
+ },
2933
+ {
2934
+ "type": "timestamp with time zone",
2935
+ "typeSchema": null,
2936
+ "notNull": true,
2937
+ "dimensions": 0,
2938
+ "default": "now()",
2939
+ "generated": null,
2940
+ "identity": null,
2941
+ "name": "updated_at",
2942
+ "schema": "spfn_auth",
2943
+ "table": "user_permissions",
2944
+ "entityType": "columns"
2945
+ },
2946
+ {
2947
+ "nameExplicit": true,
2948
+ "columns": [
2949
+ "user_id",
2950
+ "permission_id"
2951
+ ],
2952
+ "nullsNotDistinct": false,
2953
+ "name": "user_permissions_unique",
2954
+ "schema": "spfn_auth",
2955
+ "table": "user_permissions",
2956
+ "entityType": "uniques"
2957
+ },
2958
+ {
2959
+ "nameExplicit": true,
2960
+ "columns": [
2961
+ {
2962
+ "value": "user_id",
2963
+ "isExpression": false,
2964
+ "asc": true,
2965
+ "nullsFirst": false,
2966
+ "opclass": null
2967
+ }
2968
+ ],
2969
+ "isUnique": false,
2970
+ "where": null,
2971
+ "with": "",
2972
+ "method": "btree",
2973
+ "concurrently": false,
2974
+ "name": "user_permissions_user_id_idx",
2975
+ "schema": "spfn_auth",
2976
+ "table": "user_permissions",
2977
+ "entityType": "indexes"
2978
+ },
2979
+ {
2980
+ "nameExplicit": true,
2981
+ "columns": [
2982
+ {
2983
+ "value": "permission_id",
2984
+ "isExpression": false,
2985
+ "asc": true,
2986
+ "nullsFirst": false,
2987
+ "opclass": null
2988
+ }
2989
+ ],
2990
+ "isUnique": false,
2991
+ "where": null,
2992
+ "with": "",
2993
+ "method": "btree",
2994
+ "concurrently": false,
2995
+ "name": "user_permissions_permission_id_idx",
2996
+ "schema": "spfn_auth",
2997
+ "table": "user_permissions",
2998
+ "entityType": "indexes"
2999
+ },
3000
+ {
3001
+ "nameExplicit": true,
3002
+ "columns": [
3003
+ {
3004
+ "value": "expires_at",
3005
+ "isExpression": false,
3006
+ "asc": true,
3007
+ "nullsFirst": false,
3008
+ "opclass": null
3009
+ }
3010
+ ],
3011
+ "isUnique": false,
3012
+ "where": null,
3013
+ "with": "",
3014
+ "method": "btree",
3015
+ "concurrently": false,
3016
+ "name": "user_permissions_expires_at_idx",
3017
+ "schema": "spfn_auth",
3018
+ "table": "user_permissions",
3019
+ "entityType": "indexes"
3020
+ },
3021
+ {
3022
+ "nameExplicit": false,
3023
+ "columns": [
3024
+ "user_id"
3025
+ ],
3026
+ "schemaTo": "spfn_auth",
3027
+ "tableTo": "users",
3028
+ "columnsTo": [
3029
+ "id"
3030
+ ],
3031
+ "onUpdate": "NO ACTION",
3032
+ "onDelete": "CASCADE",
3033
+ "name": "user_permissions_user_id_users_id_fk",
3034
+ "schema": "spfn_auth",
3035
+ "table": "user_permissions",
3036
+ "entityType": "fks"
3037
+ },
3038
+ {
3039
+ "nameExplicit": false,
3040
+ "columns": [
3041
+ "permission_id"
3042
+ ],
3043
+ "schemaTo": "spfn_auth",
3044
+ "tableTo": "permissions",
3045
+ "columnsTo": [
3046
+ "id"
3047
+ ],
3048
+ "onUpdate": "NO ACTION",
3049
+ "onDelete": "CASCADE",
3050
+ "name": "user_permissions_permission_id_permissions_id_fk",
3051
+ "schema": "spfn_auth",
3052
+ "table": "user_permissions",
3053
+ "entityType": "fks"
3054
+ },
3055
+ {
3056
+ "isRlsEnabled": false,
3057
+ "name": "auth_metadata",
3058
+ "schema": "spfn_auth",
3059
+ "entityType": "tables"
3060
+ },
3061
+ {
3062
+ "columns": [
3063
+ "key"
3064
+ ],
3065
+ "nameExplicit": false,
3066
+ "name": "auth_metadata_pkey",
3067
+ "schema": "spfn_auth",
3068
+ "table": "auth_metadata",
3069
+ "entityType": "pks"
3070
+ },
3071
+ {
3072
+ "type": "text",
3073
+ "typeSchema": null,
3074
+ "notNull": true,
3075
+ "dimensions": 0,
3076
+ "default": null,
3077
+ "generated": null,
3078
+ "identity": null,
3079
+ "name": "key",
3080
+ "schema": "spfn_auth",
3081
+ "table": "auth_metadata",
3082
+ "entityType": "columns"
3083
+ },
3084
+ {
3085
+ "type": "text",
3086
+ "typeSchema": null,
3087
+ "notNull": true,
3088
+ "dimensions": 0,
3089
+ "default": null,
3090
+ "generated": null,
3091
+ "identity": null,
3092
+ "name": "value",
3093
+ "schema": "spfn_auth",
3094
+ "table": "auth_metadata",
3095
+ "entityType": "columns"
3096
+ },
3097
+ {
3098
+ "type": "timestamp with time zone",
3099
+ "typeSchema": null,
3100
+ "notNull": true,
3101
+ "dimensions": 0,
3102
+ "default": "now()",
3103
+ "generated": null,
3104
+ "identity": null,
3105
+ "name": "updated_at",
3106
+ "schema": "spfn_auth",
3107
+ "table": "auth_metadata",
3108
+ "entityType": "columns"
3109
+ }
3110
+ ],
3111
+ "renames": []
3112
+ }