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

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