@wraps.dev/cli 2.21.10 → 2.21.12

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 (65) hide show
  1. package/dist/api-lambda.zip +0 -0
  2. package/dist/cli.js +3 -1
  3. package/dist/cli.js.map +1 -1
  4. package/dist/lambda/event-processor/.bundled +1 -1
  5. package/dist/lambda/inbound-processor/.bundled +1 -1
  6. package/dist/lambda/sms-event-processor/.bundled +1 -1
  7. package/dist/selfhost-migrations/meta/0000_snapshot.json +1311 -0
  8. package/dist/selfhost-migrations/meta/0001_snapshot.json +1454 -0
  9. package/dist/selfhost-migrations/meta/0002_snapshot.json +1460 -0
  10. package/dist/selfhost-migrations/meta/0003_snapshot.json +1467 -0
  11. package/dist/selfhost-migrations/meta/0004_snapshot.json +1473 -0
  12. package/dist/selfhost-migrations/meta/0005_snapshot.json +1499 -0
  13. package/dist/selfhost-migrations/meta/0006_snapshot.json +1617 -0
  14. package/dist/selfhost-migrations/meta/0007_snapshot.json +2581 -0
  15. package/dist/selfhost-migrations/meta/0008_snapshot.json +2861 -0
  16. package/dist/selfhost-migrations/meta/0009_snapshot.json +3447 -0
  17. package/dist/selfhost-migrations/meta/0010_snapshot.json +3586 -0
  18. package/dist/selfhost-migrations/meta/0011_snapshot.json +3600 -0
  19. package/dist/selfhost-migrations/meta/0012_snapshot.json +3607 -0
  20. package/dist/selfhost-migrations/meta/0013_snapshot.json +4697 -0
  21. package/dist/selfhost-migrations/meta/0014_snapshot.json +4704 -0
  22. package/dist/selfhost-migrations/meta/0015_snapshot.json +4697 -0
  23. package/dist/selfhost-migrations/meta/0016_snapshot.json +4703 -0
  24. package/dist/selfhost-migrations/meta/0017_snapshot.json +4769 -0
  25. package/dist/selfhost-migrations/meta/0018_snapshot.json +4821 -0
  26. package/dist/selfhost-migrations/meta/0019_snapshot.json +4840 -0
  27. package/dist/selfhost-migrations/meta/0020_snapshot.json +5602 -0
  28. package/dist/selfhost-migrations/meta/0021_snapshot.json +5729 -0
  29. package/dist/selfhost-migrations/meta/0022_snapshot.json +5792 -0
  30. package/dist/selfhost-migrations/meta/0023_snapshot.json +5799 -0
  31. package/dist/selfhost-migrations/meta/0024_snapshot.json +5821 -0
  32. package/dist/selfhost-migrations/meta/0025_snapshot.json +5831 -0
  33. package/dist/selfhost-migrations/meta/0026_snapshot.json +5844 -0
  34. package/dist/selfhost-migrations/meta/0027_snapshot.json +5864 -0
  35. package/dist/selfhost-migrations/meta/0028_snapshot.json +5871 -0
  36. package/dist/selfhost-migrations/meta/0029_snapshot.json +5984 -0
  37. package/dist/selfhost-migrations/meta/0030_snapshot.json +5990 -0
  38. package/dist/selfhost-migrations/meta/0031_snapshot.json +5950 -0
  39. package/dist/selfhost-migrations/meta/0032_snapshot.json +6042 -0
  40. package/dist/selfhost-migrations/meta/0033_snapshot.json +6057 -0
  41. package/dist/selfhost-migrations/meta/0034_snapshot.json +6130 -0
  42. package/dist/selfhost-migrations/meta/0035_snapshot.json +6195 -0
  43. package/dist/selfhost-migrations/meta/0036_snapshot.json +6201 -0
  44. package/dist/selfhost-migrations/meta/0037_snapshot.json +6265 -0
  45. package/dist/selfhost-migrations/meta/0038_snapshot.json +6271 -0
  46. package/dist/selfhost-migrations/meta/0039_snapshot.json +6278 -0
  47. package/dist/selfhost-migrations/meta/0041_snapshot.json +6284 -0
  48. package/dist/selfhost-migrations/meta/0042_snapshot.json +6297 -0
  49. package/dist/selfhost-migrations/meta/0043_snapshot.json +6297 -0
  50. package/dist/selfhost-migrations/meta/0044_snapshot.json +6297 -0
  51. package/dist/selfhost-migrations/meta/0045_snapshot.json +6303 -0
  52. package/dist/selfhost-migrations/meta/0046_snapshot.json +6315 -0
  53. package/dist/selfhost-migrations/meta/0047_snapshot.json +6330 -0
  54. package/dist/selfhost-migrations/meta/0048_snapshot.json +6336 -0
  55. package/dist/selfhost-migrations/meta/0049_snapshot.json +6366 -0
  56. package/dist/selfhost-migrations/meta/0050_snapshot.json +6390 -0
  57. package/dist/selfhost-migrations/meta/0051_snapshot.json +6403 -0
  58. package/dist/selfhost-migrations/meta/0052_snapshot.json +6470 -0
  59. package/dist/selfhost-migrations/meta/0053_snapshot.json +6470 -0
  60. package/dist/selfhost-migrations/meta/0054_snapshot.json +6646 -0
  61. package/dist/selfhost-migrations/meta/0055_snapshot.json +6677 -0
  62. package/dist/selfhost-migrations/meta/0056_snapshot.json +6677 -0
  63. package/dist/selfhost-migrations/meta/0057_snapshot.json +6674 -0
  64. package/dist/selfhost-migrations/meta/_journal.json +412 -0
  65. package/package.json +1 -1
