@netsirk/hippocampe-linux-x64 0.0.0-stage → 0.7.0

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