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