@@ -0,0 +1,1499 @@
1
+ {
2
+ "id": "ed4ed76d-af05-4119-a3f2-8f7c2cee0784",
3
+ "prevId": "deb7c81d-8029-4739-a563-0ce5d38758b4",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.api_key": {
8
+ "name": "api_key",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "text",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "organization_id": {
18
+ "name": "organization_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "name": {
24
+ "name": "name",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "key_hash": {
30
+ "name": "key_hash",
31
+ "type": "text",
32
+ "primaryKey": false,
33
+ "notNull": true
34
+ },
35
+ "prefix": {
36
+ "name": "prefix",
37
+ "type": "text",
38
+ "primaryKey": false,
39
+ "notNull": true
40
+ },
41
+ "permissions": {
42
+ "name": "permissions",
43
+ "type": "json",
44
+ "primaryKey": false,
45
+ "notNull": false,
46
+ "default": "'[]'::json"
47
+ },
48
+ "last_used_at": {
49
+ "name": "last_used_at",
50
+ "type": "timestamp",
51
+ "primaryKey": false,
52
+ "notNull": false
53
+ },
54
+ "expires_at": {
55
+ "name": "expires_at",
56
+ "type": "timestamp",
57
+ "primaryKey": false,
58
+ "notNull": false
59
+ },
60
+ "created_by": {
61
+ "name": "created_by",
62
+ "type": "text",
63
+ "primaryKey": false,
64
+ "notNull": false
65
+ },
66
+ "created_at": {
67
+ "name": "created_at",
68
+ "type": "timestamp",
69
+ "primaryKey": false,
70
+ "notNull": true,
71
+ "default": "now()"
72
+ }
73
+ },
74
+ "indexes": {
75
+ "api_key_org_idx": {
76
+ "name": "api_key_org_idx",
77
+ "columns": [
78
+ {
79
+ "expression": "organization_id",
80
+ "isExpression": false,
81
+ "asc": true,
82
+ "nulls": "last"
83
+ }
84
+ ],
85
+ "isUnique": false,
86
+ "concurrently": false,
87
+ "method": "btree",
88
+ "with": {}
89
+ },
90
+ "api_key_prefix_idx": {
91
+ "name": "api_key_prefix_idx",
92
+ "columns": [
93
+ {
94
+ "expression": "prefix",
95
+ "isExpression": false,
96
+ "asc": true,
97
+ "nulls": "last"
98
+ }
99
+ ],
100
+ "isUnique": false,
101
+ "concurrently": false,
102
+ "method": "btree",
103
+ "with": {}
104
+ }
105
+ },
106
+ "foreignKeys": {
107
+ "api_key_organization_id_organization_id_fk": {
108
+ "name": "api_key_organization_id_organization_id_fk",
109
+ "tableFrom": "api_key",
110
+ "tableTo": "organization",
111
+ "columnsFrom": ["organization_id"],
112
+ "columnsTo": ["id"],
113
+ "onDelete": "cascade",
114
+ "onUpdate": "no action"
115
+ },
116
+ "api_key_created_by_user_id_fk": {
117
+ "name": "api_key_created_by_user_id_fk",
118
+ "tableFrom": "api_key",
119
+ "tableTo": "user",
120
+ "columnsFrom": ["created_by"],
121
+ "columnsTo": ["id"],
122
+ "onDelete": "no action",
123
+ "onUpdate": "no action"
124
+ }
125
+ },
126
+ "compositePrimaryKeys": {},
127
+ "uniqueConstraints": {},
128
+ "policies": {},
129
+ "checkConstraints": {},
130
+ "isRLSEnabled": false
131
+ },
132
+ "public.audit_log": {
133
+ "name": "audit_log",
134
+ "schema": "",
135
+ "columns": {
136
+ "id": {
137
+ "name": "id",
138
+ "type": "text",
139
+ "primaryKey": true,
140
+ "notNull": true
141
+ },
142
+ "organization_id": {
143
+ "name": "organization_id",
144
+ "type": "text",
145
+ "primaryKey": false,
146
+ "notNull": true
147
+ },
148
+ "user_id": {
149
+ "name": "user_id",
150
+ "type": "text",
151
+ "primaryKey": false,
152
+ "notNull": false
153
+ },
154
+ "action": {
155
+ "name": "action",
156
+ "type": "text",
157
+ "primaryKey": false,
158
+ "notNull": true
159
+ },
160
+ "resource": {
161
+ "name": "resource",
162
+ "type": "text",
163
+ "primaryKey": false,
164
+ "notNull": true
165
+ },
166
+ "resource_id": {
167
+ "name": "resource_id",
168
+ "type": "text",
169
+ "primaryKey": false,
170
+ "notNull": false
171
+ },
172
+ "metadata": {
173
+ "name": "metadata",
174
+ "type": "json",
175
+ "primaryKey": false,
176
+ "notNull": false
177
+ },
178
+ "ip_address": {
179
+ "name": "ip_address",
180
+ "type": "text",
181
+ "primaryKey": false,
182
+ "notNull": false
183
+ },
184
+ "user_agent": {
185
+ "name": "user_agent",
186
+ "type": "text",
187
+ "primaryKey": false,
188
+ "notNull": false
189
+ },
190
+ "created_at": {
191
+ "name": "created_at",
192
+ "type": "timestamp",
193
+ "primaryKey": false,
194
+ "notNull": true,
195
+ "default": "now()"
196
+ }
197
+ },
198
+ "indexes": {
199
+ "audit_log_org_idx": {
200
+ "name": "audit_log_org_idx",
201
+ "columns": [
202
+ {
203
+ "expression": "organization_id",
204
+ "isExpression": false,
205
+ "asc": true,
206
+ "nulls": "last"
207
+ }
208
+ ],
209
+ "isUnique": false,
210
+ "concurrently": false,
211
+ "method": "btree",
212
+ "with": {}
213
+ },
214
+ "audit_log_timestamp_idx": {
215
+ "name": "audit_log_timestamp_idx",
216
+ "columns": [
217
+ {
218
+ "expression": "created_at",
219
+ "isExpression": false,
220
+ "asc": true,
221
+ "nulls": "last"
222
+ }
223
+ ],
224
+ "isUnique": false,
225
+ "concurrently": false,
226
+ "method": "btree",
227
+ "with": {}
228
+ }
229
+ },
230
+ "foreignKeys": {
231
+ "audit_log_organization_id_organization_id_fk": {
232
+ "name": "audit_log_organization_id_organization_id_fk",
233
+ "tableFrom": "audit_log",
234
+ "tableTo": "organization",
235
+ "columnsFrom": ["organization_id"],
236
+ "columnsTo": ["id"],
237
+ "onDelete": "cascade",
238
+ "onUpdate": "no action"
239
+ },
240
+ "audit_log_user_id_user_id_fk": {
241
+ "name": "audit_log_user_id_user_id_fk",
242
+ "tableFrom": "audit_log",
243
+ "tableTo": "user",
244
+ "columnsFrom": ["user_id"],
245
+ "columnsTo": ["id"],
246
+ "onDelete": "no action",
247
+ "onUpdate": "no action"
248
+ }
249
+ },
250
+ "compositePrimaryKeys": {},
251
+ "uniqueConstraints": {},
252
+ "policies": {},
253
+ "checkConstraints": {},
254
+ "isRLSEnabled": false
255
+ },
256
+ "public.aws_account": {
257
+ "name": "aws_account",
258
+ "schema": "",
259
+ "columns": {
260
+ "id": {
261
+ "name": "id",
262
+ "type": "text",
263
+ "primaryKey": true,
264
+ "notNull": true
265
+ },
266
+ "organization_id": {
267
+ "name": "organization_id",
268
+ "type": "text",
269
+ "primaryKey": false,
270
+ "notNull": true
271
+ },
272
+ "name": {
273
+ "name": "name",
274
+ "type": "text",
275
+ "primaryKey": false,
276
+ "notNull": true
277
+ },
278
+ "account_id": {
279
+ "name": "account_id",
280
+ "type": "text",
281
+ "primaryKey": false,
282
+ "notNull": true
283
+ },
284
+ "region": {
285
+ "name": "region",
286
+ "type": "text",
287
+ "primaryKey": false,
288
+ "notNull": true
289
+ },
290
+ "role_arn": {
291
+ "name": "role_arn",
292
+ "type": "text",
293
+ "primaryKey": false,
294
+ "notNull": true
295
+ },
296
+ "external_id": {
297
+ "name": "external_id",
298
+ "type": "text",
299
+ "primaryKey": false,
300
+ "notNull": true
301
+ },
302
+ "is_verified": {
303
+ "name": "is_verified",
304
+ "type": "boolean",
305
+ "primaryKey": false,
306
+ "notNull": true,
307
+ "default": false
308
+ },
309
+ "last_verified_at": {
310
+ "name": "last_verified_at",
311
+ "type": "timestamp",
312
+ "primaryKey": false,
313
+ "notNull": false
314
+ },
315
+ "archiving_enabled": {
316
+ "name": "archiving_enabled",
317
+ "type": "boolean",
318
+ "primaryKey": false,
319
+ "notNull": true,
320
+ "default": false
321
+ },
322
+ "archive_arn": {
323
+ "name": "archive_arn",
324
+ "type": "text",
325
+ "primaryKey": false,
326
+ "notNull": false
327
+ },
328
+ "event_history_enabled": {
329
+ "name": "event_history_enabled",
330
+ "type": "boolean",
331
+ "primaryKey": false,
332
+ "notNull": true,
333
+ "default": false
334
+ },
335
+ "event_tracking_enabled": {
336
+ "name": "event_tracking_enabled",
337
+ "type": "boolean",
338
+ "primaryKey": false,
339
+ "notNull": true,
340
+ "default": false
341
+ },
342
+ "config_set_name": {
343
+ "name": "config_set_name",
344
+ "type": "text",
345
+ "primaryKey": false,
346
+ "notNull": false
347
+ },
348
+ "custom_tracking_domain": {
349
+ "name": "custom_tracking_domain",
350
+ "type": "text",
351
+ "primaryKey": false,
352
+ "notNull": false
353
+ },
354
+ "created_by": {
355
+ "name": "created_by",
356
+ "type": "text",
357
+ "primaryKey": false,
358
+ "notNull": false
359
+ },
360
+ "created_at": {
361
+ "name": "created_at",
362
+ "type": "timestamp",
363
+ "primaryKey": false,
364
+ "notNull": true,
365
+ "default": "now()"
366
+ },
367
+ "updated_at": {
368
+ "name": "updated_at",
369
+ "type": "timestamp",
370
+ "primaryKey": false,
371
+ "notNull": true,
372
+ "default": "now()"
373
+ }
374
+ },
375
+ "indexes": {
376
+ "aws_account_org_idx": {
377
+ "name": "aws_account_org_idx",
378
+ "columns": [
379
+ {
380
+ "expression": "organization_id",
381
+ "isExpression": false,
382
+ "asc": true,
383
+ "nulls": "last"
384
+ }
385
+ ],
386
+ "isUnique": false,
387
+ "concurrently": false,
388
+ "method": "btree",
389
+ "with": {}
390
+ },
391
+ "aws_account_external_id_idx": {
392
+ "name": "aws_account_external_id_idx",
393
+ "columns": [
394
+ {
395
+ "expression": "external_id",
396
+ "isExpression": false,
397
+ "asc": true,
398
+ "nulls": "last"
399
+ }
400
+ ],
401
+ "isUnique": false,
402
+ "concurrently": false,
403
+ "method": "btree",
404
+ "with": {}
405
+ }
406
+ },
407
+ "foreignKeys": {
408
+ "aws_account_organization_id_organization_id_fk": {
409
+ "name": "aws_account_organization_id_organization_id_fk",
410
+ "tableFrom": "aws_account",
411
+ "tableTo": "organization",
412
+ "columnsFrom": ["organization_id"],
413
+ "columnsTo": ["id"],
414
+ "onDelete": "cascade",
415
+ "onUpdate": "no action"
416
+ },
417
+ "aws_account_created_by_user_id_fk": {
418
+ "name": "aws_account_created_by_user_id_fk",
419
+ "tableFrom": "aws_account",
420
+ "tableTo": "user",
421
+ "columnsFrom": ["created_by"],
422
+ "columnsTo": ["id"],
423
+ "onDelete": "no action",
424
+ "onUpdate": "no action"
425
+ }
426
+ },
427
+ "compositePrimaryKeys": {},
428
+ "uniqueConstraints": {
429
+ "aws_account_external_id_unique": {
430
+ "name": "aws_account_external_id_unique",
431
+ "nullsNotDistinct": false,
432
+ "columns": ["external_id"]
433
+ }
434
+ },
435
+ "policies": {},
436
+ "checkConstraints": {},
437
+ "isRLSEnabled": false
438
+ },
439
+ "public.aws_account_permission": {
440
+ "name": "aws_account_permission",
441
+ "schema": "",
442
+ "columns": {
443
+ "id": {
444
+ "name": "id",
445
+ "type": "text",
446
+ "primaryKey": true,
447
+ "notNull": true
448
+ },
449
+ "user_id": {
450
+ "name": "user_id",
451
+ "type": "text",
452
+ "primaryKey": false,
453
+ "notNull": true
454
+ },
455
+ "aws_account_id": {
456
+ "name": "aws_account_id",
457
+ "type": "text",
458
+ "primaryKey": false,
459
+ "notNull": true
460
+ },
461
+ "permissions": {
462
+ "name": "permissions",
463
+ "type": "json",
464
+ "primaryKey": false,
465
+ "notNull": true
466
+ },
467
+ "granted_by": {
468
+ "name": "granted_by",
469
+ "type": "text",
470
+ "primaryKey": false,
471
+ "notNull": true
472
+ },
473
+ "expires_at": {
474
+ "name": "expires_at",
475
+ "type": "timestamp",
476
+ "primaryKey": false,
477
+ "notNull": false
478
+ },
479
+ "created_at": {
480
+ "name": "created_at",
481
+ "type": "timestamp",
482
+ "primaryKey": false,
483
+ "notNull": true,
484
+ "default": "now()"
485
+ },
486
+ "updated_at": {
487
+ "name": "updated_at",
488
+ "type": "timestamp",
489
+ "primaryKey": false,
490
+ "notNull": true,
491
+ "default": "now()"
492
+ }
493
+ },
494
+ "indexes": {
495
+ "aws_account_permission_user_idx": {
496
+ "name": "aws_account_permission_user_idx",
497
+ "columns": [
498
+ {
499
+ "expression": "user_id",
500
+ "isExpression": false,
501
+ "asc": true,
502
+ "nulls": "last"
503
+ }
504
+ ],
505
+ "isUnique": false,
506
+ "concurrently": false,
507
+ "method": "btree",
508
+ "with": {}
509
+ },
510
+ "aws_account_permission_account_idx": {
511
+ "name": "aws_account_permission_account_idx",
512
+ "columns": [
513
+ {
514
+ "expression": "aws_account_id",
515
+ "isExpression": false,
516
+ "asc": true,
517
+ "nulls": "last"
518
+ }
519
+ ],
520
+ "isUnique": false,
521
+ "concurrently": false,
522
+ "method": "btree",
523
+ "with": {}
524
+ },
525
+ "aws_account_permission_unique_idx": {
526
+ "name": "aws_account_permission_unique_idx",
527
+ "columns": [
528
+ {
529
+ "expression": "user_id",
530
+ "isExpression": false,
531
+ "asc": true,
532
+ "nulls": "last"
533
+ },
534
+ {
535
+ "expression": "aws_account_id",
536
+ "isExpression": false,
537
+ "asc": true,
538
+ "nulls": "last"
539
+ }
540
+ ],
541
+ "isUnique": false,
542
+ "concurrently": false,
543
+ "method": "btree",
544
+ "with": {}
545
+ }
546
+ },
547
+ "foreignKeys": {
548
+ "aws_account_permission_user_id_user_id_fk": {
549
+ "name": "aws_account_permission_user_id_user_id_fk",
550
+ "tableFrom": "aws_account_permission",
551
+ "tableTo": "user",
552
+ "columnsFrom": ["user_id"],
553
+ "columnsTo": ["id"],
554
+ "onDelete": "cascade",
555
+ "onUpdate": "no action"
556
+ },
557
+ "aws_account_permission_aws_account_id_aws_account_id_fk": {
558
+ "name": "aws_account_permission_aws_account_id_aws_account_id_fk",
559
+ "tableFrom": "aws_account_permission",
560
+ "tableTo": "aws_account",
561
+ "columnsFrom": ["aws_account_id"],
562
+ "columnsTo": ["id"],
563
+ "onDelete": "cascade",
564
+ "onUpdate": "no action"
565
+ },
566
+ "aws_account_permission_granted_by_user_id_fk": {
567
+ "name": "aws_account_permission_granted_by_user_id_fk",
568
+ "tableFrom": "aws_account_permission",
569
+ "tableTo": "user",
570
+ "columnsFrom": ["granted_by"],
571
+ "columnsTo": ["id"],
572
+ "onDelete": "no action",
573
+ "onUpdate": "no action"
574
+ }
575
+ },
576
+ "compositePrimaryKeys": {},
577
+ "uniqueConstraints": {},
578
+ "policies": {},
579
+ "checkConstraints": {},
580
+ "isRLSEnabled": false
581
+ },
582
+ "public.email_template": {
583
+ "name": "email_template",
584
+ "schema": "",
585
+ "columns": {
586
+ "id": {
587
+ "name": "id",
588
+ "type": "text",
589
+ "primaryKey": true,
590
+ "notNull": true
591
+ },
592
+ "organization_id": {
593
+ "name": "organization_id",
594
+ "type": "text",
595
+ "primaryKey": false,
596
+ "notNull": true
597
+ },
598
+ "name": {
599
+ "name": "name",
600
+ "type": "text",
601
+ "primaryKey": false,
602
+ "notNull": true
603
+ },
604
+ "subject": {
605
+ "name": "subject",
606
+ "type": "text",
607
+ "primaryKey": false,
608
+ "notNull": false
609
+ },
610
+ "html": {
611
+ "name": "html",
612
+ "type": "text",
613
+ "primaryKey": false,
614
+ "notNull": false
615
+ },
616
+ "variables": {
617
+ "name": "variables",
618
+ "type": "json",
619
+ "primaryKey": false,
620
+ "notNull": false,
621
+ "default": "'[]'::json"
622
+ },
623
+ "created_by": {
624
+ "name": "created_by",
625
+ "type": "text",
626
+ "primaryKey": false,
627
+ "notNull": false
628
+ },
629
+ "created_at": {
630
+ "name": "created_at",
631
+ "type": "timestamp",
632
+ "primaryKey": false,
633
+ "notNull": true,
634
+ "default": "now()"
635
+ },
636
+ "updated_at": {
637
+ "name": "updated_at",
638
+ "type": "timestamp",
639
+ "primaryKey": false,
640
+ "notNull": true,
641
+ "default": "now()"
642
+ }
643
+ },
644
+ "indexes": {
645
+ "email_template_org_idx": {
646
+ "name": "email_template_org_idx",
647
+ "columns": [
648
+ {
649
+ "expression": "organization_id",
650
+ "isExpression": false,
651
+ "asc": true,
652
+ "nulls": "last"
653
+ }
654
+ ],
655
+ "isUnique": false,
656
+ "concurrently": false,
657
+ "method": "btree",
658
+ "with": {}
659
+ }
660
+ },
661
+ "foreignKeys": {
662
+ "email_template_organization_id_organization_id_fk": {
663
+ "name": "email_template_organization_id_organization_id_fk",
664
+ "tableFrom": "email_template",
665
+ "tableTo": "organization",
666
+ "columnsFrom": ["organization_id"],
667
+ "columnsTo": ["id"],
668
+ "onDelete": "cascade",
669
+ "onUpdate": "no action"
670
+ },
671
+ "email_template_created_by_user_id_fk": {
672
+ "name": "email_template_created_by_user_id_fk",
673
+ "tableFrom": "email_template",
674
+ "tableTo": "user",
675
+ "columnsFrom": ["created_by"],
676
+ "columnsTo": ["id"],
677
+ "onDelete": "no action",
678
+ "onUpdate": "no action"
679
+ }
680
+ },
681
+ "compositePrimaryKeys": {},
682
+ "uniqueConstraints": {},
683
+ "policies": {},
684
+ "checkConstraints": {},
685
+ "isRLSEnabled": false
686
+ },
687
+ "public.organization_extension": {
688
+ "name": "organization_extension",
689
+ "schema": "",
690
+ "columns": {
691
+ "organization_id": {
692
+ "name": "organization_id",
693
+ "type": "text",
694
+ "primaryKey": true,
695
+ "notNull": true
696
+ },
697
+ "plan": {
698
+ "name": "plan",
699
+ "type": "text",
700
+ "primaryKey": false,
701
+ "notNull": true,
702
+ "default": "'free'"
703
+ },
704
+ "stripe_customer_id": {
705
+ "name": "stripe_customer_id",
706
+ "type": "text",
707
+ "primaryKey": false,
708
+ "notNull": false
709
+ },
710
+ "stripe_subscription_id": {
711
+ "name": "stripe_subscription_id",
712
+ "type": "text",
713
+ "primaryKey": false,
714
+ "notNull": false
715
+ },
716
+ "aws_account_count": {
717
+ "name": "aws_account_count",
718
+ "type": "integer",
719
+ "primaryKey": false,
720
+ "notNull": true,
721
+ "default": 0
722
+ },
723
+ "member_count": {
724
+ "name": "member_count",
725
+ "type": "integer",
726
+ "primaryKey": false,
727
+ "notNull": true,
728
+ "default": 1
729
+ },
730
+ "updated_at": {
731
+ "name": "updated_at",
732
+ "type": "timestamp",
733
+ "primaryKey": false,
734
+ "notNull": true,
735
+ "default": "now()"
736
+ }
737
+ },
738
+ "indexes": {},
739
+ "foreignKeys": {
740
+ "organization_extension_organization_id_organization_id_fk": {
741
+ "name": "organization_extension_organization_id_organization_id_fk",
742
+ "tableFrom": "organization_extension",
743
+ "tableTo": "organization",
744
+ "columnsFrom": ["organization_id"],
745
+ "columnsTo": ["id"],
746
+ "onDelete": "cascade",
747
+ "onUpdate": "no action"
748
+ }
749
+ },
750
+ "compositePrimaryKeys": {},
751
+ "uniqueConstraints": {},
752
+ "policies": {},
753
+ "checkConstraints": {},
754
+ "isRLSEnabled": false
755
+ },
756
+ "public.account": {
757
+ "name": "account",
758
+ "schema": "",
759
+ "columns": {
760
+ "id": {
761
+ "name": "id",
762
+ "type": "text",
763
+ "primaryKey": true,
764
+ "notNull": true
765
+ },
766
+ "account_id": {
767
+ "name": "account_id",
768
+ "type": "text",
769
+ "primaryKey": false,
770
+ "notNull": true
771
+ },
772
+ "provider_id": {
773
+ "name": "provider_id",
774
+ "type": "text",
775
+ "primaryKey": false,
776
+ "notNull": true
777
+ },
778
+ "user_id": {
779
+ "name": "user_id",
780
+ "type": "text",
781
+ "primaryKey": false,
782
+ "notNull": true
783
+ },
784
+ "access_token": {
785
+ "name": "access_token",
786
+ "type": "text",
787
+ "primaryKey": false,
788
+ "notNull": false
789
+ },
790
+ "refresh_token": {
791
+ "name": "refresh_token",
792
+ "type": "text",
793
+ "primaryKey": false,
794
+ "notNull": false
795
+ },
796
+ "id_token": {
797
+ "name": "id_token",
798
+ "type": "text",
799
+ "primaryKey": false,
800
+ "notNull": false
801
+ },
802
+ "access_token_expires_at": {
803
+ "name": "access_token_expires_at",
804
+ "type": "timestamp",
805
+ "primaryKey": false,
806
+ "notNull": false
807
+ },
808
+ "refresh_token_expires_at": {
809
+ "name": "refresh_token_expires_at",
810
+ "type": "timestamp",
811
+ "primaryKey": false,
812
+ "notNull": false
813
+ },
814
+ "scope": {
815
+ "name": "scope",
816
+ "type": "text",
817
+ "primaryKey": false,
818
+ "notNull": false
819
+ },
820
+ "password": {
821
+ "name": "password",
822
+ "type": "text",
823
+ "primaryKey": false,
824
+ "notNull": false
825
+ },
826
+ "created_at": {
827
+ "name": "created_at",
828
+ "type": "timestamp",
829
+ "primaryKey": false,
830
+ "notNull": true
831
+ },
832
+ "updated_at": {
833
+ "name": "updated_at",
834
+ "type": "timestamp",
835
+ "primaryKey": false,
836
+ "notNull": true
837
+ }
838
+ },
839
+ "indexes": {},
840
+ "foreignKeys": {
841
+ "account_user_id_user_id_fk": {
842
+ "name": "account_user_id_user_id_fk",
843
+ "tableFrom": "account",
844
+ "tableTo": "user",
845
+ "columnsFrom": ["user_id"],
846
+ "columnsTo": ["id"],
847
+ "onDelete": "cascade",
848
+ "onUpdate": "no action"
849
+ }
850
+ },
851
+ "compositePrimaryKeys": {},
852
+ "uniqueConstraints": {},
853
+ "policies": {},
854
+ "checkConstraints": {},
855
+ "isRLSEnabled": false
856
+ },
857
+ "public.invitation": {
858
+ "name": "invitation",
859
+ "schema": "",
860
+ "columns": {
861
+ "id": {
862
+ "name": "id",
863
+ "type": "text",
864
+ "primaryKey": true,
865
+ "notNull": true
866
+ },
867
+ "organization_id": {
868
+ "name": "organization_id",
869
+ "type": "text",
870
+ "primaryKey": false,
871
+ "notNull": true
872
+ },
873
+ "email": {
874
+ "name": "email",
875
+ "type": "text",
876
+ "primaryKey": false,
877
+ "notNull": true
878
+ },
879
+ "role": {
880
+ "name": "role",
881
+ "type": "text",
882
+ "primaryKey": false,
883
+ "notNull": false
884
+ },
885
+ "status": {
886
+ "name": "status",
887
+ "type": "text",
888
+ "primaryKey": false,
889
+ "notNull": true
890
+ },
891
+ "expires_at": {
892
+ "name": "expires_at",
893
+ "type": "timestamp",
894
+ "primaryKey": false,
895
+ "notNull": true
896
+ },
897
+ "inviter_id": {
898
+ "name": "inviter_id",
899
+ "type": "text",
900
+ "primaryKey": false,
901
+ "notNull": true
902
+ }
903
+ },
904
+ "indexes": {},
905
+ "foreignKeys": {
906
+ "invitation_organization_id_organization_id_fk": {
907
+ "name": "invitation_organization_id_organization_id_fk",
908
+ "tableFrom": "invitation",
909
+ "tableTo": "organization",
910
+ "columnsFrom": ["organization_id"],
911
+ "columnsTo": ["id"],
912
+ "onDelete": "cascade",
913
+ "onUpdate": "no action"
914
+ },
915
+ "invitation_inviter_id_user_id_fk": {
916
+ "name": "invitation_inviter_id_user_id_fk",
917
+ "tableFrom": "invitation",
918
+ "tableTo": "user",
919
+ "columnsFrom": ["inviter_id"],
920
+ "columnsTo": ["id"],
921
+ "onDelete": "cascade",
922
+ "onUpdate": "no action"
923
+ }
924
+ },
925
+ "compositePrimaryKeys": {},
926
+ "uniqueConstraints": {},
927
+ "policies": {},
928
+ "checkConstraints": {},
929
+ "isRLSEnabled": false
930
+ },
931
+ "public.member": {
932
+ "name": "member",
933
+ "schema": "",
934
+ "columns": {
935
+ "id": {
936
+ "name": "id",
937
+ "type": "text",
938
+ "primaryKey": true,
939
+ "notNull": true
940
+ },
941
+ "organization_id": {
942
+ "name": "organization_id",
943
+ "type": "text",
944
+ "primaryKey": false,
945
+ "notNull": true
946
+ },
947
+ "user_id": {
948
+ "name": "user_id",
949
+ "type": "text",
950
+ "primaryKey": false,
951
+ "notNull": true
952
+ },
953
+ "role": {
954
+ "name": "role",
955
+ "type": "text",
956
+ "primaryKey": false,
957
+ "notNull": true
958
+ },
959
+ "created_at": {
960
+ "name": "created_at",
961
+ "type": "timestamp",
962
+ "primaryKey": false,
963
+ "notNull": true
964
+ }
965
+ },
966
+ "indexes": {},
967
+ "foreignKeys": {
968
+ "member_organization_id_organization_id_fk": {
969
+ "name": "member_organization_id_organization_id_fk",
970
+ "tableFrom": "member",
971
+ "tableTo": "organization",
972
+ "columnsFrom": ["organization_id"],
973
+ "columnsTo": ["id"],
974
+ "onDelete": "cascade",
975
+ "onUpdate": "no action"
976
+ },
977
+ "member_user_id_user_id_fk": {
978
+ "name": "member_user_id_user_id_fk",
979
+ "tableFrom": "member",
980
+ "tableTo": "user",
981
+ "columnsFrom": ["user_id"],
982
+ "columnsTo": ["id"],
983
+ "onDelete": "cascade",
984
+ "onUpdate": "no action"
985
+ }
986
+ },
987
+ "compositePrimaryKeys": {},
988
+ "uniqueConstraints": {},
989
+ "policies": {},
990
+ "checkConstraints": {},
991
+ "isRLSEnabled": false
992
+ },
993
+ "public.organization": {
994
+ "name": "organization",
995
+ "schema": "",
996
+ "columns": {
997
+ "id": {
998
+ "name": "id",
999
+ "type": "text",
1000
+ "primaryKey": true,
1001
+ "notNull": true
1002
+ },
1003
+ "name": {
1004
+ "name": "name",
1005
+ "type": "text",
1006
+ "primaryKey": false,
1007
+ "notNull": true
1008
+ },
1009
+ "slug": {
1010
+ "name": "slug",
1011
+ "type": "text",
1012
+ "primaryKey": false,
1013
+ "notNull": false
1014
+ },
1015
+ "logo": {
1016
+ "name": "logo",
1017
+ "type": "text",
1018
+ "primaryKey": false,
1019
+ "notNull": false
1020
+ },
1021
+ "metadata": {
1022
+ "name": "metadata",
1023
+ "type": "text",
1024
+ "primaryKey": false,
1025
+ "notNull": false
1026
+ },
1027
+ "created_at": {
1028
+ "name": "created_at",
1029
+ "type": "timestamp",
1030
+ "primaryKey": false,
1031
+ "notNull": true
1032
+ }
1033
+ },
1034
+ "indexes": {},
1035
+ "foreignKeys": {},
1036
+ "compositePrimaryKeys": {},
1037
+ "uniqueConstraints": {
1038
+ "organization_slug_unique": {
1039
+ "name": "organization_slug_unique",
1040
+ "nullsNotDistinct": false,
1041
+ "columns": ["slug"]
1042
+ }
1043
+ },
1044
+ "policies": {},
1045
+ "checkConstraints": {},
1046
+ "isRLSEnabled": false
1047
+ },
1048
+ "public.passkey": {
1049
+ "name": "passkey",
1050
+ "schema": "",
1051
+ "columns": {
1052
+ "id": {
1053
+ "name": "id",
1054
+ "type": "text",
1055
+ "primaryKey": true,
1056
+ "notNull": true
1057
+ },
1058
+ "name": {
1059
+ "name": "name",
1060
+ "type": "text",
1061
+ "primaryKey": false,
1062
+ "notNull": false
1063
+ },
1064
+ "public_key": {
1065
+ "name": "public_key",
1066
+ "type": "text",
1067
+ "primaryKey": false,
1068
+ "notNull": true
1069
+ },
1070
+ "user_id": {
1071
+ "name": "user_id",
1072
+ "type": "text",
1073
+ "primaryKey": false,
1074
+ "notNull": true
1075
+ },
1076
+ "credential_id": {
1077
+ "name": "credential_id",
1078
+ "type": "text",
1079
+ "primaryKey": false,
1080
+ "notNull": true
1081
+ },
1082
+ "counter": {
1083
+ "name": "counter",
1084
+ "type": "integer",
1085
+ "primaryKey": false,
1086
+ "notNull": true
1087
+ },
1088
+ "device_type": {
1089
+ "name": "device_type",
1090
+ "type": "text",
1091
+ "primaryKey": false,
1092
+ "notNull": true
1093
+ },
1094
+ "backed_up": {
1095
+ "name": "backed_up",
1096
+ "type": "boolean",
1097
+ "primaryKey": false,
1098
+ "notNull": true
1099
+ },
1100
+ "transports": {
1101
+ "name": "transports",
1102
+ "type": "text",
1103
+ "primaryKey": false,
1104
+ "notNull": false
1105
+ },
1106
+ "created_at": {
1107
+ "name": "created_at",
1108
+ "type": "timestamp",
1109
+ "primaryKey": false,
1110
+ "notNull": true
1111
+ },
1112
+ "aaguid": {
1113
+ "name": "aaguid",
1114
+ "type": "text",
1115
+ "primaryKey": false,
1116
+ "notNull": false
1117
+ }
1118
+ },
1119
+ "indexes": {},
1120
+ "foreignKeys": {
1121
+ "passkey_user_id_user_id_fk": {
1122
+ "name": "passkey_user_id_user_id_fk",
1123
+ "tableFrom": "passkey",
1124
+ "tableTo": "user",
1125
+ "columnsFrom": ["user_id"],
1126
+ "columnsTo": ["id"],
1127
+ "onDelete": "cascade",
1128
+ "onUpdate": "no action"
1129
+ }
1130
+ },
1131
+ "compositePrimaryKeys": {},
1132
+ "uniqueConstraints": {},
1133
+ "policies": {},
1134
+ "checkConstraints": {},
1135
+ "isRLSEnabled": false
1136
+ },
1137
+ "public.session": {
1138
+ "name": "session",
1139
+ "schema": "",
1140
+ "columns": {
1141
+ "id": {
1142
+ "name": "id",
1143
+ "type": "text",
1144
+ "primaryKey": true,
1145
+ "notNull": true
1146
+ },
1147
+ "expires_at": {
1148
+ "name": "expires_at",
1149
+ "type": "timestamp",
1150
+ "primaryKey": false,
1151
+ "notNull": true
1152
+ },
1153
+ "token": {
1154
+ "name": "token",
1155
+ "type": "text",
1156
+ "primaryKey": false,
1157
+ "notNull": true
1158
+ },
1159
+ "created_at": {
1160
+ "name": "created_at",
1161
+ "type": "timestamp",
1162
+ "primaryKey": false,
1163
+ "notNull": true
1164
+ },
1165
+ "updated_at": {
1166
+ "name": "updated_at",
1167
+ "type": "timestamp",
1168
+ "primaryKey": false,
1169
+ "notNull": true
1170
+ },
1171
+ "ip_address": {
1172
+ "name": "ip_address",
1173
+ "type": "text",
1174
+ "primaryKey": false,
1175
+ "notNull": false
1176
+ },
1177
+ "user_agent": {
1178
+ "name": "user_agent",
1179
+ "type": "text",
1180
+ "primaryKey": false,
1181
+ "notNull": false
1182
+ },
1183
+ "user_id": {
1184
+ "name": "user_id",
1185
+ "type": "text",
1186
+ "primaryKey": false,
1187
+ "notNull": true
1188
+ },
1189
+ "active_organization_id": {
1190
+ "name": "active_organization_id",
1191
+ "type": "text",
1192
+ "primaryKey": false,
1193
+ "notNull": false
1194
+ }
1195
+ },
1196
+ "indexes": {},
1197
+ "foreignKeys": {
1198
+ "session_user_id_user_id_fk": {
1199
+ "name": "session_user_id_user_id_fk",
1200
+ "tableFrom": "session",
1201
+ "tableTo": "user",
1202
+ "columnsFrom": ["user_id"],
1203
+ "columnsTo": ["id"],
1204
+ "onDelete": "cascade",
1205
+ "onUpdate": "no action"
1206
+ }
1207
+ },
1208
+ "compositePrimaryKeys": {},
1209
+ "uniqueConstraints": {
1210
+ "session_token_unique": {
1211
+ "name": "session_token_unique",
1212
+ "nullsNotDistinct": false,
1213
+ "columns": ["token"]
1214
+ }
1215
+ },
1216
+ "policies": {},
1217
+ "checkConstraints": {},
1218
+ "isRLSEnabled": false
1219
+ },
1220
+ "public.statement": {
1221
+ "name": "statement",
1222
+ "schema": "",
1223
+ "columns": {
1224
+ "id": {
1225
+ "name": "id",
1226
+ "type": "text",
1227
+ "primaryKey": true,
1228
+ "notNull": true
1229
+ },
1230
+ "user_id": {
1231
+ "name": "user_id",
1232
+ "type": "text",
1233
+ "primaryKey": false,
1234
+ "notNull": false
1235
+ },
1236
+ "organization_id": {
1237
+ "name": "organization_id",
1238
+ "type": "text",
1239
+ "primaryKey": false,
1240
+ "notNull": false
1241
+ },
1242
+ "role_id": {
1243
+ "name": "role_id",
1244
+ "type": "text",
1245
+ "primaryKey": false,
1246
+ "notNull": false
1247
+ },
1248
+ "effect": {
1249
+ "name": "effect",
1250
+ "type": "text",
1251
+ "primaryKey": false,
1252
+ "notNull": true
1253
+ },
1254
+ "action": {
1255
+ "name": "action",
1256
+ "type": "text",
1257
+ "primaryKey": false,
1258
+ "notNull": true
1259
+ },
1260
+ "resource": {
1261
+ "name": "resource",
1262
+ "type": "text",
1263
+ "primaryKey": false,
1264
+ "notNull": true
1265
+ },
1266
+ "condition": {
1267
+ "name": "condition",
1268
+ "type": "text",
1269
+ "primaryKey": false,
1270
+ "notNull": false
1271
+ },
1272
+ "expires_at": {
1273
+ "name": "expires_at",
1274
+ "type": "timestamp",
1275
+ "primaryKey": false,
1276
+ "notNull": false
1277
+ },
1278
+ "created_at": {
1279
+ "name": "created_at",
1280
+ "type": "timestamp",
1281
+ "primaryKey": false,
1282
+ "notNull": true
1283
+ },
1284
+ "updated_at": {
1285
+ "name": "updated_at",
1286
+ "type": "timestamp",
1287
+ "primaryKey": false,
1288
+ "notNull": true
1289
+ }
1290
+ },
1291
+ "indexes": {},
1292
+ "foreignKeys": {
1293
+ "statement_user_id_user_id_fk": {
1294
+ "name": "statement_user_id_user_id_fk",
1295
+ "tableFrom": "statement",
1296
+ "tableTo": "user",
1297
+ "columnsFrom": ["user_id"],
1298
+ "columnsTo": ["id"],
1299
+ "onDelete": "cascade",
1300
+ "onUpdate": "no action"
1301
+ },
1302
+ "statement_organization_id_organization_id_fk": {
1303
+ "name": "statement_organization_id_organization_id_fk",
1304
+ "tableFrom": "statement",
1305
+ "tableTo": "organization",
1306
+ "columnsFrom": ["organization_id"],
1307
+ "columnsTo": ["id"],
1308
+ "onDelete": "cascade",
1309
+ "onUpdate": "no action"
1310
+ }
1311
+ },
1312
+ "compositePrimaryKeys": {},
1313
+ "uniqueConstraints": {},
1314
+ "policies": {},
1315
+ "checkConstraints": {},
1316
+ "isRLSEnabled": false
1317
+ },
1318
+ "public.two_factor": {
1319
+ "name": "two_factor",
1320
+ "schema": "",
1321
+ "columns": {
1322
+ "id": {
1323
+ "name": "id",
1324
+ "type": "text",
1325
+ "primaryKey": true,
1326
+ "notNull": true
1327
+ },
1328
+ "secret": {
1329
+ "name": "secret",
1330
+ "type": "text",
1331
+ "primaryKey": false,
1332
+ "notNull": true
1333
+ },
1334
+ "backup_codes": {
1335
+ "name": "backup_codes",
1336
+ "type": "text",
1337
+ "primaryKey": false,
1338
+ "notNull": true
1339
+ },
1340
+ "user_id": {
1341
+ "name": "user_id",
1342
+ "type": "text",
1343
+ "primaryKey": false,
1344
+ "notNull": true
1345
+ }
1346
+ },
1347
+ "indexes": {},
1348
+ "foreignKeys": {
1349
+ "two_factor_user_id_user_id_fk": {
1350
+ "name": "two_factor_user_id_user_id_fk",
1351
+ "tableFrom": "two_factor",
1352
+ "tableTo": "user",
1353
+ "columnsFrom": ["user_id"],
1354
+ "columnsTo": ["id"],
1355
+ "onDelete": "cascade",
1356
+ "onUpdate": "no action"
1357
+ }
1358
+ },
1359
+ "compositePrimaryKeys": {},
1360
+ "uniqueConstraints": {},
1361
+ "policies": {},
1362
+ "checkConstraints": {},
1363
+ "isRLSEnabled": false
1364
+ },
1365
+ "public.user": {
1366
+ "name": "user",
1367
+ "schema": "",
1368
+ "columns": {
1369
+ "id": {
1370
+ "name": "id",
1371
+ "type": "text",
1372
+ "primaryKey": true,
1373
+ "notNull": true
1374
+ },
1375
+ "name": {
1376
+ "name": "name",
1377
+ "type": "text",
1378
+ "primaryKey": false,
1379
+ "notNull": true
1380
+ },
1381
+ "email": {
1382
+ "name": "email",
1383
+ "type": "text",
1384
+ "primaryKey": false,
1385
+ "notNull": true
1386
+ },
1387
+ "email_verified": {
1388
+ "name": "email_verified",
1389
+ "type": "boolean",
1390
+ "primaryKey": false,
1391
+ "notNull": true
1392
+ },
1393
+ "image": {
1394
+ "name": "image",
1395
+ "type": "text",
1396
+ "primaryKey": false,
1397
+ "notNull": false
1398
+ },
1399
+ "created_at": {
1400
+ "name": "created_at",
1401
+ "type": "timestamp",
1402
+ "primaryKey": false,
1403
+ "notNull": true
1404
+ },
1405
+ "updated_at": {
1406
+ "name": "updated_at",
1407
+ "type": "timestamp",
1408
+ "primaryKey": false,
1409
+ "notNull": true
1410
+ },
1411
+ "two_factor_enabled": {
1412
+ "name": "two_factor_enabled",
1413
+ "type": "boolean",
1414
+ "primaryKey": false,
1415
+ "notNull": false
1416
+ },
1417
+ "last_login_method": {
1418
+ "name": "last_login_method",
1419
+ "type": "text",
1420
+ "primaryKey": false,
1421
+ "notNull": false
1422
+ }
1423
+ },
1424
+ "indexes": {},
1425
+ "foreignKeys": {},
1426
+ "compositePrimaryKeys": {},
1427
+ "uniqueConstraints": {
1428
+ "user_email_unique": {
1429
+ "name": "user_email_unique",
1430
+ "nullsNotDistinct": false,
1431
+ "columns": ["email"]
1432
+ }
1433
+ },
1434
+ "policies": {},
1435
+ "checkConstraints": {},
1436
+ "isRLSEnabled": false
1437
+ },
1438
+ "public.verification": {
1439
+ "name": "verification",
1440
+ "schema": "",
1441
+ "columns": {
1442
+ "id": {
1443
+ "name": "id",
1444
+ "type": "text",
1445
+ "primaryKey": true,
1446
+ "notNull": true
1447
+ },
1448
+ "identifier": {
1449
+ "name": "identifier",
1450
+ "type": "text",
1451
+ "primaryKey": false,
1452
+ "notNull": true
1453
+ },
1454
+ "value": {
1455
+ "name": "value",
1456
+ "type": "text",
1457
+ "primaryKey": false,
1458
+ "notNull": true
1459
+ },
1460
+ "expires_at": {
1461
+ "name": "expires_at",
1462
+ "type": "timestamp",
1463
+ "primaryKey": false,
1464
+ "notNull": true
1465
+ },
1466
+ "created_at": {
1467
+ "name": "created_at",
1468
+ "type": "timestamp",
1469
+ "primaryKey": false,
1470
+ "notNull": false
1471
+ },
1472
+ "updated_at": {
1473
+ "name": "updated_at",
1474
+ "type": "timestamp",
1475
+ "primaryKey": false,
1476
+ "notNull": false
1477
+ }
1478
+ },
1479
+ "indexes": {},
1480
+ "foreignKeys": {},
1481
+ "compositePrimaryKeys": {},
1482
+ "uniqueConstraints": {},
1483
+ "policies": {},
1484
+ "checkConstraints": {},
1485
+ "isRLSEnabled": false
1486
+ }
1487
+ },
1488
+ "enums": {},
1489
+ "schemas": {},
1490
+ "sequences": {},
1491
+ "roles": {},
1492
+ "policies": {},
1493
+ "views": {},
1494
+ "_meta": {
1495
+ "columns": {},
1496
+ "schemas": {},
1497
+ "tables": {}
1498
+ }
1499
+ }