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