@kontexted/darwin-arm64 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @kontexted/darwin-arm64 might be problematic. Click here for more details.

@@ -0,0 +1,1678 @@
1
+ {
2
+ "id": "964d0a85-de78-478e-8c5f-a29e15d390a2",
3
+ "prevId": "00000000-0000-0000-0000-000000000000",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.account": {
8
+ "name": "account",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "text",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "userId": {
18
+ "name": "userId",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "accountId": {
24
+ "name": "accountId",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "providerId": {
30
+ "name": "providerId",
31
+ "type": "text",
32
+ "primaryKey": false,
33
+ "notNull": true
34
+ },
35
+ "accessToken": {
36
+ "name": "accessToken",
37
+ "type": "text",
38
+ "primaryKey": false,
39
+ "notNull": false
40
+ },
41
+ "refreshToken": {
42
+ "name": "refreshToken",
43
+ "type": "text",
44
+ "primaryKey": false,
45
+ "notNull": false
46
+ },
47
+ "accessTokenExpiresAt": {
48
+ "name": "accessTokenExpiresAt",
49
+ "type": "timestamp",
50
+ "primaryKey": false,
51
+ "notNull": false
52
+ },
53
+ "refreshTokenExpiresAt": {
54
+ "name": "refreshTokenExpiresAt",
55
+ "type": "timestamp",
56
+ "primaryKey": false,
57
+ "notNull": false
58
+ },
59
+ "scope": {
60
+ "name": "scope",
61
+ "type": "text",
62
+ "primaryKey": false,
63
+ "notNull": false
64
+ },
65
+ "idToken": {
66
+ "name": "idToken",
67
+ "type": "text",
68
+ "primaryKey": false,
69
+ "notNull": false
70
+ },
71
+ "password": {
72
+ "name": "password",
73
+ "type": "text",
74
+ "primaryKey": false,
75
+ "notNull": false
76
+ },
77
+ "createdAt": {
78
+ "name": "createdAt",
79
+ "type": "timestamp",
80
+ "primaryKey": false,
81
+ "notNull": true,
82
+ "default": "now()"
83
+ },
84
+ "updatedAt": {
85
+ "name": "updatedAt",
86
+ "type": "timestamp",
87
+ "primaryKey": false,
88
+ "notNull": true,
89
+ "default": "now()"
90
+ }
91
+ },
92
+ "indexes": {},
93
+ "foreignKeys": {
94
+ "account_userId_user_id_fk": {
95
+ "name": "account_userId_user_id_fk",
96
+ "tableFrom": "account",
97
+ "tableTo": "user",
98
+ "columnsFrom": [
99
+ "userId"
100
+ ],
101
+ "columnsTo": [
102
+ "id"
103
+ ],
104
+ "onDelete": "cascade",
105
+ "onUpdate": "no action"
106
+ }
107
+ },
108
+ "compositePrimaryKeys": {},
109
+ "uniqueConstraints": {},
110
+ "policies": {},
111
+ "checkConstraints": {},
112
+ "isRLSEnabled": false
113
+ },
114
+ "public.jwks": {
115
+ "name": "jwks",
116
+ "schema": "",
117
+ "columns": {
118
+ "id": {
119
+ "name": "id",
120
+ "type": "text",
121
+ "primaryKey": true,
122
+ "notNull": true
123
+ },
124
+ "publicKey": {
125
+ "name": "publicKey",
126
+ "type": "text",
127
+ "primaryKey": false,
128
+ "notNull": true
129
+ },
130
+ "privateKey": {
131
+ "name": "privateKey",
132
+ "type": "text",
133
+ "primaryKey": false,
134
+ "notNull": true
135
+ },
136
+ "createdAt": {
137
+ "name": "createdAt",
138
+ "type": "timestamp",
139
+ "primaryKey": false,
140
+ "notNull": true,
141
+ "default": "now()"
142
+ },
143
+ "expiresAt": {
144
+ "name": "expiresAt",
145
+ "type": "timestamp",
146
+ "primaryKey": false,
147
+ "notNull": false
148
+ }
149
+ },
150
+ "indexes": {},
151
+ "foreignKeys": {},
152
+ "compositePrimaryKeys": {},
153
+ "uniqueConstraints": {},
154
+ "policies": {},
155
+ "checkConstraints": {},
156
+ "isRLSEnabled": false
157
+ },
158
+ "public.oauthAccessToken": {
159
+ "name": "oauthAccessToken",
160
+ "schema": "",
161
+ "columns": {
162
+ "id": {
163
+ "name": "id",
164
+ "type": "text",
165
+ "primaryKey": true,
166
+ "notNull": true
167
+ },
168
+ "token": {
169
+ "name": "token",
170
+ "type": "text",
171
+ "primaryKey": false,
172
+ "notNull": true
173
+ },
174
+ "clientId": {
175
+ "name": "clientId",
176
+ "type": "text",
177
+ "primaryKey": false,
178
+ "notNull": true
179
+ },
180
+ "sessionId": {
181
+ "name": "sessionId",
182
+ "type": "text",
183
+ "primaryKey": false,
184
+ "notNull": false
185
+ },
186
+ "userId": {
187
+ "name": "userId",
188
+ "type": "text",
189
+ "primaryKey": false,
190
+ "notNull": false
191
+ },
192
+ "referenceId": {
193
+ "name": "referenceId",
194
+ "type": "text",
195
+ "primaryKey": false,
196
+ "notNull": false
197
+ },
198
+ "refreshId": {
199
+ "name": "refreshId",
200
+ "type": "text",
201
+ "primaryKey": false,
202
+ "notNull": false
203
+ },
204
+ "expiresAt": {
205
+ "name": "expiresAt",
206
+ "type": "timestamp",
207
+ "primaryKey": false,
208
+ "notNull": false
209
+ },
210
+ "createdAt": {
211
+ "name": "createdAt",
212
+ "type": "timestamp",
213
+ "primaryKey": false,
214
+ "notNull": true,
215
+ "default": "now()"
216
+ },
217
+ "scopes": {
218
+ "name": "scopes",
219
+ "type": "text",
220
+ "primaryKey": false,
221
+ "notNull": true
222
+ }
223
+ },
224
+ "indexes": {
225
+ "oauth_access_token_token_unique": {
226
+ "name": "oauth_access_token_token_unique",
227
+ "columns": [
228
+ {
229
+ "expression": "token",
230
+ "isExpression": false,
231
+ "asc": true,
232
+ "nulls": "last"
233
+ }
234
+ ],
235
+ "isUnique": true,
236
+ "concurrently": false,
237
+ "method": "btree",
238
+ "with": {}
239
+ },
240
+ "oauth_access_token_client_id_idx": {
241
+ "name": "oauth_access_token_client_id_idx",
242
+ "columns": [
243
+ {
244
+ "expression": "clientId",
245
+ "isExpression": false,
246
+ "asc": true,
247
+ "nulls": "last"
248
+ }
249
+ ],
250
+ "isUnique": false,
251
+ "concurrently": false,
252
+ "method": "btree",
253
+ "with": {}
254
+ },
255
+ "oauth_access_token_user_id_idx": {
256
+ "name": "oauth_access_token_user_id_idx",
257
+ "columns": [
258
+ {
259
+ "expression": "userId",
260
+ "isExpression": false,
261
+ "asc": true,
262
+ "nulls": "last"
263
+ }
264
+ ],
265
+ "isUnique": false,
266
+ "concurrently": false,
267
+ "method": "btree",
268
+ "with": {}
269
+ },
270
+ "oauth_access_token_session_id_idx": {
271
+ "name": "oauth_access_token_session_id_idx",
272
+ "columns": [
273
+ {
274
+ "expression": "sessionId",
275
+ "isExpression": false,
276
+ "asc": true,
277
+ "nulls": "last"
278
+ }
279
+ ],
280
+ "isUnique": false,
281
+ "concurrently": false,
282
+ "method": "btree",
283
+ "with": {}
284
+ }
285
+ },
286
+ "foreignKeys": {
287
+ "oauthAccessToken_clientId_oauthApplication_clientId_fk": {
288
+ "name": "oauthAccessToken_clientId_oauthApplication_clientId_fk",
289
+ "tableFrom": "oauthAccessToken",
290
+ "tableTo": "oauthApplication",
291
+ "columnsFrom": [
292
+ "clientId"
293
+ ],
294
+ "columnsTo": [
295
+ "clientId"
296
+ ],
297
+ "onDelete": "cascade",
298
+ "onUpdate": "no action"
299
+ },
300
+ "oauthAccessToken_sessionId_session_id_fk": {
301
+ "name": "oauthAccessToken_sessionId_session_id_fk",
302
+ "tableFrom": "oauthAccessToken",
303
+ "tableTo": "session",
304
+ "columnsFrom": [
305
+ "sessionId"
306
+ ],
307
+ "columnsTo": [
308
+ "id"
309
+ ],
310
+ "onDelete": "set null",
311
+ "onUpdate": "no action"
312
+ },
313
+ "oauthAccessToken_userId_user_id_fk": {
314
+ "name": "oauthAccessToken_userId_user_id_fk",
315
+ "tableFrom": "oauthAccessToken",
316
+ "tableTo": "user",
317
+ "columnsFrom": [
318
+ "userId"
319
+ ],
320
+ "columnsTo": [
321
+ "id"
322
+ ],
323
+ "onDelete": "cascade",
324
+ "onUpdate": "no action"
325
+ },
326
+ "oauthAccessToken_refreshId_oauthRefreshToken_id_fk": {
327
+ "name": "oauthAccessToken_refreshId_oauthRefreshToken_id_fk",
328
+ "tableFrom": "oauthAccessToken",
329
+ "tableTo": "oauthRefreshToken",
330
+ "columnsFrom": [
331
+ "refreshId"
332
+ ],
333
+ "columnsTo": [
334
+ "id"
335
+ ],
336
+ "onDelete": "set null",
337
+ "onUpdate": "no action"
338
+ }
339
+ },
340
+ "compositePrimaryKeys": {},
341
+ "uniqueConstraints": {},
342
+ "policies": {},
343
+ "checkConstraints": {},
344
+ "isRLSEnabled": false
345
+ },
346
+ "public.oauthApplication": {
347
+ "name": "oauthApplication",
348
+ "schema": "",
349
+ "columns": {
350
+ "id": {
351
+ "name": "id",
352
+ "type": "text",
353
+ "primaryKey": true,
354
+ "notNull": true
355
+ },
356
+ "clientId": {
357
+ "name": "clientId",
358
+ "type": "text",
359
+ "primaryKey": false,
360
+ "notNull": true
361
+ },
362
+ "clientSecret": {
363
+ "name": "clientSecret",
364
+ "type": "text",
365
+ "primaryKey": false,
366
+ "notNull": false
367
+ },
368
+ "disabled": {
369
+ "name": "disabled",
370
+ "type": "boolean",
371
+ "primaryKey": false,
372
+ "notNull": true,
373
+ "default": false
374
+ },
375
+ "skipConsent": {
376
+ "name": "skipConsent",
377
+ "type": "boolean",
378
+ "primaryKey": false,
379
+ "notNull": false
380
+ },
381
+ "enableEndSession": {
382
+ "name": "enableEndSession",
383
+ "type": "boolean",
384
+ "primaryKey": false,
385
+ "notNull": false
386
+ },
387
+ "scopes": {
388
+ "name": "scopes",
389
+ "type": "text",
390
+ "primaryKey": false,
391
+ "notNull": false
392
+ },
393
+ "userId": {
394
+ "name": "userId",
395
+ "type": "text",
396
+ "primaryKey": false,
397
+ "notNull": false
398
+ },
399
+ "createdAt": {
400
+ "name": "createdAt",
401
+ "type": "timestamp",
402
+ "primaryKey": false,
403
+ "notNull": true,
404
+ "default": "now()"
405
+ },
406
+ "updatedAt": {
407
+ "name": "updatedAt",
408
+ "type": "timestamp",
409
+ "primaryKey": false,
410
+ "notNull": true,
411
+ "default": "now()"
412
+ },
413
+ "name": {
414
+ "name": "name",
415
+ "type": "text",
416
+ "primaryKey": false,
417
+ "notNull": true
418
+ },
419
+ "uri": {
420
+ "name": "uri",
421
+ "type": "text",
422
+ "primaryKey": false,
423
+ "notNull": false
424
+ },
425
+ "icon": {
426
+ "name": "icon",
427
+ "type": "text",
428
+ "primaryKey": false,
429
+ "notNull": false
430
+ },
431
+ "contacts": {
432
+ "name": "contacts",
433
+ "type": "text",
434
+ "primaryKey": false,
435
+ "notNull": false
436
+ },
437
+ "tos": {
438
+ "name": "tos",
439
+ "type": "text",
440
+ "primaryKey": false,
441
+ "notNull": false
442
+ },
443
+ "policy": {
444
+ "name": "policy",
445
+ "type": "text",
446
+ "primaryKey": false,
447
+ "notNull": false
448
+ },
449
+ "softwareId": {
450
+ "name": "softwareId",
451
+ "type": "text",
452
+ "primaryKey": false,
453
+ "notNull": false
454
+ },
455
+ "softwareVersion": {
456
+ "name": "softwareVersion",
457
+ "type": "text",
458
+ "primaryKey": false,
459
+ "notNull": false
460
+ },
461
+ "softwareStatement": {
462
+ "name": "softwareStatement",
463
+ "type": "text",
464
+ "primaryKey": false,
465
+ "notNull": false
466
+ },
467
+ "redirectUris": {
468
+ "name": "redirectUris",
469
+ "type": "text",
470
+ "primaryKey": false,
471
+ "notNull": true
472
+ },
473
+ "postLogoutRedirectUris": {
474
+ "name": "postLogoutRedirectUris",
475
+ "type": "text",
476
+ "primaryKey": false,
477
+ "notNull": false
478
+ },
479
+ "tokenEndpointAuthMethod": {
480
+ "name": "tokenEndpointAuthMethod",
481
+ "type": "text",
482
+ "primaryKey": false,
483
+ "notNull": false
484
+ },
485
+ "grantTypes": {
486
+ "name": "grantTypes",
487
+ "type": "text",
488
+ "primaryKey": false,
489
+ "notNull": false
490
+ },
491
+ "responseTypes": {
492
+ "name": "responseTypes",
493
+ "type": "text",
494
+ "primaryKey": false,
495
+ "notNull": false
496
+ },
497
+ "public": {
498
+ "name": "public",
499
+ "type": "boolean",
500
+ "primaryKey": false,
501
+ "notNull": false
502
+ },
503
+ "type": {
504
+ "name": "type",
505
+ "type": "text",
506
+ "primaryKey": false,
507
+ "notNull": false
508
+ },
509
+ "referenceId": {
510
+ "name": "referenceId",
511
+ "type": "text",
512
+ "primaryKey": false,
513
+ "notNull": false
514
+ },
515
+ "metadata": {
516
+ "name": "metadata",
517
+ "type": "text",
518
+ "primaryKey": false,
519
+ "notNull": false
520
+ }
521
+ },
522
+ "indexes": {
523
+ "oauth_application_user_id_idx": {
524
+ "name": "oauth_application_user_id_idx",
525
+ "columns": [
526
+ {
527
+ "expression": "userId",
528
+ "isExpression": false,
529
+ "asc": true,
530
+ "nulls": "last"
531
+ }
532
+ ],
533
+ "isUnique": false,
534
+ "concurrently": false,
535
+ "method": "btree",
536
+ "with": {}
537
+ }
538
+ },
539
+ "foreignKeys": {
540
+ "oauthApplication_userId_user_id_fk": {
541
+ "name": "oauthApplication_userId_user_id_fk",
542
+ "tableFrom": "oauthApplication",
543
+ "tableTo": "user",
544
+ "columnsFrom": [
545
+ "userId"
546
+ ],
547
+ "columnsTo": [
548
+ "id"
549
+ ],
550
+ "onDelete": "cascade",
551
+ "onUpdate": "no action"
552
+ }
553
+ },
554
+ "compositePrimaryKeys": {},
555
+ "uniqueConstraints": {
556
+ "oauthApplication_clientId_unique": {
557
+ "name": "oauthApplication_clientId_unique",
558
+ "nullsNotDistinct": false,
559
+ "columns": [
560
+ "clientId"
561
+ ]
562
+ }
563
+ },
564
+ "policies": {},
565
+ "checkConstraints": {},
566
+ "isRLSEnabled": false
567
+ },
568
+ "public.oauthConsent": {
569
+ "name": "oauthConsent",
570
+ "schema": "",
571
+ "columns": {
572
+ "id": {
573
+ "name": "id",
574
+ "type": "text",
575
+ "primaryKey": true,
576
+ "notNull": true
577
+ },
578
+ "clientId": {
579
+ "name": "clientId",
580
+ "type": "text",
581
+ "primaryKey": false,
582
+ "notNull": true
583
+ },
584
+ "userId": {
585
+ "name": "userId",
586
+ "type": "text",
587
+ "primaryKey": false,
588
+ "notNull": false
589
+ },
590
+ "referenceId": {
591
+ "name": "referenceId",
592
+ "type": "text",
593
+ "primaryKey": false,
594
+ "notNull": false
595
+ },
596
+ "scopes": {
597
+ "name": "scopes",
598
+ "type": "text",
599
+ "primaryKey": false,
600
+ "notNull": true
601
+ },
602
+ "createdAt": {
603
+ "name": "createdAt",
604
+ "type": "timestamp",
605
+ "primaryKey": false,
606
+ "notNull": true,
607
+ "default": "now()"
608
+ },
609
+ "updatedAt": {
610
+ "name": "updatedAt",
611
+ "type": "timestamp",
612
+ "primaryKey": false,
613
+ "notNull": true,
614
+ "default": "now()"
615
+ }
616
+ },
617
+ "indexes": {
618
+ "oauth_consent_client_id_idx": {
619
+ "name": "oauth_consent_client_id_idx",
620
+ "columns": [
621
+ {
622
+ "expression": "clientId",
623
+ "isExpression": false,
624
+ "asc": true,
625
+ "nulls": "last"
626
+ }
627
+ ],
628
+ "isUnique": false,
629
+ "concurrently": false,
630
+ "method": "btree",
631
+ "with": {}
632
+ },
633
+ "oauth_consent_user_id_idx": {
634
+ "name": "oauth_consent_user_id_idx",
635
+ "columns": [
636
+ {
637
+ "expression": "userId",
638
+ "isExpression": false,
639
+ "asc": true,
640
+ "nulls": "last"
641
+ }
642
+ ],
643
+ "isUnique": false,
644
+ "concurrently": false,
645
+ "method": "btree",
646
+ "with": {}
647
+ }
648
+ },
649
+ "foreignKeys": {
650
+ "oauthConsent_clientId_oauthApplication_clientId_fk": {
651
+ "name": "oauthConsent_clientId_oauthApplication_clientId_fk",
652
+ "tableFrom": "oauthConsent",
653
+ "tableTo": "oauthApplication",
654
+ "columnsFrom": [
655
+ "clientId"
656
+ ],
657
+ "columnsTo": [
658
+ "clientId"
659
+ ],
660
+ "onDelete": "cascade",
661
+ "onUpdate": "no action"
662
+ },
663
+ "oauthConsent_userId_user_id_fk": {
664
+ "name": "oauthConsent_userId_user_id_fk",
665
+ "tableFrom": "oauthConsent",
666
+ "tableTo": "user",
667
+ "columnsFrom": [
668
+ "userId"
669
+ ],
670
+ "columnsTo": [
671
+ "id"
672
+ ],
673
+ "onDelete": "cascade",
674
+ "onUpdate": "no action"
675
+ }
676
+ },
677
+ "compositePrimaryKeys": {},
678
+ "uniqueConstraints": {},
679
+ "policies": {},
680
+ "checkConstraints": {},
681
+ "isRLSEnabled": false
682
+ },
683
+ "public.oauthRefreshToken": {
684
+ "name": "oauthRefreshToken",
685
+ "schema": "",
686
+ "columns": {
687
+ "id": {
688
+ "name": "id",
689
+ "type": "text",
690
+ "primaryKey": true,
691
+ "notNull": true
692
+ },
693
+ "token": {
694
+ "name": "token",
695
+ "type": "text",
696
+ "primaryKey": false,
697
+ "notNull": true
698
+ },
699
+ "clientId": {
700
+ "name": "clientId",
701
+ "type": "text",
702
+ "primaryKey": false,
703
+ "notNull": true
704
+ },
705
+ "sessionId": {
706
+ "name": "sessionId",
707
+ "type": "text",
708
+ "primaryKey": false,
709
+ "notNull": false
710
+ },
711
+ "userId": {
712
+ "name": "userId",
713
+ "type": "text",
714
+ "primaryKey": false,
715
+ "notNull": true
716
+ },
717
+ "referenceId": {
718
+ "name": "referenceId",
719
+ "type": "text",
720
+ "primaryKey": false,
721
+ "notNull": false
722
+ },
723
+ "expiresAt": {
724
+ "name": "expiresAt",
725
+ "type": "timestamp",
726
+ "primaryKey": false,
727
+ "notNull": false
728
+ },
729
+ "createdAt": {
730
+ "name": "createdAt",
731
+ "type": "timestamp",
732
+ "primaryKey": false,
733
+ "notNull": true,
734
+ "default": "now()"
735
+ },
736
+ "revoked": {
737
+ "name": "revoked",
738
+ "type": "timestamp",
739
+ "primaryKey": false,
740
+ "notNull": false
741
+ },
742
+ "scopes": {
743
+ "name": "scopes",
744
+ "type": "text",
745
+ "primaryKey": false,
746
+ "notNull": true
747
+ }
748
+ },
749
+ "indexes": {
750
+ "oauth_refresh_token_client_id_idx": {
751
+ "name": "oauth_refresh_token_client_id_idx",
752
+ "columns": [
753
+ {
754
+ "expression": "clientId",
755
+ "isExpression": false,
756
+ "asc": true,
757
+ "nulls": "last"
758
+ }
759
+ ],
760
+ "isUnique": false,
761
+ "concurrently": false,
762
+ "method": "btree",
763
+ "with": {}
764
+ },
765
+ "oauth_refresh_token_user_id_idx": {
766
+ "name": "oauth_refresh_token_user_id_idx",
767
+ "columns": [
768
+ {
769
+ "expression": "userId",
770
+ "isExpression": false,
771
+ "asc": true,
772
+ "nulls": "last"
773
+ }
774
+ ],
775
+ "isUnique": false,
776
+ "concurrently": false,
777
+ "method": "btree",
778
+ "with": {}
779
+ },
780
+ "oauth_refresh_token_session_id_idx": {
781
+ "name": "oauth_refresh_token_session_id_idx",
782
+ "columns": [
783
+ {
784
+ "expression": "sessionId",
785
+ "isExpression": false,
786
+ "asc": true,
787
+ "nulls": "last"
788
+ }
789
+ ],
790
+ "isUnique": false,
791
+ "concurrently": false,
792
+ "method": "btree",
793
+ "with": {}
794
+ }
795
+ },
796
+ "foreignKeys": {
797
+ "oauthRefreshToken_clientId_oauthApplication_clientId_fk": {
798
+ "name": "oauthRefreshToken_clientId_oauthApplication_clientId_fk",
799
+ "tableFrom": "oauthRefreshToken",
800
+ "tableTo": "oauthApplication",
801
+ "columnsFrom": [
802
+ "clientId"
803
+ ],
804
+ "columnsTo": [
805
+ "clientId"
806
+ ],
807
+ "onDelete": "cascade",
808
+ "onUpdate": "no action"
809
+ },
810
+ "oauthRefreshToken_sessionId_session_id_fk": {
811
+ "name": "oauthRefreshToken_sessionId_session_id_fk",
812
+ "tableFrom": "oauthRefreshToken",
813
+ "tableTo": "session",
814
+ "columnsFrom": [
815
+ "sessionId"
816
+ ],
817
+ "columnsTo": [
818
+ "id"
819
+ ],
820
+ "onDelete": "set null",
821
+ "onUpdate": "no action"
822
+ },
823
+ "oauthRefreshToken_userId_user_id_fk": {
824
+ "name": "oauthRefreshToken_userId_user_id_fk",
825
+ "tableFrom": "oauthRefreshToken",
826
+ "tableTo": "user",
827
+ "columnsFrom": [
828
+ "userId"
829
+ ],
830
+ "columnsTo": [
831
+ "id"
832
+ ],
833
+ "onDelete": "cascade",
834
+ "onUpdate": "no action"
835
+ }
836
+ },
837
+ "compositePrimaryKeys": {},
838
+ "uniqueConstraints": {
839
+ "oauthRefreshToken_token_unique": {
840
+ "name": "oauthRefreshToken_token_unique",
841
+ "nullsNotDistinct": false,
842
+ "columns": [
843
+ "token"
844
+ ]
845
+ }
846
+ },
847
+ "policies": {},
848
+ "checkConstraints": {},
849
+ "isRLSEnabled": false
850
+ },
851
+ "public.session": {
852
+ "name": "session",
853
+ "schema": "",
854
+ "columns": {
855
+ "id": {
856
+ "name": "id",
857
+ "type": "text",
858
+ "primaryKey": true,
859
+ "notNull": true
860
+ },
861
+ "userId": {
862
+ "name": "userId",
863
+ "type": "text",
864
+ "primaryKey": false,
865
+ "notNull": true
866
+ },
867
+ "token": {
868
+ "name": "token",
869
+ "type": "text",
870
+ "primaryKey": false,
871
+ "notNull": true
872
+ },
873
+ "expiresAt": {
874
+ "name": "expiresAt",
875
+ "type": "timestamp",
876
+ "primaryKey": false,
877
+ "notNull": true
878
+ },
879
+ "ipAddress": {
880
+ "name": "ipAddress",
881
+ "type": "text",
882
+ "primaryKey": false,
883
+ "notNull": false
884
+ },
885
+ "userAgent": {
886
+ "name": "userAgent",
887
+ "type": "text",
888
+ "primaryKey": false,
889
+ "notNull": false
890
+ },
891
+ "createdAt": {
892
+ "name": "createdAt",
893
+ "type": "timestamp",
894
+ "primaryKey": false,
895
+ "notNull": true,
896
+ "default": "now()"
897
+ },
898
+ "updatedAt": {
899
+ "name": "updatedAt",
900
+ "type": "timestamp",
901
+ "primaryKey": false,
902
+ "notNull": true,
903
+ "default": "now()"
904
+ }
905
+ },
906
+ "indexes": {},
907
+ "foreignKeys": {
908
+ "session_userId_user_id_fk": {
909
+ "name": "session_userId_user_id_fk",
910
+ "tableFrom": "session",
911
+ "tableTo": "user",
912
+ "columnsFrom": [
913
+ "userId"
914
+ ],
915
+ "columnsTo": [
916
+ "id"
917
+ ],
918
+ "onDelete": "cascade",
919
+ "onUpdate": "no action"
920
+ }
921
+ },
922
+ "compositePrimaryKeys": {},
923
+ "uniqueConstraints": {
924
+ "session_token_unique": {
925
+ "name": "session_token_unique",
926
+ "nullsNotDistinct": false,
927
+ "columns": [
928
+ "token"
929
+ ]
930
+ }
931
+ },
932
+ "policies": {},
933
+ "checkConstraints": {},
934
+ "isRLSEnabled": false
935
+ },
936
+ "public.user": {
937
+ "name": "user",
938
+ "schema": "",
939
+ "columns": {
940
+ "id": {
941
+ "name": "id",
942
+ "type": "text",
943
+ "primaryKey": true,
944
+ "notNull": true
945
+ },
946
+ "name": {
947
+ "name": "name",
948
+ "type": "text",
949
+ "primaryKey": false,
950
+ "notNull": false
951
+ },
952
+ "email": {
953
+ "name": "email",
954
+ "type": "text",
955
+ "primaryKey": false,
956
+ "notNull": true
957
+ },
958
+ "emailVerified": {
959
+ "name": "emailVerified",
960
+ "type": "boolean",
961
+ "primaryKey": false,
962
+ "notNull": true,
963
+ "default": false
964
+ },
965
+ "image": {
966
+ "name": "image",
967
+ "type": "text",
968
+ "primaryKey": false,
969
+ "notNull": false
970
+ },
971
+ "createdAt": {
972
+ "name": "createdAt",
973
+ "type": "timestamp",
974
+ "primaryKey": false,
975
+ "notNull": true,
976
+ "default": "now()"
977
+ },
978
+ "updatedAt": {
979
+ "name": "updatedAt",
980
+ "type": "timestamp",
981
+ "primaryKey": false,
982
+ "notNull": true,
983
+ "default": "now()"
984
+ }
985
+ },
986
+ "indexes": {},
987
+ "foreignKeys": {},
988
+ "compositePrimaryKeys": {},
989
+ "uniqueConstraints": {
990
+ "user_email_unique": {
991
+ "name": "user_email_unique",
992
+ "nullsNotDistinct": false,
993
+ "columns": [
994
+ "email"
995
+ ]
996
+ }
997
+ },
998
+ "policies": {},
999
+ "checkConstraints": {},
1000
+ "isRLSEnabled": false
1001
+ },
1002
+ "public.verification": {
1003
+ "name": "verification",
1004
+ "schema": "",
1005
+ "columns": {
1006
+ "id": {
1007
+ "name": "id",
1008
+ "type": "text",
1009
+ "primaryKey": true,
1010
+ "notNull": true
1011
+ },
1012
+ "identifier": {
1013
+ "name": "identifier",
1014
+ "type": "text",
1015
+ "primaryKey": false,
1016
+ "notNull": true
1017
+ },
1018
+ "value": {
1019
+ "name": "value",
1020
+ "type": "text",
1021
+ "primaryKey": false,
1022
+ "notNull": true
1023
+ },
1024
+ "expiresAt": {
1025
+ "name": "expiresAt",
1026
+ "type": "timestamp",
1027
+ "primaryKey": false,
1028
+ "notNull": true
1029
+ },
1030
+ "createdAt": {
1031
+ "name": "createdAt",
1032
+ "type": "timestamp",
1033
+ "primaryKey": false,
1034
+ "notNull": true,
1035
+ "default": "now()"
1036
+ },
1037
+ "updatedAt": {
1038
+ "name": "updatedAt",
1039
+ "type": "timestamp",
1040
+ "primaryKey": false,
1041
+ "notNull": true,
1042
+ "default": "now()"
1043
+ }
1044
+ },
1045
+ "indexes": {},
1046
+ "foreignKeys": {},
1047
+ "compositePrimaryKeys": {},
1048
+ "uniqueConstraints": {},
1049
+ "policies": {},
1050
+ "checkConstraints": {},
1051
+ "isRLSEnabled": false
1052
+ },
1053
+ "public.workspaces": {
1054
+ "name": "workspaces",
1055
+ "schema": "",
1056
+ "columns": {
1057
+ "id": {
1058
+ "name": "id",
1059
+ "type": "serial",
1060
+ "primaryKey": true,
1061
+ "notNull": true
1062
+ },
1063
+ "slug": {
1064
+ "name": "slug",
1065
+ "type": "text",
1066
+ "primaryKey": false,
1067
+ "notNull": true
1068
+ },
1069
+ "name": {
1070
+ "name": "name",
1071
+ "type": "text",
1072
+ "primaryKey": false,
1073
+ "notNull": true
1074
+ },
1075
+ "created_by_user_id": {
1076
+ "name": "created_by_user_id",
1077
+ "type": "text",
1078
+ "primaryKey": false,
1079
+ "notNull": true
1080
+ },
1081
+ "created_at": {
1082
+ "name": "created_at",
1083
+ "type": "timestamp",
1084
+ "primaryKey": false,
1085
+ "notNull": true,
1086
+ "default": "now()"
1087
+ },
1088
+ "updated_at": {
1089
+ "name": "updated_at",
1090
+ "type": "timestamp",
1091
+ "primaryKey": false,
1092
+ "notNull": true,
1093
+ "default": "now()"
1094
+ }
1095
+ },
1096
+ "indexes": {
1097
+ "workspaces_slug_idx": {
1098
+ "name": "workspaces_slug_idx",
1099
+ "columns": [
1100
+ {
1101
+ "expression": "slug",
1102
+ "isExpression": false,
1103
+ "asc": true,
1104
+ "nulls": "last"
1105
+ }
1106
+ ],
1107
+ "isUnique": true,
1108
+ "concurrently": false,
1109
+ "method": "btree",
1110
+ "with": {}
1111
+ },
1112
+ "workspaces_owner_idx": {
1113
+ "name": "workspaces_owner_idx",
1114
+ "columns": [
1115
+ {
1116
+ "expression": "created_by_user_id",
1117
+ "isExpression": false,
1118
+ "asc": true,
1119
+ "nulls": "last"
1120
+ }
1121
+ ],
1122
+ "isUnique": false,
1123
+ "concurrently": false,
1124
+ "method": "btree",
1125
+ "with": {}
1126
+ }
1127
+ },
1128
+ "foreignKeys": {
1129
+ "workspaces_created_by_user_id_user_id_fk": {
1130
+ "name": "workspaces_created_by_user_id_user_id_fk",
1131
+ "tableFrom": "workspaces",
1132
+ "tableTo": "user",
1133
+ "columnsFrom": [
1134
+ "created_by_user_id"
1135
+ ],
1136
+ "columnsTo": [
1137
+ "id"
1138
+ ],
1139
+ "onDelete": "no action",
1140
+ "onUpdate": "no action"
1141
+ }
1142
+ },
1143
+ "compositePrimaryKeys": {},
1144
+ "uniqueConstraints": {},
1145
+ "policies": {},
1146
+ "checkConstraints": {},
1147
+ "isRLSEnabled": false
1148
+ },
1149
+ "public.folders": {
1150
+ "name": "folders",
1151
+ "schema": "",
1152
+ "columns": {
1153
+ "id": {
1154
+ "name": "id",
1155
+ "type": "serial",
1156
+ "primaryKey": true,
1157
+ "notNull": true
1158
+ },
1159
+ "public_id": {
1160
+ "name": "public_id",
1161
+ "type": "text",
1162
+ "primaryKey": false,
1163
+ "notNull": true
1164
+ },
1165
+ "workspace_id": {
1166
+ "name": "workspace_id",
1167
+ "type": "integer",
1168
+ "primaryKey": false,
1169
+ "notNull": true
1170
+ },
1171
+ "parent_id": {
1172
+ "name": "parent_id",
1173
+ "type": "integer",
1174
+ "primaryKey": false,
1175
+ "notNull": false
1176
+ },
1177
+ "name": {
1178
+ "name": "name",
1179
+ "type": "text",
1180
+ "primaryKey": false,
1181
+ "notNull": true
1182
+ },
1183
+ "display_name": {
1184
+ "name": "display_name",
1185
+ "type": "text",
1186
+ "primaryKey": false,
1187
+ "notNull": true
1188
+ },
1189
+ "created_at": {
1190
+ "name": "created_at",
1191
+ "type": "timestamp",
1192
+ "primaryKey": false,
1193
+ "notNull": true,
1194
+ "default": "now()"
1195
+ },
1196
+ "updated_at": {
1197
+ "name": "updated_at",
1198
+ "type": "timestamp",
1199
+ "primaryKey": false,
1200
+ "notNull": true,
1201
+ "default": "now()"
1202
+ }
1203
+ },
1204
+ "indexes": {
1205
+ "folders_public_id_idx": {
1206
+ "name": "folders_public_id_idx",
1207
+ "columns": [
1208
+ {
1209
+ "expression": "public_id",
1210
+ "isExpression": false,
1211
+ "asc": true,
1212
+ "nulls": "last"
1213
+ }
1214
+ ],
1215
+ "isUnique": false,
1216
+ "concurrently": false,
1217
+ "method": "btree",
1218
+ "with": {}
1219
+ },
1220
+ "folders_workspace_parent_idx": {
1221
+ "name": "folders_workspace_parent_idx",
1222
+ "columns": [
1223
+ {
1224
+ "expression": "workspace_id",
1225
+ "isExpression": false,
1226
+ "asc": true,
1227
+ "nulls": "last"
1228
+ },
1229
+ {
1230
+ "expression": "parent_id",
1231
+ "isExpression": false,
1232
+ "asc": true,
1233
+ "nulls": "last"
1234
+ }
1235
+ ],
1236
+ "isUnique": false,
1237
+ "concurrently": false,
1238
+ "method": "btree",
1239
+ "with": {}
1240
+ }
1241
+ },
1242
+ "foreignKeys": {
1243
+ "folders_workspace_id_workspaces_id_fk": {
1244
+ "name": "folders_workspace_id_workspaces_id_fk",
1245
+ "tableFrom": "folders",
1246
+ "tableTo": "workspaces",
1247
+ "columnsFrom": [
1248
+ "workspace_id"
1249
+ ],
1250
+ "columnsTo": [
1251
+ "id"
1252
+ ],
1253
+ "onDelete": "no action",
1254
+ "onUpdate": "no action"
1255
+ },
1256
+ "folders_parent_id_folders_id_fk": {
1257
+ "name": "folders_parent_id_folders_id_fk",
1258
+ "tableFrom": "folders",
1259
+ "tableTo": "folders",
1260
+ "columnsFrom": [
1261
+ "parent_id"
1262
+ ],
1263
+ "columnsTo": [
1264
+ "id"
1265
+ ],
1266
+ "onDelete": "no action",
1267
+ "onUpdate": "no action"
1268
+ }
1269
+ },
1270
+ "compositePrimaryKeys": {},
1271
+ "uniqueConstraints": {
1272
+ "folders_public_id_unique": {
1273
+ "name": "folders_public_id_unique",
1274
+ "nullsNotDistinct": false,
1275
+ "columns": [
1276
+ "public_id"
1277
+ ]
1278
+ }
1279
+ },
1280
+ "policies": {},
1281
+ "checkConstraints": {},
1282
+ "isRLSEnabled": false
1283
+ },
1284
+ "public.notes": {
1285
+ "name": "notes",
1286
+ "schema": "",
1287
+ "columns": {
1288
+ "id": {
1289
+ "name": "id",
1290
+ "type": "serial",
1291
+ "primaryKey": true,
1292
+ "notNull": true
1293
+ },
1294
+ "public_id": {
1295
+ "name": "public_id",
1296
+ "type": "text",
1297
+ "primaryKey": false,
1298
+ "notNull": true
1299
+ },
1300
+ "workspace_id": {
1301
+ "name": "workspace_id",
1302
+ "type": "integer",
1303
+ "primaryKey": false,
1304
+ "notNull": true
1305
+ },
1306
+ "folder_id": {
1307
+ "name": "folder_id",
1308
+ "type": "integer",
1309
+ "primaryKey": false,
1310
+ "notNull": false
1311
+ },
1312
+ "name": {
1313
+ "name": "name",
1314
+ "type": "text",
1315
+ "primaryKey": false,
1316
+ "notNull": true
1317
+ },
1318
+ "title": {
1319
+ "name": "title",
1320
+ "type": "text",
1321
+ "primaryKey": false,
1322
+ "notNull": true
1323
+ },
1324
+ "content": {
1325
+ "name": "content",
1326
+ "type": "text",
1327
+ "primaryKey": false,
1328
+ "notNull": true
1329
+ },
1330
+ "created_at": {
1331
+ "name": "created_at",
1332
+ "type": "timestamp",
1333
+ "primaryKey": false,
1334
+ "notNull": true,
1335
+ "default": "now()"
1336
+ },
1337
+ "updated_at": {
1338
+ "name": "updated_at",
1339
+ "type": "timestamp",
1340
+ "primaryKey": false,
1341
+ "notNull": true,
1342
+ "default": "now()"
1343
+ }
1344
+ },
1345
+ "indexes": {
1346
+ "notes_public_id_idx": {
1347
+ "name": "notes_public_id_idx",
1348
+ "columns": [
1349
+ {
1350
+ "expression": "public_id",
1351
+ "isExpression": false,
1352
+ "asc": true,
1353
+ "nulls": "last"
1354
+ }
1355
+ ],
1356
+ "isUnique": false,
1357
+ "concurrently": false,
1358
+ "method": "btree",
1359
+ "with": {}
1360
+ },
1361
+ "notes_workspace_folder_idx": {
1362
+ "name": "notes_workspace_folder_idx",
1363
+ "columns": [
1364
+ {
1365
+ "expression": "workspace_id",
1366
+ "isExpression": false,
1367
+ "asc": true,
1368
+ "nulls": "last"
1369
+ },
1370
+ {
1371
+ "expression": "folder_id",
1372
+ "isExpression": false,
1373
+ "asc": true,
1374
+ "nulls": "last"
1375
+ }
1376
+ ],
1377
+ "isUnique": false,
1378
+ "concurrently": false,
1379
+ "method": "btree",
1380
+ "with": {}
1381
+ },
1382
+ "notes_workspace_updated_idx": {
1383
+ "name": "notes_workspace_updated_idx",
1384
+ "columns": [
1385
+ {
1386
+ "expression": "workspace_id",
1387
+ "isExpression": false,
1388
+ "asc": true,
1389
+ "nulls": "last"
1390
+ },
1391
+ {
1392
+ "expression": "updated_at",
1393
+ "isExpression": false,
1394
+ "asc": true,
1395
+ "nulls": "last"
1396
+ }
1397
+ ],
1398
+ "isUnique": false,
1399
+ "concurrently": false,
1400
+ "method": "btree",
1401
+ "with": {}
1402
+ }
1403
+ },
1404
+ "foreignKeys": {
1405
+ "notes_workspace_id_workspaces_id_fk": {
1406
+ "name": "notes_workspace_id_workspaces_id_fk",
1407
+ "tableFrom": "notes",
1408
+ "tableTo": "workspaces",
1409
+ "columnsFrom": [
1410
+ "workspace_id"
1411
+ ],
1412
+ "columnsTo": [
1413
+ "id"
1414
+ ],
1415
+ "onDelete": "no action",
1416
+ "onUpdate": "no action"
1417
+ },
1418
+ "notes_folder_id_folders_id_fk": {
1419
+ "name": "notes_folder_id_folders_id_fk",
1420
+ "tableFrom": "notes",
1421
+ "tableTo": "folders",
1422
+ "columnsFrom": [
1423
+ "folder_id"
1424
+ ],
1425
+ "columnsTo": [
1426
+ "id"
1427
+ ],
1428
+ "onDelete": "no action",
1429
+ "onUpdate": "no action"
1430
+ }
1431
+ },
1432
+ "compositePrimaryKeys": {},
1433
+ "uniqueConstraints": {
1434
+ "notes_public_id_unique": {
1435
+ "name": "notes_public_id_unique",
1436
+ "nullsNotDistinct": false,
1437
+ "columns": [
1438
+ "public_id"
1439
+ ]
1440
+ }
1441
+ },
1442
+ "policies": {},
1443
+ "checkConstraints": {},
1444
+ "isRLSEnabled": false
1445
+ },
1446
+ "public.revisions": {
1447
+ "name": "revisions",
1448
+ "schema": "",
1449
+ "columns": {
1450
+ "id": {
1451
+ "name": "id",
1452
+ "type": "serial",
1453
+ "primaryKey": true,
1454
+ "notNull": true
1455
+ },
1456
+ "workspace_id": {
1457
+ "name": "workspace_id",
1458
+ "type": "integer",
1459
+ "primaryKey": false,
1460
+ "notNull": true
1461
+ },
1462
+ "note_id": {
1463
+ "name": "note_id",
1464
+ "type": "integer",
1465
+ "primaryKey": false,
1466
+ "notNull": true
1467
+ },
1468
+ "author_user_id": {
1469
+ "name": "author_user_id",
1470
+ "type": "text",
1471
+ "primaryKey": false,
1472
+ "notNull": true
1473
+ },
1474
+ "content": {
1475
+ "name": "content",
1476
+ "type": "text",
1477
+ "primaryKey": false,
1478
+ "notNull": true
1479
+ },
1480
+ "created_at": {
1481
+ "name": "created_at",
1482
+ "type": "timestamp",
1483
+ "primaryKey": false,
1484
+ "notNull": true,
1485
+ "default": "now()"
1486
+ }
1487
+ },
1488
+ "indexes": {
1489
+ "revisions_note_created_idx": {
1490
+ "name": "revisions_note_created_idx",
1491
+ "columns": [
1492
+ {
1493
+ "expression": "note_id",
1494
+ "isExpression": false,
1495
+ "asc": true,
1496
+ "nulls": "last"
1497
+ },
1498
+ {
1499
+ "expression": "created_at",
1500
+ "isExpression": false,
1501
+ "asc": true,
1502
+ "nulls": "last"
1503
+ }
1504
+ ],
1505
+ "isUnique": false,
1506
+ "concurrently": false,
1507
+ "method": "btree",
1508
+ "with": {}
1509
+ }
1510
+ },
1511
+ "foreignKeys": {
1512
+ "revisions_workspace_id_workspaces_id_fk": {
1513
+ "name": "revisions_workspace_id_workspaces_id_fk",
1514
+ "tableFrom": "revisions",
1515
+ "tableTo": "workspaces",
1516
+ "columnsFrom": [
1517
+ "workspace_id"
1518
+ ],
1519
+ "columnsTo": [
1520
+ "id"
1521
+ ],
1522
+ "onDelete": "no action",
1523
+ "onUpdate": "no action"
1524
+ },
1525
+ "revisions_note_id_notes_id_fk": {
1526
+ "name": "revisions_note_id_notes_id_fk",
1527
+ "tableFrom": "revisions",
1528
+ "tableTo": "notes",
1529
+ "columnsFrom": [
1530
+ "note_id"
1531
+ ],
1532
+ "columnsTo": [
1533
+ "id"
1534
+ ],
1535
+ "onDelete": "no action",
1536
+ "onUpdate": "no action"
1537
+ },
1538
+ "revisions_author_user_id_user_id_fk": {
1539
+ "name": "revisions_author_user_id_user_id_fk",
1540
+ "tableFrom": "revisions",
1541
+ "tableTo": "user",
1542
+ "columnsFrom": [
1543
+ "author_user_id"
1544
+ ],
1545
+ "columnsTo": [
1546
+ "id"
1547
+ ],
1548
+ "onDelete": "no action",
1549
+ "onUpdate": "no action"
1550
+ }
1551
+ },
1552
+ "compositePrimaryKeys": {},
1553
+ "uniqueConstraints": {},
1554
+ "policies": {},
1555
+ "checkConstraints": {},
1556
+ "isRLSEnabled": false
1557
+ },
1558
+ "public.note_line_blame": {
1559
+ "name": "note_line_blame",
1560
+ "schema": "",
1561
+ "columns": {
1562
+ "note_id": {
1563
+ "name": "note_id",
1564
+ "type": "integer",
1565
+ "primaryKey": false,
1566
+ "notNull": true
1567
+ },
1568
+ "line_number": {
1569
+ "name": "line_number",
1570
+ "type": "integer",
1571
+ "primaryKey": false,
1572
+ "notNull": true
1573
+ },
1574
+ "author_user_id": {
1575
+ "name": "author_user_id",
1576
+ "type": "text",
1577
+ "primaryKey": false,
1578
+ "notNull": true
1579
+ },
1580
+ "revision_id": {
1581
+ "name": "revision_id",
1582
+ "type": "integer",
1583
+ "primaryKey": false,
1584
+ "notNull": true
1585
+ },
1586
+ "touched_at": {
1587
+ "name": "touched_at",
1588
+ "type": "timestamp",
1589
+ "primaryKey": false,
1590
+ "notNull": true,
1591
+ "default": "now()"
1592
+ }
1593
+ },
1594
+ "indexes": {
1595
+ "note_line_blame_note_idx": {
1596
+ "name": "note_line_blame_note_idx",
1597
+ "columns": [
1598
+ {
1599
+ "expression": "note_id",
1600
+ "isExpression": false,
1601
+ "asc": true,
1602
+ "nulls": "last"
1603
+ }
1604
+ ],
1605
+ "isUnique": false,
1606
+ "concurrently": false,
1607
+ "method": "btree",
1608
+ "with": {}
1609
+ }
1610
+ },
1611
+ "foreignKeys": {
1612
+ "note_line_blame_note_id_notes_id_fk": {
1613
+ "name": "note_line_blame_note_id_notes_id_fk",
1614
+ "tableFrom": "note_line_blame",
1615
+ "tableTo": "notes",
1616
+ "columnsFrom": [
1617
+ "note_id"
1618
+ ],
1619
+ "columnsTo": [
1620
+ "id"
1621
+ ],
1622
+ "onDelete": "no action",
1623
+ "onUpdate": "no action"
1624
+ },
1625
+ "note_line_blame_author_user_id_user_id_fk": {
1626
+ "name": "note_line_blame_author_user_id_user_id_fk",
1627
+ "tableFrom": "note_line_blame",
1628
+ "tableTo": "user",
1629
+ "columnsFrom": [
1630
+ "author_user_id"
1631
+ ],
1632
+ "columnsTo": [
1633
+ "id"
1634
+ ],
1635
+ "onDelete": "no action",
1636
+ "onUpdate": "no action"
1637
+ },
1638
+ "note_line_blame_revision_id_revisions_id_fk": {
1639
+ "name": "note_line_blame_revision_id_revisions_id_fk",
1640
+ "tableFrom": "note_line_blame",
1641
+ "tableTo": "revisions",
1642
+ "columnsFrom": [
1643
+ "revision_id"
1644
+ ],
1645
+ "columnsTo": [
1646
+ "id"
1647
+ ],
1648
+ "onDelete": "no action",
1649
+ "onUpdate": "no action"
1650
+ }
1651
+ },
1652
+ "compositePrimaryKeys": {
1653
+ "note_line_blame_note_id_line_number_pk": {
1654
+ "name": "note_line_blame_note_id_line_number_pk",
1655
+ "columns": [
1656
+ "note_id",
1657
+ "line_number"
1658
+ ]
1659
+ }
1660
+ },
1661
+ "uniqueConstraints": {},
1662
+ "policies": {},
1663
+ "checkConstraints": {},
1664
+ "isRLSEnabled": false
1665
+ }
1666
+ },
1667
+ "enums": {},
1668
+ "schemas": {},
1669
+ "sequences": {},
1670
+ "roles": {},
1671
+ "policies": {},
1672
+ "views": {},
1673
+ "_meta": {
1674
+ "columns": {},
1675
+ "schemas": {},
1676
+ "tables": {}
1677
+ }
1678
+ }