@drfed/models 0.0.0-stage → 0.1.0-dev.554

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 (132) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +230 -2
  3. package/dist/activity-delivery.d.mts +111 -0
  4. package/dist/activity-delivery.d.mts.map +1 -0
  5. package/dist/activity-delivery.mjs +240 -0
  6. package/dist/activity-delivery.mjs.map +1 -0
  7. package/dist/db-DtcLuISw.d.mts +3098 -0
  8. package/dist/db-DtcLuISw.d.mts.map +1 -0
  9. package/dist/db.d.mts +2 -0
  10. package/dist/db.mjs +3 -0
  11. package/dist/email.d.mts +39 -0
  12. package/dist/email.d.mts.map +1 -0
  13. package/dist/email.mjs +12 -0
  14. package/dist/email.mjs.map +1 -0
  15. package/dist/index.d.mts +14 -0
  16. package/dist/index.mjs +18 -0
  17. package/dist/instance.d.mts +11 -0
  18. package/dist/instance.d.mts.map +1 -0
  19. package/dist/instance.mjs +21 -0
  20. package/dist/instance.mjs.map +1 -0
  21. package/dist/key.d.mts +2 -0
  22. package/dist/key.mjs +86 -0
  23. package/dist/key.mjs.map +1 -0
  24. package/dist/login.d.mts +49 -0
  25. package/dist/login.d.mts.map +1 -0
  26. package/dist/login.mjs +71 -0
  27. package/dist/login.mjs.map +1 -0
  28. package/dist/migrate.d.mts +46 -0
  29. package/dist/migrate.d.mts.map +1 -0
  30. package/dist/migrate.mjs +58 -0
  31. package/dist/migrate.mjs.map +1 -0
  32. package/dist/migration-manifest.d.mts +39 -0
  33. package/dist/migration-manifest.d.mts.map +1 -0
  34. package/dist/migration-manifest.mjs +77 -0
  35. package/dist/migration-manifest.mjs.map +1 -0
  36. package/dist/migration-session-B4xHeU_a.d.mts +56 -0
  37. package/dist/migration-session-B4xHeU_a.d.mts.map +1 -0
  38. package/dist/migration-session.d.mts +2 -0
  39. package/dist/migration-session.mjs +204 -0
  40. package/dist/migration-session.mjs.map +1 -0
  41. package/dist/migration-snapshot-OM5jQN1-.mjs +69 -0
  42. package/dist/migration-snapshot-OM5jQN1-.mjs.map +1 -0
  43. package/dist/migration-state.d.mts +41 -0
  44. package/dist/migration-state.d.mts.map +1 -0
  45. package/dist/migration-state.mjs +155 -0
  46. package/dist/migration-state.mjs.map +1 -0
  47. package/dist/migrations-manifest.json +109 -0
  48. package/dist/pglite-preparation.d.mts +23 -0
  49. package/dist/pglite-preparation.d.mts.map +1 -0
  50. package/dist/pglite-preparation.mjs +77 -0
  51. package/dist/pglite-preparation.mjs.map +1 -0
  52. package/dist/pglite-store.d.mts +29 -0
  53. package/dist/pglite-store.d.mts.map +1 -0
  54. package/dist/pglite-store.mjs +117 -0
  55. package/dist/pglite-store.mjs.map +1 -0
  56. package/dist/relations.d.mts +2 -0
  57. package/dist/relations.mjs +307 -0
  58. package/dist/relations.mjs.map +1 -0
  59. package/dist/resource.d.mts +50 -0
  60. package/dist/resource.d.mts.map +1 -0
  61. package/dist/resource.mjs +123 -0
  62. package/dist/resource.mjs.map +1 -0
  63. package/dist/rolldown-runtime-D7D4PA-g.mjs +13 -0
  64. package/dist/schema.d.mts +2 -0
  65. package/dist/schema.mjs +495 -0
  66. package/dist/schema.mjs.map +1 -0
  67. package/dist/slug.d.mts +28 -0
  68. package/dist/slug.d.mts.map +1 -0
  69. package/dist/slug.mjs +55 -0
  70. package/dist/slug.mjs.map +1 -0
  71. package/dist/text.d.mts +10 -0
  72. package/dist/text.d.mts.map +1 -0
  73. package/dist/text.mjs +11 -0
  74. package/dist/text.mjs.map +1 -0
  75. package/dist/uuid-CKMzlIND.d.mts +26 -0
  76. package/dist/uuid-CKMzlIND.d.mts.map +1 -0
  77. package/dist/uuid.d.mts +2 -0
  78. package/dist/uuid.mjs +28 -0
  79. package/dist/uuid.mjs.map +1 -0
  80. package/drizzle/20260622021748_init/migration.sql +25 -0
  81. package/drizzle/20260622021748_init/snapshot.json +246 -0
  82. package/drizzle/20260623162238_dear_felicia_hardy/migration.sql +5 -0
  83. package/drizzle/20260623162238_dear_felicia_hardy/snapshot.json +321 -0
  84. package/drizzle/20260624094817_lethal_sinister_six/migration.sql +2 -0
  85. package/drizzle/20260624094817_lethal_sinister_six/snapshot.json +347 -0
  86. package/drizzle/20260716000333_email_auth/migration.sql +20 -0
  87. package/drizzle/20260716000333_email_auth/snapshot.json +575 -0
  88. package/drizzle/20260723065002_chief_colleen_wing/migration.sql +2 -0
  89. package/drizzle/20260723065002_chief_colleen_wing/snapshot.json +595 -0
  90. package/drizzle/20260802205417_separate-instance-local-remote/migration.sql +26 -0
  91. package/drizzle/20260802205417_separate-instance-local-remote/snapshot.json +768 -0
  92. package/drizzle/20260804061119_instances-local-remote-constraint/migration.sql +7 -0
  93. package/drizzle/20260804061119_instances-local-remote-constraint/snapshot.json +843 -0
  94. package/drizzle/20260818080259_dark_night_thrasher/migration.sql +15 -0
  95. package/drizzle/20260818080259_dark_night_thrasher/snapshot.json +722 -0
  96. package/drizzle/20260821072150_merge_remote_actors/migration.sql +54 -0
  97. package/drizzle/20260821072150_merge_remote_actors/snapshot.json +1312 -0
  98. package/drizzle/20260906052949_rename_followees_to_following/migration.sql +2 -0
  99. package/drizzle/20260906052949_rename_followees_to_following/snapshot.json +1315 -0
  100. package/drizzle/20260908062446_rename_login_tokens_to_login_challenges/migration.sql +1 -0
  101. package/drizzle/20260908062446_rename_login_tokens_to_login_challenges/snapshot.json +1312 -0
  102. package/drizzle/20260908065945_simplify_login_challenges/migration.sql +7 -0
  103. package/drizzle/20260908065945_simplify_login_challenges/snapshot.json +1290 -0
  104. package/drizzle/20260915061356_tighten_slug_constraint/migration.sql +12 -0
  105. package/drizzle/20260915061356_tighten_slug_constraint/snapshot.json +1290 -0
  106. package/drizzle/20260915063339_widen_instance_host/migration.sql +1 -0
  107. package/drizzle/20260915063339_widen_instance_host/snapshot.json +1290 -0
  108. package/drizzle/20260916085902_add_objects_activities_and_resources/migration.sql +110 -0
  109. package/drizzle/20260916085902_add_objects_activities_and_resources/snapshot.json +2263 -0
  110. package/drizzle/20260917163517_order_local_outbox_items/migration.sql +22 -0
  111. package/drizzle/20260917163517_order_local_outbox_items/snapshot.json +2263 -0
  112. package/drizzle/20260918071839_add_activity_object_index/migration.sql +1 -0
  113. package/drizzle/20260918071839_add_activity_object_index/snapshot.json +2298 -0
  114. package/drizzle/20261006061745_add_activity_deliveries_and_keys/migration.sql +106 -0
  115. package/drizzle/20261006061745_add_activity_deliveries_and_keys/snapshot.json +3538 -0
  116. package/drizzle/20261006085045_snake_case_columns/migration.sql +42 -0
  117. package/drizzle/20261006085045_snake_case_columns/snapshot.json +3570 -0
  118. package/drizzle/20261006122653_local_actor_keys/migration.sql +11 -0
  119. package/drizzle/20261006122653_local_actor_keys/snapshot.json +3627 -0
  120. package/drizzle/20261010044954_link_activity_deliveries_to_activities/migration.sql +8 -0
  121. package/drizzle/20261010044954_link_activity_deliveries_to_activities/snapshot.json +3714 -0
  122. package/drizzle/20261010073134_check_inbound_activity_link/migration.sql +1 -0
  123. package/drizzle/20261010073134_check_inbound_activity_link/snapshot.json +3721 -0
  124. package/drizzle/20261010104304_record_object_activity/migration.sql +3 -0
  125. package/drizzle/20261010104304_record_object_activity/snapshot.json +3756 -0
  126. package/drizzle/20261010111648_record_delivery_snapshot/migration.sql +29 -0
  127. package/drizzle/20261010111648_record_delivery_snapshot/snapshot.json +3769 -0
  128. package/drizzle/20261011144453_record_object_snapshot/migration.sql +10 -0
  129. package/drizzle/20261011144453_record_object_snapshot/snapshot.json +3808 -0
  130. package/drizzle/20261011192718_record_actor_followers/migration.sql +1 -0
  131. package/drizzle/20261011192718_record_actor_followers/snapshot.json +3821 -0
  132. package/package.json +193 -3
@@ -0,0 +1,3627 @@
1
+ {
2
+ "version": "8",
3
+ "dialect": "postgres",
4
+ "id": "1dbf7e97-eced-481e-8b51-850cfa40c2f8",
5
+ "prevIds": ["7b4b4a36-eeea-4c8c-a48f-4e4928939348"],
6
+ "ddl": [
7
+ {
8
+ "values": ["inbound", "outbound"],
9
+ "name": "activity_delivery_direction",
10
+ "entityType": "enums",
11
+ "schema": "public"
12
+ },
13
+ {
14
+ "values": [
15
+ "received",
16
+ "acknowledged",
17
+ "unverified",
18
+ "rejected",
19
+ "queued",
20
+ "sent",
21
+ "failed",
22
+ "permanently_failed",
23
+ "abandoned"
24
+ ],
25
+ "name": "activity_delivery_status",
26
+ "entityType": "enums",
27
+ "schema": "public"
28
+ },
29
+ {
30
+ "values": ["http_signature", "ld_signature", "object_integrity_proof"],
31
+ "name": "activity_delivery_verification_mechanism",
32
+ "entityType": "enums",
33
+ "schema": "public"
34
+ },
35
+ {
36
+ "values": [
37
+ "verified",
38
+ "invalid_signature",
39
+ "key_fetch_error",
40
+ "no_signature",
41
+ "unattempted",
42
+ "unobserved"
43
+ ],
44
+ "name": "activity_delivery_verification_result",
45
+ "entityType": "enums",
46
+ "schema": "public"
47
+ },
48
+ {
49
+ "values": ["Create"],
50
+ "name": "activity_type",
51
+ "entityType": "enums",
52
+ "schema": "public"
53
+ },
54
+ {
55
+ "values": ["Application", "Group", "Organization", "Person", "Service"],
56
+ "name": "actor_type",
57
+ "entityType": "enums",
58
+ "schema": "public"
59
+ },
60
+ {
61
+ "values": ["to", "cc", "bto", "bcc", "audience"],
62
+ "name": "addressing_property",
63
+ "entityType": "enums",
64
+ "schema": "public"
65
+ },
66
+ {
67
+ "values": ["followers", "following", "featured", "outbox"],
68
+ "name": "collection_role",
69
+ "entityType": "enums",
70
+ "schema": "public"
71
+ },
72
+ {
73
+ "values": ["Collection", "OrderedCollection"],
74
+ "name": "collection_type",
75
+ "entityType": "enums",
76
+ "schema": "public"
77
+ },
78
+ {
79
+ "values": ["RSASSA-PKCS1-v1_5", "Ed25519"],
80
+ "name": "local_actor_key_type",
81
+ "entityType": "enums",
82
+ "schema": "public"
83
+ },
84
+ {
85
+ "values": ["Article", "Note"],
86
+ "name": "object_type",
87
+ "entityType": "enums",
88
+ "schema": "public"
89
+ },
90
+ {
91
+ "values": ["actor", "object", "activity", "collection", "unknown"],
92
+ "name": "resource_kind",
93
+ "entityType": "enums",
94
+ "schema": "public"
95
+ },
96
+ {
97
+ "isRlsEnabled": false,
98
+ "name": "accounts",
99
+ "entityType": "tables",
100
+ "schema": "public"
101
+ },
102
+ {
103
+ "isRlsEnabled": false,
104
+ "name": "activities",
105
+ "entityType": "tables",
106
+ "schema": "public"
107
+ },
108
+ {
109
+ "isRlsEnabled": false,
110
+ "name": "activity_deliveries",
111
+ "entityType": "tables",
112
+ "schema": "public"
113
+ },
114
+ {
115
+ "isRlsEnabled": false,
116
+ "name": "activity_delivery_actor_collections",
117
+ "entityType": "tables",
118
+ "schema": "public"
119
+ },
120
+ {
121
+ "isRlsEnabled": false,
122
+ "name": "activity_delivery_actors",
123
+ "entityType": "tables",
124
+ "schema": "public"
125
+ },
126
+ {
127
+ "isRlsEnabled": false,
128
+ "name": "activity_delivery_attempts",
129
+ "entityType": "tables",
130
+ "schema": "public"
131
+ },
132
+ {
133
+ "isRlsEnabled": false,
134
+ "name": "actor_collection_references",
135
+ "entityType": "tables",
136
+ "schema": "public"
137
+ },
138
+ {
139
+ "isRlsEnabled": false,
140
+ "name": "actors",
141
+ "entityType": "tables",
142
+ "schema": "public"
143
+ },
144
+ {
145
+ "isRlsEnabled": false,
146
+ "name": "addressing",
147
+ "entityType": "tables",
148
+ "schema": "public"
149
+ },
150
+ {
151
+ "isRlsEnabled": false,
152
+ "name": "collection_items",
153
+ "entityType": "tables",
154
+ "schema": "public"
155
+ },
156
+ {
157
+ "isRlsEnabled": false,
158
+ "name": "collections",
159
+ "entityType": "tables",
160
+ "schema": "public"
161
+ },
162
+ {
163
+ "isRlsEnabled": false,
164
+ "name": "instance_members",
165
+ "entityType": "tables",
166
+ "schema": "public"
167
+ },
168
+ {
169
+ "isRlsEnabled": false,
170
+ "name": "instances",
171
+ "entityType": "tables",
172
+ "schema": "public"
173
+ },
174
+ {
175
+ "isRlsEnabled": false,
176
+ "name": "key_versions",
177
+ "entityType": "tables",
178
+ "schema": "public"
179
+ },
180
+ {
181
+ "isRlsEnabled": false,
182
+ "name": "keys",
183
+ "entityType": "tables",
184
+ "schema": "public"
185
+ },
186
+ {
187
+ "isRlsEnabled": false,
188
+ "name": "local_actor_keys",
189
+ "entityType": "tables",
190
+ "schema": "public"
191
+ },
192
+ {
193
+ "isRlsEnabled": false,
194
+ "name": "local_actors",
195
+ "entityType": "tables",
196
+ "schema": "public"
197
+ },
198
+ {
199
+ "isRlsEnabled": false,
200
+ "name": "local_instances",
201
+ "entityType": "tables",
202
+ "schema": "public"
203
+ },
204
+ {
205
+ "isRlsEnabled": false,
206
+ "name": "login_challenges",
207
+ "entityType": "tables",
208
+ "schema": "public"
209
+ },
210
+ {
211
+ "isRlsEnabled": false,
212
+ "name": "objects",
213
+ "entityType": "tables",
214
+ "schema": "public"
215
+ },
216
+ {
217
+ "isRlsEnabled": false,
218
+ "name": "resources",
219
+ "entityType": "tables",
220
+ "schema": "public"
221
+ },
222
+ {
223
+ "isRlsEnabled": false,
224
+ "name": "sessions",
225
+ "entityType": "tables",
226
+ "schema": "public"
227
+ },
228
+ {
229
+ "type": "uuid",
230
+ "typeSchema": null,
231
+ "notNull": true,
232
+ "dimensions": 0,
233
+ "default": null,
234
+ "generated": null,
235
+ "identity": null,
236
+ "name": "id",
237
+ "entityType": "columns",
238
+ "schema": "public",
239
+ "table": "accounts"
240
+ },
241
+ {
242
+ "type": "varchar(255)",
243
+ "typeSchema": null,
244
+ "notNull": true,
245
+ "dimensions": 0,
246
+ "default": null,
247
+ "generated": null,
248
+ "identity": null,
249
+ "name": "email",
250
+ "entityType": "columns",
251
+ "schema": "public",
252
+ "table": "accounts"
253
+ },
254
+ {
255
+ "type": "varchar(100)",
256
+ "typeSchema": null,
257
+ "notNull": true,
258
+ "dimensions": 0,
259
+ "default": null,
260
+ "generated": null,
261
+ "identity": null,
262
+ "name": "name",
263
+ "entityType": "columns",
264
+ "schema": "public",
265
+ "table": "accounts"
266
+ },
267
+ {
268
+ "type": "integer",
269
+ "typeSchema": null,
270
+ "notNull": true,
271
+ "dimensions": 0,
272
+ "default": "10",
273
+ "generated": null,
274
+ "identity": null,
275
+ "name": "max_instances",
276
+ "entityType": "columns",
277
+ "schema": "public",
278
+ "table": "accounts"
279
+ },
280
+ {
281
+ "type": "boolean",
282
+ "typeSchema": null,
283
+ "notNull": true,
284
+ "dimensions": 0,
285
+ "default": "false",
286
+ "generated": null,
287
+ "identity": null,
288
+ "name": "admin",
289
+ "entityType": "columns",
290
+ "schema": "public",
291
+ "table": "accounts"
292
+ },
293
+ {
294
+ "type": "timestamp with time zone",
295
+ "typeSchema": null,
296
+ "notNull": true,
297
+ "dimensions": 0,
298
+ "default": "CURRENT_TIMESTAMP",
299
+ "generated": null,
300
+ "identity": null,
301
+ "name": "created",
302
+ "entityType": "columns",
303
+ "schema": "public",
304
+ "table": "accounts"
305
+ },
306
+ {
307
+ "type": "uuid",
308
+ "typeSchema": null,
309
+ "notNull": true,
310
+ "dimensions": 0,
311
+ "default": null,
312
+ "generated": null,
313
+ "identity": null,
314
+ "name": "id",
315
+ "entityType": "columns",
316
+ "schema": "public",
317
+ "table": "activities"
318
+ },
319
+ {
320
+ "type": "activity_type",
321
+ "typeSchema": "public",
322
+ "notNull": true,
323
+ "dimensions": 0,
324
+ "default": null,
325
+ "generated": null,
326
+ "identity": null,
327
+ "name": "type",
328
+ "entityType": "columns",
329
+ "schema": "public",
330
+ "table": "activities"
331
+ },
332
+ {
333
+ "type": "uuid",
334
+ "typeSchema": null,
335
+ "notNull": true,
336
+ "dimensions": 0,
337
+ "default": null,
338
+ "generated": null,
339
+ "identity": null,
340
+ "name": "actor_id",
341
+ "entityType": "columns",
342
+ "schema": "public",
343
+ "table": "activities"
344
+ },
345
+ {
346
+ "type": "uuid",
347
+ "typeSchema": null,
348
+ "notNull": false,
349
+ "dimensions": 0,
350
+ "default": null,
351
+ "generated": null,
352
+ "identity": null,
353
+ "name": "object_id",
354
+ "entityType": "columns",
355
+ "schema": "public",
356
+ "table": "activities"
357
+ },
358
+ {
359
+ "type": "timestamp with time zone",
360
+ "typeSchema": null,
361
+ "notNull": true,
362
+ "dimensions": 0,
363
+ "default": null,
364
+ "generated": null,
365
+ "identity": null,
366
+ "name": "published",
367
+ "entityType": "columns",
368
+ "schema": "public",
369
+ "table": "activities"
370
+ },
371
+ {
372
+ "type": "json",
373
+ "typeSchema": null,
374
+ "notNull": false,
375
+ "dimensions": 0,
376
+ "default": null,
377
+ "generated": null,
378
+ "identity": null,
379
+ "name": "document",
380
+ "entityType": "columns",
381
+ "schema": "public",
382
+ "table": "activities"
383
+ },
384
+ {
385
+ "type": "timestamp with time zone",
386
+ "typeSchema": null,
387
+ "notNull": true,
388
+ "dimensions": 0,
389
+ "default": "CURRENT_TIMESTAMP",
390
+ "generated": null,
391
+ "identity": null,
392
+ "name": "created",
393
+ "entityType": "columns",
394
+ "schema": "public",
395
+ "table": "activities"
396
+ },
397
+ {
398
+ "type": "uuid",
399
+ "typeSchema": null,
400
+ "notNull": true,
401
+ "dimensions": 0,
402
+ "default": null,
403
+ "generated": null,
404
+ "identity": null,
405
+ "name": "id",
406
+ "entityType": "columns",
407
+ "schema": "public",
408
+ "table": "activity_deliveries"
409
+ },
410
+ {
411
+ "type": "uuid",
412
+ "typeSchema": null,
413
+ "notNull": true,
414
+ "dimensions": 0,
415
+ "default": null,
416
+ "generated": null,
417
+ "identity": null,
418
+ "name": "instance_id",
419
+ "entityType": "columns",
420
+ "schema": "public",
421
+ "table": "activity_deliveries"
422
+ },
423
+ {
424
+ "type": "uuid",
425
+ "typeSchema": null,
426
+ "notNull": false,
427
+ "dimensions": 0,
428
+ "default": null,
429
+ "generated": null,
430
+ "identity": null,
431
+ "name": "actor_id",
432
+ "entityType": "columns",
433
+ "schema": "public",
434
+ "table": "activity_deliveries"
435
+ },
436
+ {
437
+ "type": "activity_delivery_direction",
438
+ "typeSchema": "public",
439
+ "notNull": true,
440
+ "dimensions": 0,
441
+ "default": null,
442
+ "generated": null,
443
+ "identity": null,
444
+ "name": "direction",
445
+ "entityType": "columns",
446
+ "schema": "public",
447
+ "table": "activity_deliveries"
448
+ },
449
+ {
450
+ "type": "activity_delivery_status",
451
+ "typeSchema": "public",
452
+ "notNull": true,
453
+ "dimensions": 0,
454
+ "default": null,
455
+ "generated": null,
456
+ "identity": null,
457
+ "name": "status",
458
+ "entityType": "columns",
459
+ "schema": "public",
460
+ "table": "activity_deliveries"
461
+ },
462
+ {
463
+ "type": "activity_delivery_verification_mechanism",
464
+ "typeSchema": "public",
465
+ "notNull": false,
466
+ "dimensions": 0,
467
+ "default": null,
468
+ "generated": null,
469
+ "identity": null,
470
+ "name": "verification_mechanism",
471
+ "entityType": "columns",
472
+ "schema": "public",
473
+ "table": "activity_deliveries"
474
+ },
475
+ {
476
+ "type": "activity_delivery_verification_result",
477
+ "typeSchema": "public",
478
+ "notNull": false,
479
+ "dimensions": 0,
480
+ "default": null,
481
+ "generated": null,
482
+ "identity": null,
483
+ "name": "verification_result",
484
+ "entityType": "columns",
485
+ "schema": "public",
486
+ "table": "activity_deliveries"
487
+ },
488
+ {
489
+ "type": "text",
490
+ "typeSchema": null,
491
+ "notNull": false,
492
+ "dimensions": 0,
493
+ "default": null,
494
+ "generated": null,
495
+ "identity": null,
496
+ "name": "type",
497
+ "entityType": "columns",
498
+ "schema": "public",
499
+ "table": "activity_deliveries"
500
+ },
501
+ {
502
+ "type": "text",
503
+ "typeSchema": null,
504
+ "notNull": true,
505
+ "dimensions": 1,
506
+ "default": "'{}'",
507
+ "generated": null,
508
+ "identity": null,
509
+ "name": "types",
510
+ "entityType": "columns",
511
+ "schema": "public",
512
+ "table": "activity_deliveries"
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": "activity_iri",
523
+ "entityType": "columns",
524
+ "schema": "public",
525
+ "table": "activity_deliveries"
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": "object_type",
536
+ "entityType": "columns",
537
+ "schema": "public",
538
+ "table": "activity_deliveries"
539
+ },
540
+ {
541
+ "type": "text",
542
+ "typeSchema": null,
543
+ "notNull": false,
544
+ "dimensions": 0,
545
+ "default": null,
546
+ "generated": null,
547
+ "identity": null,
548
+ "name": "object_iri",
549
+ "entityType": "columns",
550
+ "schema": "public",
551
+ "table": "activity_deliveries"
552
+ },
553
+ {
554
+ "type": "text",
555
+ "typeSchema": null,
556
+ "notNull": false,
557
+ "dimensions": 0,
558
+ "default": null,
559
+ "generated": null,
560
+ "identity": null,
561
+ "name": "signed_key_iri",
562
+ "entityType": "columns",
563
+ "schema": "public",
564
+ "table": "activity_deliveries"
565
+ },
566
+ {
567
+ "type": "uuid",
568
+ "typeSchema": null,
569
+ "notNull": false,
570
+ "dimensions": 0,
571
+ "default": null,
572
+ "generated": null,
573
+ "identity": null,
574
+ "name": "verification_key_id",
575
+ "entityType": "columns",
576
+ "schema": "public",
577
+ "table": "activity_deliveries"
578
+ },
579
+ {
580
+ "type": "text",
581
+ "typeSchema": null,
582
+ "notNull": false,
583
+ "dimensions": 0,
584
+ "default": null,
585
+ "generated": null,
586
+ "identity": null,
587
+ "name": "remote_actor_iri",
588
+ "entityType": "columns",
589
+ "schema": "public",
590
+ "table": "activity_deliveries"
591
+ },
592
+ {
593
+ "type": "text",
594
+ "typeSchema": null,
595
+ "notNull": false,
596
+ "dimensions": 0,
597
+ "default": null,
598
+ "generated": null,
599
+ "identity": null,
600
+ "name": "remote_host",
601
+ "entityType": "columns",
602
+ "schema": "public",
603
+ "table": "activity_deliveries"
604
+ },
605
+ {
606
+ "type": "text",
607
+ "typeSchema": null,
608
+ "notNull": true,
609
+ "dimensions": 0,
610
+ "default": null,
611
+ "generated": null,
612
+ "identity": null,
613
+ "name": "inbox_url",
614
+ "entityType": "columns",
615
+ "schema": "public",
616
+ "table": "activity_deliveries"
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": "request_url",
627
+ "entityType": "columns",
628
+ "schema": "public",
629
+ "table": "activity_deliveries"
630
+ },
631
+ {
632
+ "type": "jsonb",
633
+ "typeSchema": null,
634
+ "notNull": false,
635
+ "dimensions": 0,
636
+ "default": null,
637
+ "generated": null,
638
+ "identity": null,
639
+ "name": "headers",
640
+ "entityType": "columns",
641
+ "schema": "public",
642
+ "table": "activity_deliveries"
643
+ },
644
+ {
645
+ "type": "bytea",
646
+ "typeSchema": null,
647
+ "notNull": false,
648
+ "dimensions": 0,
649
+ "default": null,
650
+ "generated": null,
651
+ "identity": null,
652
+ "name": "body",
653
+ "entityType": "columns",
654
+ "schema": "public",
655
+ "table": "activity_deliveries"
656
+ },
657
+ {
658
+ "type": "integer",
659
+ "typeSchema": null,
660
+ "notNull": false,
661
+ "dimensions": 0,
662
+ "default": null,
663
+ "generated": null,
664
+ "identity": null,
665
+ "name": "status_code",
666
+ "entityType": "columns",
667
+ "schema": "public",
668
+ "table": "activity_deliveries"
669
+ },
670
+ {
671
+ "type": "text",
672
+ "typeSchema": null,
673
+ "notNull": false,
674
+ "dimensions": 0,
675
+ "default": null,
676
+ "generated": null,
677
+ "identity": null,
678
+ "name": "response_body",
679
+ "entityType": "columns",
680
+ "schema": "public",
681
+ "table": "activity_deliveries"
682
+ },
683
+ {
684
+ "type": "text",
685
+ "typeSchema": null,
686
+ "notNull": false,
687
+ "dimensions": 0,
688
+ "default": null,
689
+ "generated": null,
690
+ "identity": null,
691
+ "name": "error",
692
+ "entityType": "columns",
693
+ "schema": "public",
694
+ "table": "activity_deliveries"
695
+ },
696
+ {
697
+ "type": "jsonb",
698
+ "typeSchema": null,
699
+ "notNull": false,
700
+ "dimensions": 0,
701
+ "default": null,
702
+ "generated": null,
703
+ "identity": null,
704
+ "name": "payload",
705
+ "entityType": "columns",
706
+ "schema": "public",
707
+ "table": "activity_deliveries"
708
+ },
709
+ {
710
+ "type": "text",
711
+ "typeSchema": null,
712
+ "notNull": true,
713
+ "dimensions": 1,
714
+ "default": "'{}'",
715
+ "generated": null,
716
+ "identity": null,
717
+ "name": "recipient_iris",
718
+ "entityType": "columns",
719
+ "schema": "public",
720
+ "table": "activity_deliveries"
721
+ },
722
+ {
723
+ "type": "timestamp with time zone",
724
+ "typeSchema": null,
725
+ "notNull": true,
726
+ "dimensions": 0,
727
+ "default": "CURRENT_TIMESTAMP",
728
+ "generated": null,
729
+ "identity": null,
730
+ "name": "created",
731
+ "entityType": "columns",
732
+ "schema": "public",
733
+ "table": "activity_deliveries"
734
+ },
735
+ {
736
+ "type": "timestamp with time zone",
737
+ "typeSchema": null,
738
+ "notNull": false,
739
+ "dimensions": 0,
740
+ "default": null,
741
+ "generated": null,
742
+ "identity": null,
743
+ "name": "completed",
744
+ "entityType": "columns",
745
+ "schema": "public",
746
+ "table": "activity_deliveries"
747
+ },
748
+ {
749
+ "type": "uuid",
750
+ "typeSchema": null,
751
+ "notNull": true,
752
+ "dimensions": 0,
753
+ "default": null,
754
+ "generated": null,
755
+ "identity": null,
756
+ "name": "delivery_id",
757
+ "entityType": "columns",
758
+ "schema": "public",
759
+ "table": "activity_delivery_actor_collections"
760
+ },
761
+ {
762
+ "type": "uuid",
763
+ "typeSchema": null,
764
+ "notNull": true,
765
+ "dimensions": 0,
766
+ "default": null,
767
+ "generated": null,
768
+ "identity": null,
769
+ "name": "actor_id",
770
+ "entityType": "columns",
771
+ "schema": "public",
772
+ "table": "activity_delivery_actor_collections"
773
+ },
774
+ {
775
+ "type": "text",
776
+ "typeSchema": null,
777
+ "notNull": true,
778
+ "dimensions": 0,
779
+ "default": null,
780
+ "generated": null,
781
+ "identity": null,
782
+ "name": "collection_iri",
783
+ "entityType": "columns",
784
+ "schema": "public",
785
+ "table": "activity_delivery_actor_collections"
786
+ },
787
+ {
788
+ "type": "uuid",
789
+ "typeSchema": null,
790
+ "notNull": true,
791
+ "dimensions": 0,
792
+ "default": null,
793
+ "generated": null,
794
+ "identity": null,
795
+ "name": "delivery_id",
796
+ "entityType": "columns",
797
+ "schema": "public",
798
+ "table": "activity_delivery_actors"
799
+ },
800
+ {
801
+ "type": "uuid",
802
+ "typeSchema": null,
803
+ "notNull": true,
804
+ "dimensions": 0,
805
+ "default": null,
806
+ "generated": null,
807
+ "identity": null,
808
+ "name": "actor_id",
809
+ "entityType": "columns",
810
+ "schema": "public",
811
+ "table": "activity_delivery_actors"
812
+ },
813
+ {
814
+ "type": "boolean",
815
+ "typeSchema": null,
816
+ "notNull": true,
817
+ "dimensions": 0,
818
+ "default": "false",
819
+ "generated": null,
820
+ "identity": null,
821
+ "name": "inbox_owner",
822
+ "entityType": "columns",
823
+ "schema": "public",
824
+ "table": "activity_delivery_actors"
825
+ },
826
+ {
827
+ "type": "boolean",
828
+ "typeSchema": null,
829
+ "notNull": true,
830
+ "dimensions": 0,
831
+ "default": "false",
832
+ "generated": null,
833
+ "identity": null,
834
+ "name": "addressed",
835
+ "entityType": "columns",
836
+ "schema": "public",
837
+ "table": "activity_delivery_actors"
838
+ },
839
+ {
840
+ "type": "boolean",
841
+ "typeSchema": null,
842
+ "notNull": true,
843
+ "dimensions": 0,
844
+ "default": "false",
845
+ "generated": null,
846
+ "identity": null,
847
+ "name": "addressed_directly",
848
+ "entityType": "columns",
849
+ "schema": "public",
850
+ "table": "activity_delivery_actors"
851
+ },
852
+ {
853
+ "type": "boolean",
854
+ "typeSchema": null,
855
+ "notNull": true,
856
+ "dimensions": 0,
857
+ "default": "false",
858
+ "generated": null,
859
+ "identity": null,
860
+ "name": "sender",
861
+ "entityType": "columns",
862
+ "schema": "public",
863
+ "table": "activity_delivery_actors"
864
+ },
865
+ {
866
+ "type": "timestamp with time zone",
867
+ "typeSchema": null,
868
+ "notNull": true,
869
+ "dimensions": 0,
870
+ "default": null,
871
+ "generated": null,
872
+ "identity": null,
873
+ "name": "created",
874
+ "entityType": "columns",
875
+ "schema": "public",
876
+ "table": "activity_delivery_actors"
877
+ },
878
+ {
879
+ "type": "uuid",
880
+ "typeSchema": null,
881
+ "notNull": true,
882
+ "dimensions": 0,
883
+ "default": null,
884
+ "generated": null,
885
+ "identity": null,
886
+ "name": "id",
887
+ "entityType": "columns",
888
+ "schema": "public",
889
+ "table": "activity_delivery_attempts"
890
+ },
891
+ {
892
+ "type": "uuid",
893
+ "typeSchema": null,
894
+ "notNull": true,
895
+ "dimensions": 0,
896
+ "default": null,
897
+ "generated": null,
898
+ "identity": null,
899
+ "name": "delivery_id",
900
+ "entityType": "columns",
901
+ "schema": "public",
902
+ "table": "activity_delivery_attempts"
903
+ },
904
+ {
905
+ "type": "boolean",
906
+ "typeSchema": null,
907
+ "notNull": true,
908
+ "dimensions": 0,
909
+ "default": null,
910
+ "generated": null,
911
+ "identity": null,
912
+ "name": "succeeded",
913
+ "entityType": "columns",
914
+ "schema": "public",
915
+ "table": "activity_delivery_attempts"
916
+ },
917
+ {
918
+ "type": "integer",
919
+ "typeSchema": null,
920
+ "notNull": false,
921
+ "dimensions": 0,
922
+ "default": null,
923
+ "generated": null,
924
+ "identity": null,
925
+ "name": "status_code",
926
+ "entityType": "columns",
927
+ "schema": "public",
928
+ "table": "activity_delivery_attempts"
929
+ },
930
+ {
931
+ "type": "text",
932
+ "typeSchema": null,
933
+ "notNull": false,
934
+ "dimensions": 0,
935
+ "default": null,
936
+ "generated": null,
937
+ "identity": null,
938
+ "name": "response_body",
939
+ "entityType": "columns",
940
+ "schema": "public",
941
+ "table": "activity_delivery_attempts"
942
+ },
943
+ {
944
+ "type": "text",
945
+ "typeSchema": null,
946
+ "notNull": false,
947
+ "dimensions": 0,
948
+ "default": null,
949
+ "generated": null,
950
+ "identity": null,
951
+ "name": "error",
952
+ "entityType": "columns",
953
+ "schema": "public",
954
+ "table": "activity_delivery_attempts"
955
+ },
956
+ {
957
+ "type": "timestamp with time zone",
958
+ "typeSchema": null,
959
+ "notNull": true,
960
+ "dimensions": 0,
961
+ "default": "CURRENT_TIMESTAMP",
962
+ "generated": null,
963
+ "identity": null,
964
+ "name": "created",
965
+ "entityType": "columns",
966
+ "schema": "public",
967
+ "table": "activity_delivery_attempts"
968
+ },
969
+ {
970
+ "type": "uuid",
971
+ "typeSchema": null,
972
+ "notNull": true,
973
+ "dimensions": 0,
974
+ "default": null,
975
+ "generated": null,
976
+ "identity": null,
977
+ "name": "actor_id",
978
+ "entityType": "columns",
979
+ "schema": "public",
980
+ "table": "actor_collection_references"
981
+ },
982
+ {
983
+ "type": "collection_role",
984
+ "typeSchema": "public",
985
+ "notNull": true,
986
+ "dimensions": 0,
987
+ "default": null,
988
+ "generated": null,
989
+ "identity": null,
990
+ "name": "role",
991
+ "entityType": "columns",
992
+ "schema": "public",
993
+ "table": "actor_collection_references"
994
+ },
995
+ {
996
+ "type": "uuid",
997
+ "typeSchema": null,
998
+ "notNull": true,
999
+ "dimensions": 0,
1000
+ "default": null,
1001
+ "generated": null,
1002
+ "identity": null,
1003
+ "name": "collection_id",
1004
+ "entityType": "columns",
1005
+ "schema": "public",
1006
+ "table": "actor_collection_references"
1007
+ },
1008
+ {
1009
+ "type": "uuid",
1010
+ "typeSchema": null,
1011
+ "notNull": true,
1012
+ "dimensions": 0,
1013
+ "default": null,
1014
+ "generated": null,
1015
+ "identity": null,
1016
+ "name": "id",
1017
+ "entityType": "columns",
1018
+ "schema": "public",
1019
+ "table": "actors"
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": "local_id",
1030
+ "entityType": "columns",
1031
+ "schema": "public",
1032
+ "table": "actors"
1033
+ },
1034
+ {
1035
+ "type": "actor_type",
1036
+ "typeSchema": "public",
1037
+ "notNull": true,
1038
+ "dimensions": 0,
1039
+ "default": null,
1040
+ "generated": null,
1041
+ "identity": null,
1042
+ "name": "type",
1043
+ "entityType": "columns",
1044
+ "schema": "public",
1045
+ "table": "actors"
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "typeSchema": null,
1050
+ "notNull": true,
1051
+ "dimensions": 0,
1052
+ "default": null,
1053
+ "generated": null,
1054
+ "identity": null,
1055
+ "name": "username",
1056
+ "entityType": "columns",
1057
+ "schema": "public",
1058
+ "table": "actors"
1059
+ },
1060
+ {
1061
+ "type": "uuid",
1062
+ "typeSchema": null,
1063
+ "notNull": true,
1064
+ "dimensions": 0,
1065
+ "default": null,
1066
+ "generated": null,
1067
+ "identity": null,
1068
+ "name": "instance_id",
1069
+ "entityType": "columns",
1070
+ "schema": "public",
1071
+ "table": "actors"
1072
+ },
1073
+ {
1074
+ "type": "json",
1075
+ "typeSchema": null,
1076
+ "notNull": false,
1077
+ "dimensions": 0,
1078
+ "default": null,
1079
+ "generated": null,
1080
+ "identity": null,
1081
+ "name": "document",
1082
+ "entityType": "columns",
1083
+ "schema": "public",
1084
+ "table": "actors"
1085
+ },
1086
+ {
1087
+ "type": "text",
1088
+ "typeSchema": null,
1089
+ "notNull": true,
1090
+ "dimensions": 0,
1091
+ "default": null,
1092
+ "generated": null,
1093
+ "identity": null,
1094
+ "name": "inbox_url",
1095
+ "entityType": "columns",
1096
+ "schema": "public",
1097
+ "table": "actors"
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "typeSchema": null,
1102
+ "notNull": false,
1103
+ "dimensions": 0,
1104
+ "default": null,
1105
+ "generated": null,
1106
+ "identity": null,
1107
+ "name": "profile_url",
1108
+ "entityType": "columns",
1109
+ "schema": "public",
1110
+ "table": "actors"
1111
+ },
1112
+ {
1113
+ "type": "text",
1114
+ "typeSchema": null,
1115
+ "notNull": false,
1116
+ "dimensions": 0,
1117
+ "default": null,
1118
+ "generated": null,
1119
+ "identity": null,
1120
+ "name": "avatar_url",
1121
+ "entityType": "columns",
1122
+ "schema": "public",
1123
+ "table": "actors"
1124
+ },
1125
+ {
1126
+ "type": "text",
1127
+ "typeSchema": null,
1128
+ "notNull": false,
1129
+ "dimensions": 0,
1130
+ "default": null,
1131
+ "generated": null,
1132
+ "identity": null,
1133
+ "name": "header_url",
1134
+ "entityType": "columns",
1135
+ "schema": "public",
1136
+ "table": "actors"
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "typeSchema": null,
1141
+ "notNull": false,
1142
+ "dimensions": 0,
1143
+ "default": null,
1144
+ "generated": null,
1145
+ "identity": null,
1146
+ "name": "name",
1147
+ "entityType": "columns",
1148
+ "schema": "public",
1149
+ "table": "actors"
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "typeSchema": null,
1154
+ "notNull": false,
1155
+ "dimensions": 0,
1156
+ "default": null,
1157
+ "generated": null,
1158
+ "identity": null,
1159
+ "name": "bio_html",
1160
+ "entityType": "columns",
1161
+ "schema": "public",
1162
+ "table": "actors"
1163
+ },
1164
+ {
1165
+ "type": "boolean",
1166
+ "typeSchema": null,
1167
+ "notNull": true,
1168
+ "dimensions": 0,
1169
+ "default": "false",
1170
+ "generated": null,
1171
+ "identity": null,
1172
+ "name": "automatically_approves_followers",
1173
+ "entityType": "columns",
1174
+ "schema": "public",
1175
+ "table": "actors"
1176
+ },
1177
+ {
1178
+ "type": "jsonb",
1179
+ "typeSchema": null,
1180
+ "notNull": true,
1181
+ "dimensions": 0,
1182
+ "default": "'{}'",
1183
+ "generated": null,
1184
+ "identity": null,
1185
+ "name": "field_htmls",
1186
+ "entityType": "columns",
1187
+ "schema": "public",
1188
+ "table": "actors"
1189
+ },
1190
+ {
1191
+ "type": "jsonb",
1192
+ "typeSchema": null,
1193
+ "notNull": true,
1194
+ "dimensions": 0,
1195
+ "default": "'{}'",
1196
+ "generated": null,
1197
+ "identity": null,
1198
+ "name": "emojis",
1199
+ "entityType": "columns",
1200
+ "schema": "public",
1201
+ "table": "actors"
1202
+ },
1203
+ {
1204
+ "type": "jsonb",
1205
+ "typeSchema": null,
1206
+ "notNull": true,
1207
+ "dimensions": 0,
1208
+ "default": "'{}'",
1209
+ "generated": null,
1210
+ "identity": null,
1211
+ "name": "tags",
1212
+ "entityType": "columns",
1213
+ "schema": "public",
1214
+ "table": "actors"
1215
+ },
1216
+ {
1217
+ "type": "boolean",
1218
+ "typeSchema": null,
1219
+ "notNull": true,
1220
+ "dimensions": 0,
1221
+ "default": "false",
1222
+ "generated": null,
1223
+ "identity": null,
1224
+ "name": "sensitive",
1225
+ "entityType": "columns",
1226
+ "schema": "public",
1227
+ "table": "actors"
1228
+ },
1229
+ {
1230
+ "type": "timestamp with time zone",
1231
+ "typeSchema": null,
1232
+ "notNull": false,
1233
+ "dimensions": 0,
1234
+ "default": null,
1235
+ "generated": null,
1236
+ "identity": null,
1237
+ "name": "suspended",
1238
+ "entityType": "columns",
1239
+ "schema": "public",
1240
+ "table": "actors"
1241
+ },
1242
+ {
1243
+ "type": "timestamp with time zone",
1244
+ "typeSchema": null,
1245
+ "notNull": false,
1246
+ "dimensions": 0,
1247
+ "default": null,
1248
+ "generated": null,
1249
+ "identity": null,
1250
+ "name": "suspended_until",
1251
+ "entityType": "columns",
1252
+ "schema": "public",
1253
+ "table": "actors"
1254
+ },
1255
+ {
1256
+ "type": "uuid",
1257
+ "typeSchema": null,
1258
+ "notNull": false,
1259
+ "dimensions": 0,
1260
+ "default": null,
1261
+ "generated": null,
1262
+ "identity": null,
1263
+ "name": "successor_id",
1264
+ "entityType": "columns",
1265
+ "schema": "public",
1266
+ "table": "actors"
1267
+ },
1268
+ {
1269
+ "type": "text",
1270
+ "typeSchema": null,
1271
+ "notNull": true,
1272
+ "dimensions": 1,
1273
+ "default": "(ARRAY[]::text[])",
1274
+ "generated": null,
1275
+ "identity": null,
1276
+ "name": "aliases",
1277
+ "entityType": "columns",
1278
+ "schema": "public",
1279
+ "table": "actors"
1280
+ },
1281
+ {
1282
+ "type": "integer",
1283
+ "typeSchema": null,
1284
+ "notNull": true,
1285
+ "dimensions": 0,
1286
+ "default": "0",
1287
+ "generated": null,
1288
+ "identity": null,
1289
+ "name": "following_count",
1290
+ "entityType": "columns",
1291
+ "schema": "public",
1292
+ "table": "actors"
1293
+ },
1294
+ {
1295
+ "type": "integer",
1296
+ "typeSchema": null,
1297
+ "notNull": true,
1298
+ "dimensions": 0,
1299
+ "default": "0",
1300
+ "generated": null,
1301
+ "identity": null,
1302
+ "name": "followers_count",
1303
+ "entityType": "columns",
1304
+ "schema": "public",
1305
+ "table": "actors"
1306
+ },
1307
+ {
1308
+ "type": "timestamp with time zone",
1309
+ "typeSchema": null,
1310
+ "notNull": true,
1311
+ "dimensions": 0,
1312
+ "default": "CURRENT_TIMESTAMP",
1313
+ "generated": null,
1314
+ "identity": null,
1315
+ "name": "updated",
1316
+ "entityType": "columns",
1317
+ "schema": "public",
1318
+ "table": "actors"
1319
+ },
1320
+ {
1321
+ "type": "timestamp with time zone",
1322
+ "typeSchema": null,
1323
+ "notNull": false,
1324
+ "dimensions": 0,
1325
+ "default": null,
1326
+ "generated": null,
1327
+ "identity": null,
1328
+ "name": "published",
1329
+ "entityType": "columns",
1330
+ "schema": "public",
1331
+ "table": "actors"
1332
+ },
1333
+ {
1334
+ "type": "timestamp with time zone",
1335
+ "typeSchema": null,
1336
+ "notNull": true,
1337
+ "dimensions": 0,
1338
+ "default": "CURRENT_TIMESTAMP",
1339
+ "generated": null,
1340
+ "identity": null,
1341
+ "name": "created",
1342
+ "entityType": "columns",
1343
+ "schema": "public",
1344
+ "table": "actors"
1345
+ },
1346
+ {
1347
+ "type": "timestamp with time zone",
1348
+ "typeSchema": null,
1349
+ "notNull": false,
1350
+ "dimensions": 0,
1351
+ "default": null,
1352
+ "generated": null,
1353
+ "identity": null,
1354
+ "name": "deleted",
1355
+ "entityType": "columns",
1356
+ "schema": "public",
1357
+ "table": "actors"
1358
+ },
1359
+ {
1360
+ "type": "uuid",
1361
+ "typeSchema": null,
1362
+ "notNull": true,
1363
+ "dimensions": 0,
1364
+ "default": null,
1365
+ "generated": null,
1366
+ "identity": null,
1367
+ "name": "id",
1368
+ "entityType": "columns",
1369
+ "schema": "public",
1370
+ "table": "addressing"
1371
+ },
1372
+ {
1373
+ "type": "uuid",
1374
+ "typeSchema": null,
1375
+ "notNull": true,
1376
+ "dimensions": 0,
1377
+ "default": null,
1378
+ "generated": null,
1379
+ "identity": null,
1380
+ "name": "source_id",
1381
+ "entityType": "columns",
1382
+ "schema": "public",
1383
+ "table": "addressing"
1384
+ },
1385
+ {
1386
+ "type": "addressing_property",
1387
+ "typeSchema": "public",
1388
+ "notNull": true,
1389
+ "dimensions": 0,
1390
+ "default": null,
1391
+ "generated": null,
1392
+ "identity": null,
1393
+ "name": "property",
1394
+ "entityType": "columns",
1395
+ "schema": "public",
1396
+ "table": "addressing"
1397
+ },
1398
+ {
1399
+ "type": "integer",
1400
+ "typeSchema": null,
1401
+ "notNull": true,
1402
+ "dimensions": 0,
1403
+ "default": null,
1404
+ "generated": null,
1405
+ "identity": null,
1406
+ "name": "position",
1407
+ "entityType": "columns",
1408
+ "schema": "public",
1409
+ "table": "addressing"
1410
+ },
1411
+ {
1412
+ "type": "uuid",
1413
+ "typeSchema": null,
1414
+ "notNull": true,
1415
+ "dimensions": 0,
1416
+ "default": null,
1417
+ "generated": null,
1418
+ "identity": null,
1419
+ "name": "target_id",
1420
+ "entityType": "columns",
1421
+ "schema": "public",
1422
+ "table": "addressing"
1423
+ },
1424
+ {
1425
+ "type": "uuid",
1426
+ "typeSchema": null,
1427
+ "notNull": true,
1428
+ "dimensions": 0,
1429
+ "default": null,
1430
+ "generated": null,
1431
+ "identity": null,
1432
+ "name": "collection_id",
1433
+ "entityType": "columns",
1434
+ "schema": "public",
1435
+ "table": "collection_items"
1436
+ },
1437
+ {
1438
+ "type": "uuid",
1439
+ "typeSchema": null,
1440
+ "notNull": true,
1441
+ "dimensions": 0,
1442
+ "default": null,
1443
+ "generated": null,
1444
+ "identity": null,
1445
+ "name": "item_id",
1446
+ "entityType": "columns",
1447
+ "schema": "public",
1448
+ "table": "collection_items"
1449
+ },
1450
+ {
1451
+ "type": "integer",
1452
+ "typeSchema": null,
1453
+ "notNull": false,
1454
+ "dimensions": 0,
1455
+ "default": null,
1456
+ "generated": null,
1457
+ "identity": null,
1458
+ "name": "position",
1459
+ "entityType": "columns",
1460
+ "schema": "public",
1461
+ "table": "collection_items"
1462
+ },
1463
+ {
1464
+ "type": "timestamp with time zone",
1465
+ "typeSchema": null,
1466
+ "notNull": true,
1467
+ "dimensions": 0,
1468
+ "default": "CURRENT_TIMESTAMP",
1469
+ "generated": null,
1470
+ "identity": null,
1471
+ "name": "observed",
1472
+ "entityType": "columns",
1473
+ "schema": "public",
1474
+ "table": "collection_items"
1475
+ },
1476
+ {
1477
+ "type": "uuid",
1478
+ "typeSchema": null,
1479
+ "notNull": true,
1480
+ "dimensions": 0,
1481
+ "default": null,
1482
+ "generated": null,
1483
+ "identity": null,
1484
+ "name": "id",
1485
+ "entityType": "columns",
1486
+ "schema": "public",
1487
+ "table": "collections"
1488
+ },
1489
+ {
1490
+ "type": "collection_type",
1491
+ "typeSchema": "public",
1492
+ "notNull": true,
1493
+ "dimensions": 0,
1494
+ "default": null,
1495
+ "generated": null,
1496
+ "identity": null,
1497
+ "name": "type",
1498
+ "entityType": "columns",
1499
+ "schema": "public",
1500
+ "table": "collections"
1501
+ },
1502
+ {
1503
+ "type": "uuid",
1504
+ "typeSchema": null,
1505
+ "notNull": false,
1506
+ "dimensions": 0,
1507
+ "default": null,
1508
+ "generated": null,
1509
+ "identity": null,
1510
+ "name": "owner_actor_id",
1511
+ "entityType": "columns",
1512
+ "schema": "public",
1513
+ "table": "collections"
1514
+ },
1515
+ {
1516
+ "type": "integer",
1517
+ "typeSchema": null,
1518
+ "notNull": false,
1519
+ "dimensions": 0,
1520
+ "default": null,
1521
+ "generated": null,
1522
+ "identity": null,
1523
+ "name": "total_items",
1524
+ "entityType": "columns",
1525
+ "schema": "public",
1526
+ "table": "collections"
1527
+ },
1528
+ {
1529
+ "type": "json",
1530
+ "typeSchema": null,
1531
+ "notNull": false,
1532
+ "dimensions": 0,
1533
+ "default": null,
1534
+ "generated": null,
1535
+ "identity": null,
1536
+ "name": "document",
1537
+ "entityType": "columns",
1538
+ "schema": "public",
1539
+ "table": "collections"
1540
+ },
1541
+ {
1542
+ "type": "timestamp with time zone",
1543
+ "typeSchema": null,
1544
+ "notNull": true,
1545
+ "dimensions": 0,
1546
+ "default": "CURRENT_TIMESTAMP",
1547
+ "generated": null,
1548
+ "identity": null,
1549
+ "name": "updated",
1550
+ "entityType": "columns",
1551
+ "schema": "public",
1552
+ "table": "collections"
1553
+ },
1554
+ {
1555
+ "type": "uuid",
1556
+ "typeSchema": null,
1557
+ "notNull": true,
1558
+ "dimensions": 0,
1559
+ "default": null,
1560
+ "generated": null,
1561
+ "identity": null,
1562
+ "name": "account_id",
1563
+ "entityType": "columns",
1564
+ "schema": "public",
1565
+ "table": "instance_members"
1566
+ },
1567
+ {
1568
+ "type": "uuid",
1569
+ "typeSchema": null,
1570
+ "notNull": true,
1571
+ "dimensions": 0,
1572
+ "default": null,
1573
+ "generated": null,
1574
+ "identity": null,
1575
+ "name": "instance_id",
1576
+ "entityType": "columns",
1577
+ "schema": "public",
1578
+ "table": "instance_members"
1579
+ },
1580
+ {
1581
+ "type": "boolean",
1582
+ "typeSchema": null,
1583
+ "notNull": true,
1584
+ "dimensions": 0,
1585
+ "default": "false",
1586
+ "generated": null,
1587
+ "identity": null,
1588
+ "name": "admin",
1589
+ "entityType": "columns",
1590
+ "schema": "public",
1591
+ "table": "instance_members"
1592
+ },
1593
+ {
1594
+ "type": "timestamp with time zone",
1595
+ "typeSchema": null,
1596
+ "notNull": false,
1597
+ "dimensions": 0,
1598
+ "default": null,
1599
+ "generated": null,
1600
+ "identity": null,
1601
+ "name": "accepted",
1602
+ "entityType": "columns",
1603
+ "schema": "public",
1604
+ "table": "instance_members"
1605
+ },
1606
+ {
1607
+ "type": "timestamp with time zone",
1608
+ "typeSchema": null,
1609
+ "notNull": true,
1610
+ "dimensions": 0,
1611
+ "default": "CURRENT_TIMESTAMP",
1612
+ "generated": null,
1613
+ "identity": null,
1614
+ "name": "created",
1615
+ "entityType": "columns",
1616
+ "schema": "public",
1617
+ "table": "instance_members"
1618
+ },
1619
+ {
1620
+ "type": "uuid",
1621
+ "typeSchema": null,
1622
+ "notNull": true,
1623
+ "dimensions": 0,
1624
+ "default": null,
1625
+ "generated": null,
1626
+ "identity": null,
1627
+ "name": "id",
1628
+ "entityType": "columns",
1629
+ "schema": "public",
1630
+ "table": "instances"
1631
+ },
1632
+ {
1633
+ "type": "uuid",
1634
+ "typeSchema": null,
1635
+ "notNull": false,
1636
+ "dimensions": 0,
1637
+ "default": null,
1638
+ "generated": null,
1639
+ "identity": null,
1640
+ "name": "local_id",
1641
+ "entityType": "columns",
1642
+ "schema": "public",
1643
+ "table": "instances"
1644
+ },
1645
+ {
1646
+ "type": "timestamp with time zone",
1647
+ "typeSchema": null,
1648
+ "notNull": true,
1649
+ "dimensions": 0,
1650
+ "default": "CURRENT_TIMESTAMP",
1651
+ "generated": null,
1652
+ "identity": null,
1653
+ "name": "created",
1654
+ "entityType": "columns",
1655
+ "schema": "public",
1656
+ "table": "instances"
1657
+ },
1658
+ {
1659
+ "type": "varchar(259)",
1660
+ "typeSchema": null,
1661
+ "notNull": true,
1662
+ "dimensions": 0,
1663
+ "default": null,
1664
+ "generated": null,
1665
+ "identity": null,
1666
+ "name": "host",
1667
+ "entityType": "columns",
1668
+ "schema": "public",
1669
+ "table": "instances"
1670
+ },
1671
+ {
1672
+ "type": "text",
1673
+ "typeSchema": null,
1674
+ "notNull": false,
1675
+ "dimensions": 0,
1676
+ "default": null,
1677
+ "generated": null,
1678
+ "identity": null,
1679
+ "name": "node_info_url",
1680
+ "entityType": "columns",
1681
+ "schema": "public",
1682
+ "table": "instances"
1683
+ },
1684
+ {
1685
+ "type": "text",
1686
+ "typeSchema": null,
1687
+ "notNull": false,
1688
+ "dimensions": 0,
1689
+ "default": null,
1690
+ "generated": null,
1691
+ "identity": null,
1692
+ "name": "software",
1693
+ "entityType": "columns",
1694
+ "schema": "public",
1695
+ "table": "instances"
1696
+ },
1697
+ {
1698
+ "type": "text",
1699
+ "typeSchema": null,
1700
+ "notNull": false,
1701
+ "dimensions": 0,
1702
+ "default": null,
1703
+ "generated": null,
1704
+ "identity": null,
1705
+ "name": "software_version",
1706
+ "entityType": "columns",
1707
+ "schema": "public",
1708
+ "table": "instances"
1709
+ },
1710
+ {
1711
+ "type": "uuid",
1712
+ "typeSchema": null,
1713
+ "notNull": true,
1714
+ "dimensions": 0,
1715
+ "default": null,
1716
+ "generated": null,
1717
+ "identity": null,
1718
+ "name": "id",
1719
+ "entityType": "columns",
1720
+ "schema": "public",
1721
+ "table": "key_versions"
1722
+ },
1723
+ {
1724
+ "type": "uuid",
1725
+ "typeSchema": null,
1726
+ "notNull": true,
1727
+ "dimensions": 0,
1728
+ "default": null,
1729
+ "generated": null,
1730
+ "identity": null,
1731
+ "name": "key_id",
1732
+ "entityType": "columns",
1733
+ "schema": "public",
1734
+ "table": "key_versions"
1735
+ },
1736
+ {
1737
+ "type": "jsonb",
1738
+ "typeSchema": null,
1739
+ "notNull": true,
1740
+ "dimensions": 0,
1741
+ "default": null,
1742
+ "generated": null,
1743
+ "identity": null,
1744
+ "name": "public_key",
1745
+ "entityType": "columns",
1746
+ "schema": "public",
1747
+ "table": "key_versions"
1748
+ },
1749
+ {
1750
+ "type": "text",
1751
+ "typeSchema": null,
1752
+ "notNull": true,
1753
+ "dimensions": 0,
1754
+ "default": null,
1755
+ "generated": null,
1756
+ "identity": null,
1757
+ "name": "fingerprint",
1758
+ "entityType": "columns",
1759
+ "schema": "public",
1760
+ "table": "key_versions"
1761
+ },
1762
+ {
1763
+ "type": "timestamp with time zone",
1764
+ "typeSchema": null,
1765
+ "notNull": true,
1766
+ "dimensions": 0,
1767
+ "default": null,
1768
+ "generated": null,
1769
+ "identity": null,
1770
+ "name": "first_seen",
1771
+ "entityType": "columns",
1772
+ "schema": "public",
1773
+ "table": "key_versions"
1774
+ },
1775
+ {
1776
+ "type": "timestamp with time zone",
1777
+ "typeSchema": null,
1778
+ "notNull": true,
1779
+ "dimensions": 0,
1780
+ "default": null,
1781
+ "generated": null,
1782
+ "identity": null,
1783
+ "name": "last_seen",
1784
+ "entityType": "columns",
1785
+ "schema": "public",
1786
+ "table": "key_versions"
1787
+ },
1788
+ {
1789
+ "type": "uuid",
1790
+ "typeSchema": null,
1791
+ "notNull": true,
1792
+ "dimensions": 0,
1793
+ "default": null,
1794
+ "generated": null,
1795
+ "identity": null,
1796
+ "name": "id",
1797
+ "entityType": "columns",
1798
+ "schema": "public",
1799
+ "table": "keys"
1800
+ },
1801
+ {
1802
+ "type": "text",
1803
+ "typeSchema": null,
1804
+ "notNull": true,
1805
+ "dimensions": 0,
1806
+ "default": null,
1807
+ "generated": null,
1808
+ "identity": null,
1809
+ "name": "iri",
1810
+ "entityType": "columns",
1811
+ "schema": "public",
1812
+ "table": "keys"
1813
+ },
1814
+ {
1815
+ "type": "timestamp with time zone",
1816
+ "typeSchema": null,
1817
+ "notNull": true,
1818
+ "dimensions": 0,
1819
+ "default": "CURRENT_TIMESTAMP",
1820
+ "generated": null,
1821
+ "identity": null,
1822
+ "name": "created",
1823
+ "entityType": "columns",
1824
+ "schema": "public",
1825
+ "table": "keys"
1826
+ },
1827
+ {
1828
+ "type": "uuid",
1829
+ "typeSchema": null,
1830
+ "notNull": true,
1831
+ "dimensions": 0,
1832
+ "default": null,
1833
+ "generated": null,
1834
+ "identity": null,
1835
+ "name": "local_actor_id",
1836
+ "entityType": "columns",
1837
+ "schema": "public",
1838
+ "table": "local_actor_keys"
1839
+ },
1840
+ {
1841
+ "type": "local_actor_key_type",
1842
+ "typeSchema": "public",
1843
+ "notNull": true,
1844
+ "dimensions": 0,
1845
+ "default": null,
1846
+ "generated": null,
1847
+ "identity": null,
1848
+ "name": "type",
1849
+ "entityType": "columns",
1850
+ "schema": "public",
1851
+ "table": "local_actor_keys"
1852
+ },
1853
+ {
1854
+ "type": "jsonb",
1855
+ "typeSchema": null,
1856
+ "notNull": true,
1857
+ "dimensions": 0,
1858
+ "default": null,
1859
+ "generated": null,
1860
+ "identity": null,
1861
+ "name": "public_key",
1862
+ "entityType": "columns",
1863
+ "schema": "public",
1864
+ "table": "local_actor_keys"
1865
+ },
1866
+ {
1867
+ "type": "jsonb",
1868
+ "typeSchema": null,
1869
+ "notNull": true,
1870
+ "dimensions": 0,
1871
+ "default": null,
1872
+ "generated": null,
1873
+ "identity": null,
1874
+ "name": "private_key",
1875
+ "entityType": "columns",
1876
+ "schema": "public",
1877
+ "table": "local_actor_keys"
1878
+ },
1879
+ {
1880
+ "type": "uuid",
1881
+ "typeSchema": null,
1882
+ "notNull": true,
1883
+ "dimensions": 0,
1884
+ "default": null,
1885
+ "generated": null,
1886
+ "identity": null,
1887
+ "name": "id",
1888
+ "entityType": "columns",
1889
+ "schema": "public",
1890
+ "table": "local_actors"
1891
+ },
1892
+ {
1893
+ "type": "text",
1894
+ "typeSchema": null,
1895
+ "notNull": false,
1896
+ "dimensions": 0,
1897
+ "default": null,
1898
+ "generated": null,
1899
+ "identity": null,
1900
+ "name": "avatar",
1901
+ "entityType": "columns",
1902
+ "schema": "public",
1903
+ "table": "local_actors"
1904
+ },
1905
+ {
1906
+ "type": "text",
1907
+ "typeSchema": null,
1908
+ "notNull": false,
1909
+ "dimensions": 0,
1910
+ "default": null,
1911
+ "generated": null,
1912
+ "identity": null,
1913
+ "name": "header",
1914
+ "entityType": "columns",
1915
+ "schema": "public",
1916
+ "table": "local_actors"
1917
+ },
1918
+ {
1919
+ "type": "uuid",
1920
+ "typeSchema": null,
1921
+ "notNull": true,
1922
+ "dimensions": 0,
1923
+ "default": null,
1924
+ "generated": null,
1925
+ "identity": null,
1926
+ "name": "id",
1927
+ "entityType": "columns",
1928
+ "schema": "public",
1929
+ "table": "local_instances"
1930
+ },
1931
+ {
1932
+ "type": "varchar(63)",
1933
+ "typeSchema": null,
1934
+ "notNull": true,
1935
+ "dimensions": 0,
1936
+ "default": null,
1937
+ "generated": null,
1938
+ "identity": null,
1939
+ "name": "slug",
1940
+ "entityType": "columns",
1941
+ "schema": "public",
1942
+ "table": "local_instances"
1943
+ },
1944
+ {
1945
+ "type": "timestamp with time zone",
1946
+ "typeSchema": null,
1947
+ "notNull": true,
1948
+ "dimensions": 0,
1949
+ "default": null,
1950
+ "generated": null,
1951
+ "identity": null,
1952
+ "name": "expires",
1953
+ "entityType": "columns",
1954
+ "schema": "public",
1955
+ "table": "local_instances"
1956
+ },
1957
+ {
1958
+ "type": "integer",
1959
+ "typeSchema": null,
1960
+ "notNull": true,
1961
+ "dimensions": 0,
1962
+ "default": "10",
1963
+ "generated": null,
1964
+ "identity": null,
1965
+ "name": "max_actors",
1966
+ "entityType": "columns",
1967
+ "schema": "public",
1968
+ "table": "local_instances"
1969
+ },
1970
+ {
1971
+ "type": "uuid",
1972
+ "typeSchema": null,
1973
+ "notNull": true,
1974
+ "dimensions": 0,
1975
+ "default": null,
1976
+ "generated": null,
1977
+ "identity": null,
1978
+ "name": "id",
1979
+ "entityType": "columns",
1980
+ "schema": "public",
1981
+ "table": "login_challenges"
1982
+ },
1983
+ {
1984
+ "type": "uuid",
1985
+ "typeSchema": null,
1986
+ "notNull": true,
1987
+ "dimensions": 0,
1988
+ "default": null,
1989
+ "generated": null,
1990
+ "identity": null,
1991
+ "name": "account_id",
1992
+ "entityType": "columns",
1993
+ "schema": "public",
1994
+ "table": "login_challenges"
1995
+ },
1996
+ {
1997
+ "type": "char(6)",
1998
+ "typeSchema": null,
1999
+ "notNull": true,
2000
+ "dimensions": 0,
2001
+ "default": null,
2002
+ "generated": null,
2003
+ "identity": null,
2004
+ "name": "code",
2005
+ "entityType": "columns",
2006
+ "schema": "public",
2007
+ "table": "login_challenges"
2008
+ },
2009
+ {
2010
+ "type": "timestamp with time zone",
2011
+ "typeSchema": null,
2012
+ "notNull": true,
2013
+ "dimensions": 0,
2014
+ "default": "CURRENT_TIMESTAMP",
2015
+ "generated": null,
2016
+ "identity": null,
2017
+ "name": "created",
2018
+ "entityType": "columns",
2019
+ "schema": "public",
2020
+ "table": "login_challenges"
2021
+ },
2022
+ {
2023
+ "type": "timestamp with time zone",
2024
+ "typeSchema": null,
2025
+ "notNull": true,
2026
+ "dimensions": 0,
2027
+ "default": "CURRENT_TIMESTAMP + INTERVAL '15 minutes'",
2028
+ "generated": null,
2029
+ "identity": null,
2030
+ "name": "expires",
2031
+ "entityType": "columns",
2032
+ "schema": "public",
2033
+ "table": "login_challenges"
2034
+ },
2035
+ {
2036
+ "type": "timestamp with time zone",
2037
+ "typeSchema": null,
2038
+ "notNull": false,
2039
+ "dimensions": 0,
2040
+ "default": null,
2041
+ "generated": null,
2042
+ "identity": null,
2043
+ "name": "consumed",
2044
+ "entityType": "columns",
2045
+ "schema": "public",
2046
+ "table": "login_challenges"
2047
+ },
2048
+ {
2049
+ "type": "uuid",
2050
+ "typeSchema": null,
2051
+ "notNull": true,
2052
+ "dimensions": 0,
2053
+ "default": null,
2054
+ "generated": null,
2055
+ "identity": null,
2056
+ "name": "id",
2057
+ "entityType": "columns",
2058
+ "schema": "public",
2059
+ "table": "objects"
2060
+ },
2061
+ {
2062
+ "type": "uuid",
2063
+ "typeSchema": null,
2064
+ "notNull": true,
2065
+ "dimensions": 0,
2066
+ "default": null,
2067
+ "generated": null,
2068
+ "identity": null,
2069
+ "name": "actor_id",
2070
+ "entityType": "columns",
2071
+ "schema": "public",
2072
+ "table": "objects"
2073
+ },
2074
+ {
2075
+ "type": "object_type",
2076
+ "typeSchema": "public",
2077
+ "notNull": true,
2078
+ "dimensions": 0,
2079
+ "default": null,
2080
+ "generated": null,
2081
+ "identity": null,
2082
+ "name": "type",
2083
+ "entityType": "columns",
2084
+ "schema": "public",
2085
+ "table": "objects"
2086
+ },
2087
+ {
2088
+ "type": "json",
2089
+ "typeSchema": null,
2090
+ "notNull": false,
2091
+ "dimensions": 0,
2092
+ "default": null,
2093
+ "generated": null,
2094
+ "identity": null,
2095
+ "name": "document",
2096
+ "entityType": "columns",
2097
+ "schema": "public",
2098
+ "table": "objects"
2099
+ },
2100
+ {
2101
+ "type": "text",
2102
+ "typeSchema": null,
2103
+ "notNull": false,
2104
+ "dimensions": 0,
2105
+ "default": null,
2106
+ "generated": null,
2107
+ "identity": null,
2108
+ "name": "url",
2109
+ "entityType": "columns",
2110
+ "schema": "public",
2111
+ "table": "objects"
2112
+ },
2113
+ {
2114
+ "type": "text",
2115
+ "typeSchema": null,
2116
+ "notNull": false,
2117
+ "dimensions": 0,
2118
+ "default": null,
2119
+ "generated": null,
2120
+ "identity": null,
2121
+ "name": "name",
2122
+ "entityType": "columns",
2123
+ "schema": "public",
2124
+ "table": "objects"
2125
+ },
2126
+ {
2127
+ "type": "text",
2128
+ "typeSchema": null,
2129
+ "notNull": false,
2130
+ "dimensions": 0,
2131
+ "default": null,
2132
+ "generated": null,
2133
+ "identity": null,
2134
+ "name": "summary",
2135
+ "entityType": "columns",
2136
+ "schema": "public",
2137
+ "table": "objects"
2138
+ },
2139
+ {
2140
+ "type": "text",
2141
+ "typeSchema": null,
2142
+ "notNull": true,
2143
+ "dimensions": 0,
2144
+ "default": null,
2145
+ "generated": null,
2146
+ "identity": null,
2147
+ "name": "content_html",
2148
+ "entityType": "columns",
2149
+ "schema": "public",
2150
+ "table": "objects"
2151
+ },
2152
+ {
2153
+ "type": "varchar(35)",
2154
+ "typeSchema": null,
2155
+ "notNull": false,
2156
+ "dimensions": 0,
2157
+ "default": null,
2158
+ "generated": null,
2159
+ "identity": null,
2160
+ "name": "language",
2161
+ "entityType": "columns",
2162
+ "schema": "public",
2163
+ "table": "objects"
2164
+ },
2165
+ {
2166
+ "type": "boolean",
2167
+ "typeSchema": null,
2168
+ "notNull": true,
2169
+ "dimensions": 0,
2170
+ "default": "false",
2171
+ "generated": null,
2172
+ "identity": null,
2173
+ "name": "sensitive",
2174
+ "entityType": "columns",
2175
+ "schema": "public",
2176
+ "table": "objects"
2177
+ },
2178
+ {
2179
+ "type": "timestamp with time zone",
2180
+ "typeSchema": null,
2181
+ "notNull": true,
2182
+ "dimensions": 0,
2183
+ "default": "CURRENT_TIMESTAMP",
2184
+ "generated": null,
2185
+ "identity": null,
2186
+ "name": "published",
2187
+ "entityType": "columns",
2188
+ "schema": "public",
2189
+ "table": "objects"
2190
+ },
2191
+ {
2192
+ "type": "timestamp with time zone",
2193
+ "typeSchema": null,
2194
+ "notNull": true,
2195
+ "dimensions": 0,
2196
+ "default": "CURRENT_TIMESTAMP",
2197
+ "generated": null,
2198
+ "identity": null,
2199
+ "name": "updated",
2200
+ "entityType": "columns",
2201
+ "schema": "public",
2202
+ "table": "objects"
2203
+ },
2204
+ {
2205
+ "type": "timestamp with time zone",
2206
+ "typeSchema": null,
2207
+ "notNull": true,
2208
+ "dimensions": 0,
2209
+ "default": "CURRENT_TIMESTAMP",
2210
+ "generated": null,
2211
+ "identity": null,
2212
+ "name": "created",
2213
+ "entityType": "columns",
2214
+ "schema": "public",
2215
+ "table": "objects"
2216
+ },
2217
+ {
2218
+ "type": "timestamp with time zone",
2219
+ "typeSchema": null,
2220
+ "notNull": false,
2221
+ "dimensions": 0,
2222
+ "default": null,
2223
+ "generated": null,
2224
+ "identity": null,
2225
+ "name": "deleted",
2226
+ "entityType": "columns",
2227
+ "schema": "public",
2228
+ "table": "objects"
2229
+ },
2230
+ {
2231
+ "type": "uuid",
2232
+ "typeSchema": null,
2233
+ "notNull": true,
2234
+ "dimensions": 0,
2235
+ "default": null,
2236
+ "generated": null,
2237
+ "identity": null,
2238
+ "name": "id",
2239
+ "entityType": "columns",
2240
+ "schema": "public",
2241
+ "table": "resources"
2242
+ },
2243
+ {
2244
+ "type": "text",
2245
+ "typeSchema": null,
2246
+ "notNull": true,
2247
+ "dimensions": 0,
2248
+ "default": null,
2249
+ "generated": null,
2250
+ "identity": null,
2251
+ "name": "iri",
2252
+ "entityType": "columns",
2253
+ "schema": "public",
2254
+ "table": "resources"
2255
+ },
2256
+ {
2257
+ "type": "resource_kind",
2258
+ "typeSchema": "public",
2259
+ "notNull": true,
2260
+ "dimensions": 0,
2261
+ "default": null,
2262
+ "generated": null,
2263
+ "identity": null,
2264
+ "name": "kind",
2265
+ "entityType": "columns",
2266
+ "schema": "public",
2267
+ "table": "resources"
2268
+ },
2269
+ {
2270
+ "type": "timestamp with time zone",
2271
+ "typeSchema": null,
2272
+ "notNull": true,
2273
+ "dimensions": 0,
2274
+ "default": "CURRENT_TIMESTAMP",
2275
+ "generated": null,
2276
+ "identity": null,
2277
+ "name": "created",
2278
+ "entityType": "columns",
2279
+ "schema": "public",
2280
+ "table": "resources"
2281
+ },
2282
+ {
2283
+ "type": "uuid",
2284
+ "typeSchema": null,
2285
+ "notNull": true,
2286
+ "dimensions": 0,
2287
+ "default": null,
2288
+ "generated": null,
2289
+ "identity": null,
2290
+ "name": "id",
2291
+ "entityType": "columns",
2292
+ "schema": "public",
2293
+ "table": "sessions"
2294
+ },
2295
+ {
2296
+ "type": "uuid",
2297
+ "typeSchema": null,
2298
+ "notNull": true,
2299
+ "dimensions": 0,
2300
+ "default": null,
2301
+ "generated": null,
2302
+ "identity": null,
2303
+ "name": "account_id",
2304
+ "entityType": "columns",
2305
+ "schema": "public",
2306
+ "table": "sessions"
2307
+ },
2308
+ {
2309
+ "type": "varchar(64)",
2310
+ "typeSchema": null,
2311
+ "notNull": true,
2312
+ "dimensions": 0,
2313
+ "default": null,
2314
+ "generated": null,
2315
+ "identity": null,
2316
+ "name": "token_hash",
2317
+ "entityType": "columns",
2318
+ "schema": "public",
2319
+ "table": "sessions"
2320
+ },
2321
+ {
2322
+ "type": "timestamp with time zone",
2323
+ "typeSchema": null,
2324
+ "notNull": true,
2325
+ "dimensions": 0,
2326
+ "default": "CURRENT_TIMESTAMP",
2327
+ "generated": null,
2328
+ "identity": null,
2329
+ "name": "created",
2330
+ "entityType": "columns",
2331
+ "schema": "public",
2332
+ "table": "sessions"
2333
+ },
2334
+ {
2335
+ "type": "timestamp with time zone",
2336
+ "typeSchema": null,
2337
+ "notNull": true,
2338
+ "dimensions": 0,
2339
+ "default": "CURRENT_TIMESTAMP + INTERVAL '1 month'",
2340
+ "generated": null,
2341
+ "identity": null,
2342
+ "name": "expires",
2343
+ "entityType": "columns",
2344
+ "schema": "public",
2345
+ "table": "sessions"
2346
+ },
2347
+ {
2348
+ "nameExplicit": true,
2349
+ "columns": [
2350
+ {
2351
+ "value": "actor_id",
2352
+ "isExpression": false,
2353
+ "asc": true,
2354
+ "nullsFirst": false,
2355
+ "opclass": null
2356
+ },
2357
+ {
2358
+ "value": "\"published\" desc",
2359
+ "isExpression": true,
2360
+ "asc": true,
2361
+ "nullsFirst": false,
2362
+ "opclass": null
2363
+ },
2364
+ {
2365
+ "value": "\"id\" desc",
2366
+ "isExpression": true,
2367
+ "asc": true,
2368
+ "nullsFirst": false,
2369
+ "opclass": null
2370
+ }
2371
+ ],
2372
+ "isUnique": false,
2373
+ "where": null,
2374
+ "with": "",
2375
+ "method": "btree",
2376
+ "concurrently": false,
2377
+ "name": "activity_actor_published_index",
2378
+ "entityType": "indexes",
2379
+ "schema": "public",
2380
+ "table": "activities"
2381
+ },
2382
+ {
2383
+ "nameExplicit": true,
2384
+ "columns": [
2385
+ {
2386
+ "value": "object_id",
2387
+ "isExpression": false,
2388
+ "asc": true,
2389
+ "nullsFirst": false,
2390
+ "opclass": null
2391
+ },
2392
+ {
2393
+ "value": "published",
2394
+ "isExpression": false,
2395
+ "asc": true,
2396
+ "nullsFirst": false,
2397
+ "opclass": null
2398
+ },
2399
+ {
2400
+ "value": "id",
2401
+ "isExpression": false,
2402
+ "asc": true,
2403
+ "nullsFirst": false,
2404
+ "opclass": null
2405
+ }
2406
+ ],
2407
+ "isUnique": false,
2408
+ "where": null,
2409
+ "with": "",
2410
+ "method": "btree",
2411
+ "concurrently": false,
2412
+ "name": "activity_object_published_index",
2413
+ "entityType": "indexes",
2414
+ "schema": "public",
2415
+ "table": "activities"
2416
+ },
2417
+ {
2418
+ "nameExplicit": true,
2419
+ "columns": [
2420
+ {
2421
+ "value": "instance_id",
2422
+ "isExpression": false,
2423
+ "asc": true,
2424
+ "nullsFirst": false,
2425
+ "opclass": null
2426
+ },
2427
+ {
2428
+ "value": "\"created\" desc",
2429
+ "isExpression": true,
2430
+ "asc": true,
2431
+ "nullsFirst": false,
2432
+ "opclass": null
2433
+ },
2434
+ {
2435
+ "value": "\"id\" desc",
2436
+ "isExpression": true,
2437
+ "asc": true,
2438
+ "nullsFirst": false,
2439
+ "opclass": null
2440
+ }
2441
+ ],
2442
+ "isUnique": false,
2443
+ "where": null,
2444
+ "with": "",
2445
+ "method": "btree",
2446
+ "concurrently": false,
2447
+ "name": "activity_delivery_instance_created_index",
2448
+ "entityType": "indexes",
2449
+ "schema": "public",
2450
+ "table": "activity_deliveries"
2451
+ },
2452
+ {
2453
+ "nameExplicit": true,
2454
+ "columns": [
2455
+ {
2456
+ "value": "actor_id",
2457
+ "isExpression": false,
2458
+ "asc": true,
2459
+ "nullsFirst": false,
2460
+ "opclass": null
2461
+ }
2462
+ ],
2463
+ "isUnique": false,
2464
+ "where": null,
2465
+ "with": "",
2466
+ "method": "btree",
2467
+ "concurrently": false,
2468
+ "name": "activity_delivery_actor_index",
2469
+ "entityType": "indexes",
2470
+ "schema": "public",
2471
+ "table": "activity_deliveries"
2472
+ },
2473
+ {
2474
+ "nameExplicit": true,
2475
+ "columns": [
2476
+ {
2477
+ "value": "verification_key_id",
2478
+ "isExpression": false,
2479
+ "asc": true,
2480
+ "nullsFirst": false,
2481
+ "opclass": null
2482
+ }
2483
+ ],
2484
+ "isUnique": false,
2485
+ "where": null,
2486
+ "with": "",
2487
+ "method": "btree",
2488
+ "concurrently": false,
2489
+ "name": "activity_delivery_verification_key_index",
2490
+ "entityType": "indexes",
2491
+ "schema": "public",
2492
+ "table": "activity_deliveries"
2493
+ },
2494
+ {
2495
+ "nameExplicit": true,
2496
+ "columns": [
2497
+ {
2498
+ "value": "activity_iri",
2499
+ "isExpression": false,
2500
+ "asc": true,
2501
+ "nullsFirst": false,
2502
+ "opclass": null
2503
+ },
2504
+ {
2505
+ "value": "inbox_url",
2506
+ "isExpression": false,
2507
+ "asc": true,
2508
+ "nullsFirst": false,
2509
+ "opclass": null
2510
+ }
2511
+ ],
2512
+ "isUnique": false,
2513
+ "where": "\"direction\" = 'outbound'",
2514
+ "with": "",
2515
+ "method": "btree",
2516
+ "concurrently": false,
2517
+ "name": "activity_delivery_outbound_index",
2518
+ "entityType": "indexes",
2519
+ "schema": "public",
2520
+ "table": "activity_deliveries"
2521
+ },
2522
+ {
2523
+ "nameExplicit": true,
2524
+ "columns": [
2525
+ {
2526
+ "value": "actor_id",
2527
+ "isExpression": false,
2528
+ "asc": true,
2529
+ "nullsFirst": false,
2530
+ "opclass": null
2531
+ },
2532
+ {
2533
+ "value": "\"created\" desc",
2534
+ "isExpression": true,
2535
+ "asc": true,
2536
+ "nullsFirst": false,
2537
+ "opclass": null
2538
+ },
2539
+ {
2540
+ "value": "\"delivery_id\" desc",
2541
+ "isExpression": true,
2542
+ "asc": true,
2543
+ "nullsFirst": false,
2544
+ "opclass": null
2545
+ }
2546
+ ],
2547
+ "isUnique": false,
2548
+ "where": null,
2549
+ "with": "",
2550
+ "method": "btree",
2551
+ "concurrently": false,
2552
+ "name": "activity_delivery_actor_created_index",
2553
+ "entityType": "indexes",
2554
+ "schema": "public",
2555
+ "table": "activity_delivery_actors"
2556
+ },
2557
+ {
2558
+ "nameExplicit": true,
2559
+ "columns": [
2560
+ {
2561
+ "value": "delivery_id",
2562
+ "isExpression": false,
2563
+ "asc": true,
2564
+ "nullsFirst": false,
2565
+ "opclass": null
2566
+ },
2567
+ {
2568
+ "value": "created",
2569
+ "isExpression": false,
2570
+ "asc": true,
2571
+ "nullsFirst": false,
2572
+ "opclass": null
2573
+ },
2574
+ {
2575
+ "value": "id",
2576
+ "isExpression": false,
2577
+ "asc": true,
2578
+ "nullsFirst": false,
2579
+ "opclass": null
2580
+ }
2581
+ ],
2582
+ "isUnique": false,
2583
+ "where": null,
2584
+ "with": "",
2585
+ "method": "btree",
2586
+ "concurrently": false,
2587
+ "name": "activity_delivery_attempt_delivery_index",
2588
+ "entityType": "indexes",
2589
+ "schema": "public",
2590
+ "table": "activity_delivery_attempts"
2591
+ },
2592
+ {
2593
+ "nameExplicit": true,
2594
+ "columns": [
2595
+ {
2596
+ "value": "collection_id",
2597
+ "isExpression": false,
2598
+ "asc": true,
2599
+ "nullsFirst": false,
2600
+ "opclass": null
2601
+ }
2602
+ ],
2603
+ "isUnique": false,
2604
+ "where": null,
2605
+ "with": "",
2606
+ "method": "btree",
2607
+ "concurrently": false,
2608
+ "name": "actor_collection_reference_collection_index",
2609
+ "entityType": "indexes",
2610
+ "schema": "public",
2611
+ "table": "actor_collection_references"
2612
+ },
2613
+ {
2614
+ "nameExplicit": true,
2615
+ "columns": [
2616
+ {
2617
+ "value": "instance_id",
2618
+ "isExpression": false,
2619
+ "asc": true,
2620
+ "nullsFirst": false,
2621
+ "opclass": null
2622
+ }
2623
+ ],
2624
+ "isUnique": false,
2625
+ "where": null,
2626
+ "with": "",
2627
+ "method": "btree",
2628
+ "concurrently": false,
2629
+ "name": "actor_instance_index",
2630
+ "entityType": "indexes",
2631
+ "schema": "public",
2632
+ "table": "actors"
2633
+ },
2634
+ {
2635
+ "nameExplicit": true,
2636
+ "columns": [
2637
+ {
2638
+ "value": "target_id",
2639
+ "isExpression": false,
2640
+ "asc": true,
2641
+ "nullsFirst": false,
2642
+ "opclass": null
2643
+ },
2644
+ {
2645
+ "value": "property",
2646
+ "isExpression": false,
2647
+ "asc": true,
2648
+ "nullsFirst": false,
2649
+ "opclass": null
2650
+ }
2651
+ ],
2652
+ "isUnique": false,
2653
+ "where": null,
2654
+ "with": "",
2655
+ "method": "btree",
2656
+ "concurrently": false,
2657
+ "name": "addressing_target_property_index",
2658
+ "entityType": "indexes",
2659
+ "schema": "public",
2660
+ "table": "addressing"
2661
+ },
2662
+ {
2663
+ "nameExplicit": true,
2664
+ "columns": [
2665
+ {
2666
+ "value": "collection_id",
2667
+ "isExpression": false,
2668
+ "asc": true,
2669
+ "nullsFirst": false,
2670
+ "opclass": null
2671
+ },
2672
+ {
2673
+ "value": "position",
2674
+ "isExpression": false,
2675
+ "asc": true,
2676
+ "nullsFirst": false,
2677
+ "opclass": null
2678
+ }
2679
+ ],
2680
+ "isUnique": false,
2681
+ "where": null,
2682
+ "with": "",
2683
+ "method": "btree",
2684
+ "concurrently": false,
2685
+ "name": "collection_item_position_index",
2686
+ "entityType": "indexes",
2687
+ "schema": "public",
2688
+ "table": "collection_items"
2689
+ },
2690
+ {
2691
+ "nameExplicit": false,
2692
+ "columns": [
2693
+ {
2694
+ "value": "account_id",
2695
+ "isExpression": false,
2696
+ "asc": true,
2697
+ "nullsFirst": false,
2698
+ "opclass": null
2699
+ }
2700
+ ],
2701
+ "isUnique": false,
2702
+ "where": "\"accepted\" IS NOT NULL",
2703
+ "with": "",
2704
+ "method": "btree",
2705
+ "concurrently": false,
2706
+ "name": "instance_members_accountId_index",
2707
+ "entityType": "indexes",
2708
+ "schema": "public",
2709
+ "table": "instance_members"
2710
+ },
2711
+ {
2712
+ "nameExplicit": false,
2713
+ "columns": [
2714
+ {
2715
+ "value": "instance_id",
2716
+ "isExpression": false,
2717
+ "asc": true,
2718
+ "nullsFirst": false,
2719
+ "opclass": null
2720
+ }
2721
+ ],
2722
+ "isUnique": false,
2723
+ "where": "\"accepted\" IS NOT NULL",
2724
+ "with": "",
2725
+ "method": "btree",
2726
+ "concurrently": false,
2727
+ "name": "instance_members_instanceId_index",
2728
+ "entityType": "indexes",
2729
+ "schema": "public",
2730
+ "table": "instance_members"
2731
+ },
2732
+ {
2733
+ "nameExplicit": true,
2734
+ "columns": [
2735
+ {
2736
+ "value": "key_id",
2737
+ "isExpression": false,
2738
+ "asc": true,
2739
+ "nullsFirst": false,
2740
+ "opclass": null
2741
+ },
2742
+ {
2743
+ "value": "first_seen",
2744
+ "isExpression": false,
2745
+ "asc": true,
2746
+ "nullsFirst": false,
2747
+ "opclass": null
2748
+ },
2749
+ {
2750
+ "value": "id",
2751
+ "isExpression": false,
2752
+ "asc": true,
2753
+ "nullsFirst": false,
2754
+ "opclass": null
2755
+ }
2756
+ ],
2757
+ "isUnique": false,
2758
+ "where": null,
2759
+ "with": "",
2760
+ "method": "btree",
2761
+ "concurrently": false,
2762
+ "name": "key_version_key_first_seen_index",
2763
+ "entityType": "indexes",
2764
+ "schema": "public",
2765
+ "table": "key_versions"
2766
+ },
2767
+ {
2768
+ "nameExplicit": true,
2769
+ "columns": [
2770
+ {
2771
+ "value": "actor_id",
2772
+ "isExpression": false,
2773
+ "asc": true,
2774
+ "nullsFirst": false,
2775
+ "opclass": null
2776
+ },
2777
+ {
2778
+ "value": "\"published\" desc",
2779
+ "isExpression": true,
2780
+ "asc": true,
2781
+ "nullsFirst": false,
2782
+ "opclass": null
2783
+ },
2784
+ {
2785
+ "value": "\"id\" desc",
2786
+ "isExpression": true,
2787
+ "asc": true,
2788
+ "nullsFirst": false,
2789
+ "opclass": null
2790
+ }
2791
+ ],
2792
+ "isUnique": false,
2793
+ "where": null,
2794
+ "with": "",
2795
+ "method": "btree",
2796
+ "concurrently": false,
2797
+ "name": "object_actor_published_index",
2798
+ "entityType": "indexes",
2799
+ "schema": "public",
2800
+ "table": "objects"
2801
+ },
2802
+ {
2803
+ "nameExplicit": false,
2804
+ "columns": ["id"],
2805
+ "schemaTo": "public",
2806
+ "tableTo": "resources",
2807
+ "columnsTo": ["id"],
2808
+ "onUpdate": "NO ACTION",
2809
+ "onDelete": "CASCADE",
2810
+ "name": "activities_id_resources_id_fkey",
2811
+ "entityType": "fks",
2812
+ "schema": "public",
2813
+ "table": "activities"
2814
+ },
2815
+ {
2816
+ "nameExplicit": false,
2817
+ "columns": ["actor_id"],
2818
+ "schemaTo": "public",
2819
+ "tableTo": "actors",
2820
+ "columnsTo": ["id"],
2821
+ "onUpdate": "NO ACTION",
2822
+ "onDelete": "CASCADE",
2823
+ "name": "activities_actorId_actors_id_fkey",
2824
+ "entityType": "fks",
2825
+ "schema": "public",
2826
+ "table": "activities"
2827
+ },
2828
+ {
2829
+ "nameExplicit": false,
2830
+ "columns": ["object_id"],
2831
+ "schemaTo": "public",
2832
+ "tableTo": "resources",
2833
+ "columnsTo": ["id"],
2834
+ "onUpdate": "NO ACTION",
2835
+ "onDelete": "CASCADE",
2836
+ "name": "activities_objectId_resources_id_fkey",
2837
+ "entityType": "fks",
2838
+ "schema": "public",
2839
+ "table": "activities"
2840
+ },
2841
+ {
2842
+ "nameExplicit": false,
2843
+ "columns": ["instance_id"],
2844
+ "schemaTo": "public",
2845
+ "tableTo": "instances",
2846
+ "columnsTo": ["id"],
2847
+ "onUpdate": "NO ACTION",
2848
+ "onDelete": "CASCADE",
2849
+ "name": "activity_deliveries_instance_id_instances_id_fkey",
2850
+ "entityType": "fks",
2851
+ "schema": "public",
2852
+ "table": "activity_deliveries"
2853
+ },
2854
+ {
2855
+ "nameExplicit": false,
2856
+ "columns": ["actor_id"],
2857
+ "schemaTo": "public",
2858
+ "tableTo": "actors",
2859
+ "columnsTo": ["id"],
2860
+ "onUpdate": "NO ACTION",
2861
+ "onDelete": "SET NULL",
2862
+ "name": "activity_deliveries_actor_id_actors_id_fkey",
2863
+ "entityType": "fks",
2864
+ "schema": "public",
2865
+ "table": "activity_deliveries"
2866
+ },
2867
+ {
2868
+ "nameExplicit": false,
2869
+ "columns": ["verification_key_id"],
2870
+ "schemaTo": "public",
2871
+ "tableTo": "key_versions",
2872
+ "columnsTo": ["id"],
2873
+ "onUpdate": "NO ACTION",
2874
+ "onDelete": "RESTRICT",
2875
+ "name": "activity_deliveries_verification_key_id_key_versions_id_fkey",
2876
+ "entityType": "fks",
2877
+ "schema": "public",
2878
+ "table": "activity_deliveries"
2879
+ },
2880
+ {
2881
+ "nameExplicit": true,
2882
+ "columns": ["delivery_id", "actor_id"],
2883
+ "schemaTo": "public",
2884
+ "tableTo": "activity_delivery_actors",
2885
+ "columnsTo": ["delivery_id", "actor_id"],
2886
+ "onUpdate": "NO ACTION",
2887
+ "onDelete": "CASCADE",
2888
+ "name": "activity_delivery_actor_collections_link_fkey",
2889
+ "entityType": "fks",
2890
+ "schema": "public",
2891
+ "table": "activity_delivery_actor_collections"
2892
+ },
2893
+ {
2894
+ "nameExplicit": false,
2895
+ "columns": ["delivery_id"],
2896
+ "schemaTo": "public",
2897
+ "tableTo": "activity_deliveries",
2898
+ "columnsTo": ["id"],
2899
+ "onUpdate": "NO ACTION",
2900
+ "onDelete": "CASCADE",
2901
+ "name": "activity_delivery_actors_eZEmaeqml3qX_fkey",
2902
+ "entityType": "fks",
2903
+ "schema": "public",
2904
+ "table": "activity_delivery_actors"
2905
+ },
2906
+ {
2907
+ "nameExplicit": false,
2908
+ "columns": ["actor_id"],
2909
+ "schemaTo": "public",
2910
+ "tableTo": "actors",
2911
+ "columnsTo": ["id"],
2912
+ "onUpdate": "NO ACTION",
2913
+ "onDelete": "CASCADE",
2914
+ "name": "activity_delivery_actors_actor_id_actors_id_fkey",
2915
+ "entityType": "fks",
2916
+ "schema": "public",
2917
+ "table": "activity_delivery_actors"
2918
+ },
2919
+ {
2920
+ "nameExplicit": false,
2921
+ "columns": ["delivery_id"],
2922
+ "schemaTo": "public",
2923
+ "tableTo": "activity_deliveries",
2924
+ "columnsTo": ["id"],
2925
+ "onUpdate": "NO ACTION",
2926
+ "onDelete": "CASCADE",
2927
+ "name": "activity_delivery_attempts_BJqYxUSnVaXX_fkey",
2928
+ "entityType": "fks",
2929
+ "schema": "public",
2930
+ "table": "activity_delivery_attempts"
2931
+ },
2932
+ {
2933
+ "nameExplicit": false,
2934
+ "columns": ["actor_id"],
2935
+ "schemaTo": "public",
2936
+ "tableTo": "actors",
2937
+ "columnsTo": ["id"],
2938
+ "onUpdate": "NO ACTION",
2939
+ "onDelete": "CASCADE",
2940
+ "name": "actor_collection_references_actorId_actors_id_fkey",
2941
+ "entityType": "fks",
2942
+ "schema": "public",
2943
+ "table": "actor_collection_references"
2944
+ },
2945
+ {
2946
+ "nameExplicit": false,
2947
+ "columns": ["collection_id"],
2948
+ "schemaTo": "public",
2949
+ "tableTo": "collections",
2950
+ "columnsTo": ["id"],
2951
+ "onUpdate": "NO ACTION",
2952
+ "onDelete": "CASCADE",
2953
+ "name": "actor_collection_references_collectionId_collections_id_fkey",
2954
+ "entityType": "fks",
2955
+ "schema": "public",
2956
+ "table": "actor_collection_references"
2957
+ },
2958
+ {
2959
+ "nameExplicit": false,
2960
+ "columns": ["id"],
2961
+ "schemaTo": "public",
2962
+ "tableTo": "resources",
2963
+ "columnsTo": ["id"],
2964
+ "onUpdate": "NO ACTION",
2965
+ "onDelete": "CASCADE",
2966
+ "name": "actors_id_resources_id_fkey",
2967
+ "entityType": "fks",
2968
+ "schema": "public",
2969
+ "table": "actors"
2970
+ },
2971
+ {
2972
+ "nameExplicit": false,
2973
+ "columns": ["local_id"],
2974
+ "schemaTo": "public",
2975
+ "tableTo": "local_actors",
2976
+ "columnsTo": ["id"],
2977
+ "onUpdate": "NO ACTION",
2978
+ "onDelete": "CASCADE",
2979
+ "name": "actors_localId_local_actors_id_fkey",
2980
+ "entityType": "fks",
2981
+ "schema": "public",
2982
+ "table": "actors"
2983
+ },
2984
+ {
2985
+ "nameExplicit": false,
2986
+ "columns": ["instance_id"],
2987
+ "schemaTo": "public",
2988
+ "tableTo": "instances",
2989
+ "columnsTo": ["id"],
2990
+ "onUpdate": "NO ACTION",
2991
+ "onDelete": "CASCADE",
2992
+ "name": "actors_instanceId_instances_id_fkey",
2993
+ "entityType": "fks",
2994
+ "schema": "public",
2995
+ "table": "actors"
2996
+ },
2997
+ {
2998
+ "nameExplicit": false,
2999
+ "columns": ["successor_id"],
3000
+ "schemaTo": "public",
3001
+ "tableTo": "actors",
3002
+ "columnsTo": ["id"],
3003
+ "onUpdate": "NO ACTION",
3004
+ "onDelete": "SET NULL",
3005
+ "name": "actors_successorId_actors_id_fkey",
3006
+ "entityType": "fks",
3007
+ "schema": "public",
3008
+ "table": "actors"
3009
+ },
3010
+ {
3011
+ "nameExplicit": false,
3012
+ "columns": ["source_id"],
3013
+ "schemaTo": "public",
3014
+ "tableTo": "resources",
3015
+ "columnsTo": ["id"],
3016
+ "onUpdate": "NO ACTION",
3017
+ "onDelete": "CASCADE",
3018
+ "name": "addressing_sourceId_resources_id_fkey",
3019
+ "entityType": "fks",
3020
+ "schema": "public",
3021
+ "table": "addressing"
3022
+ },
3023
+ {
3024
+ "nameExplicit": false,
3025
+ "columns": ["target_id"],
3026
+ "schemaTo": "public",
3027
+ "tableTo": "resources",
3028
+ "columnsTo": ["id"],
3029
+ "onUpdate": "NO ACTION",
3030
+ "onDelete": "RESTRICT",
3031
+ "name": "addressing_targetId_resources_id_fkey",
3032
+ "entityType": "fks",
3033
+ "schema": "public",
3034
+ "table": "addressing"
3035
+ },
3036
+ {
3037
+ "nameExplicit": false,
3038
+ "columns": ["collection_id"],
3039
+ "schemaTo": "public",
3040
+ "tableTo": "collections",
3041
+ "columnsTo": ["id"],
3042
+ "onUpdate": "NO ACTION",
3043
+ "onDelete": "CASCADE",
3044
+ "name": "collection_items_collectionId_collections_id_fkey",
3045
+ "entityType": "fks",
3046
+ "schema": "public",
3047
+ "table": "collection_items"
3048
+ },
3049
+ {
3050
+ "nameExplicit": false,
3051
+ "columns": ["item_id"],
3052
+ "schemaTo": "public",
3053
+ "tableTo": "resources",
3054
+ "columnsTo": ["id"],
3055
+ "onUpdate": "NO ACTION",
3056
+ "onDelete": "CASCADE",
3057
+ "name": "collection_items_itemId_resources_id_fkey",
3058
+ "entityType": "fks",
3059
+ "schema": "public",
3060
+ "table": "collection_items"
3061
+ },
3062
+ {
3063
+ "nameExplicit": false,
3064
+ "columns": ["id"],
3065
+ "schemaTo": "public",
3066
+ "tableTo": "resources",
3067
+ "columnsTo": ["id"],
3068
+ "onUpdate": "NO ACTION",
3069
+ "onDelete": "CASCADE",
3070
+ "name": "collections_id_resources_id_fkey",
3071
+ "entityType": "fks",
3072
+ "schema": "public",
3073
+ "table": "collections"
3074
+ },
3075
+ {
3076
+ "nameExplicit": false,
3077
+ "columns": ["owner_actor_id"],
3078
+ "schemaTo": "public",
3079
+ "tableTo": "actors",
3080
+ "columnsTo": ["id"],
3081
+ "onUpdate": "NO ACTION",
3082
+ "onDelete": "CASCADE",
3083
+ "name": "collections_ownerActorId_actors_id_fkey",
3084
+ "entityType": "fks",
3085
+ "schema": "public",
3086
+ "table": "collections"
3087
+ },
3088
+ {
3089
+ "nameExplicit": false,
3090
+ "columns": ["account_id"],
3091
+ "schemaTo": "public",
3092
+ "tableTo": "accounts",
3093
+ "columnsTo": ["id"],
3094
+ "onUpdate": "NO ACTION",
3095
+ "onDelete": "NO ACTION",
3096
+ "name": "instance_members_accountId_accounts_id_fkey",
3097
+ "entityType": "fks",
3098
+ "schema": "public",
3099
+ "table": "instance_members"
3100
+ },
3101
+ {
3102
+ "nameExplicit": false,
3103
+ "columns": ["instance_id"],
3104
+ "schemaTo": "public",
3105
+ "tableTo": "instances",
3106
+ "columnsTo": ["id"],
3107
+ "onUpdate": "NO ACTION",
3108
+ "onDelete": "NO ACTION",
3109
+ "name": "instance_members_instanceId_instances_id_fkey",
3110
+ "entityType": "fks",
3111
+ "schema": "public",
3112
+ "table": "instance_members"
3113
+ },
3114
+ {
3115
+ "nameExplicit": false,
3116
+ "columns": ["local_id"],
3117
+ "schemaTo": "public",
3118
+ "tableTo": "local_instances",
3119
+ "columnsTo": ["id"],
3120
+ "onUpdate": "NO ACTION",
3121
+ "onDelete": "CASCADE",
3122
+ "name": "instances_localId_local_instances_id_fkey",
3123
+ "entityType": "fks",
3124
+ "schema": "public",
3125
+ "table": "instances"
3126
+ },
3127
+ {
3128
+ "nameExplicit": false,
3129
+ "columns": ["key_id"],
3130
+ "schemaTo": "public",
3131
+ "tableTo": "keys",
3132
+ "columnsTo": ["id"],
3133
+ "onUpdate": "NO ACTION",
3134
+ "onDelete": "RESTRICT",
3135
+ "name": "key_versions_key_id_keys_id_fkey",
3136
+ "entityType": "fks",
3137
+ "schema": "public",
3138
+ "table": "key_versions"
3139
+ },
3140
+ {
3141
+ "nameExplicit": false,
3142
+ "columns": ["local_actor_id"],
3143
+ "schemaTo": "public",
3144
+ "tableTo": "local_actors",
3145
+ "columnsTo": ["id"],
3146
+ "onUpdate": "NO ACTION",
3147
+ "onDelete": "CASCADE",
3148
+ "name": "local_actor_keys_local_actor_id_local_actors_id_fkey",
3149
+ "entityType": "fks",
3150
+ "schema": "public",
3151
+ "table": "local_actor_keys"
3152
+ },
3153
+ {
3154
+ "nameExplicit": false,
3155
+ "columns": ["account_id"],
3156
+ "schemaTo": "public",
3157
+ "tableTo": "accounts",
3158
+ "columnsTo": ["id"],
3159
+ "onUpdate": "NO ACTION",
3160
+ "onDelete": "CASCADE",
3161
+ "name": "login_tokens_accountId_accounts_id_fkey",
3162
+ "entityType": "fks",
3163
+ "schema": "public",
3164
+ "table": "login_challenges"
3165
+ },
3166
+ {
3167
+ "nameExplicit": false,
3168
+ "columns": ["id"],
3169
+ "schemaTo": "public",
3170
+ "tableTo": "resources",
3171
+ "columnsTo": ["id"],
3172
+ "onUpdate": "NO ACTION",
3173
+ "onDelete": "CASCADE",
3174
+ "name": "objects_id_resources_id_fkey",
3175
+ "entityType": "fks",
3176
+ "schema": "public",
3177
+ "table": "objects"
3178
+ },
3179
+ {
3180
+ "nameExplicit": false,
3181
+ "columns": ["actor_id"],
3182
+ "schemaTo": "public",
3183
+ "tableTo": "actors",
3184
+ "columnsTo": ["id"],
3185
+ "onUpdate": "NO ACTION",
3186
+ "onDelete": "CASCADE",
3187
+ "name": "objects_actorId_actors_id_fkey",
3188
+ "entityType": "fks",
3189
+ "schema": "public",
3190
+ "table": "objects"
3191
+ },
3192
+ {
3193
+ "nameExplicit": false,
3194
+ "columns": ["account_id"],
3195
+ "schemaTo": "public",
3196
+ "tableTo": "accounts",
3197
+ "columnsTo": ["id"],
3198
+ "onUpdate": "NO ACTION",
3199
+ "onDelete": "CASCADE",
3200
+ "name": "sessions_accountId_accounts_id_fkey",
3201
+ "entityType": "fks",
3202
+ "schema": "public",
3203
+ "table": "sessions"
3204
+ },
3205
+ {
3206
+ "columns": ["delivery_id", "actor_id", "collection_iri"],
3207
+ "nameExplicit": false,
3208
+ "name": "activity_delivery_actor_collections_pkey",
3209
+ "entityType": "pks",
3210
+ "schema": "public",
3211
+ "table": "activity_delivery_actor_collections"
3212
+ },
3213
+ {
3214
+ "columns": ["delivery_id", "actor_id"],
3215
+ "nameExplicit": false,
3216
+ "name": "activity_delivery_actors_pkey",
3217
+ "entityType": "pks",
3218
+ "schema": "public",
3219
+ "table": "activity_delivery_actors"
3220
+ },
3221
+ {
3222
+ "columns": ["actor_id", "role"],
3223
+ "nameExplicit": false,
3224
+ "name": "actor_collection_references_pkey",
3225
+ "entityType": "pks",
3226
+ "schema": "public",
3227
+ "table": "actor_collection_references"
3228
+ },
3229
+ {
3230
+ "columns": ["collection_id", "item_id"],
3231
+ "nameExplicit": false,
3232
+ "name": "collection_items_pkey",
3233
+ "entityType": "pks",
3234
+ "schema": "public",
3235
+ "table": "collection_items"
3236
+ },
3237
+ {
3238
+ "columns": ["instance_id", "account_id"],
3239
+ "nameExplicit": false,
3240
+ "name": "instance_members_pkey",
3241
+ "entityType": "pks",
3242
+ "schema": "public",
3243
+ "table": "instance_members"
3244
+ },
3245
+ {
3246
+ "columns": ["local_actor_id", "type"],
3247
+ "nameExplicit": false,
3248
+ "name": "local_actor_keys_pkey",
3249
+ "entityType": "pks",
3250
+ "schema": "public",
3251
+ "table": "local_actor_keys"
3252
+ },
3253
+ {
3254
+ "columns": ["id"],
3255
+ "nameExplicit": false,
3256
+ "name": "accounts_pkey",
3257
+ "schema": "public",
3258
+ "table": "accounts",
3259
+ "entityType": "pks"
3260
+ },
3261
+ {
3262
+ "columns": ["id"],
3263
+ "nameExplicit": false,
3264
+ "name": "activities_pkey",
3265
+ "schema": "public",
3266
+ "table": "activities",
3267
+ "entityType": "pks"
3268
+ },
3269
+ {
3270
+ "columns": ["id"],
3271
+ "nameExplicit": false,
3272
+ "name": "activity_deliveries_pkey",
3273
+ "schema": "public",
3274
+ "table": "activity_deliveries",
3275
+ "entityType": "pks"
3276
+ },
3277
+ {
3278
+ "columns": ["id"],
3279
+ "nameExplicit": false,
3280
+ "name": "activity_delivery_attempts_pkey",
3281
+ "schema": "public",
3282
+ "table": "activity_delivery_attempts",
3283
+ "entityType": "pks"
3284
+ },
3285
+ {
3286
+ "columns": ["id"],
3287
+ "nameExplicit": false,
3288
+ "name": "actors_pkey",
3289
+ "schema": "public",
3290
+ "table": "actors",
3291
+ "entityType": "pks"
3292
+ },
3293
+ {
3294
+ "columns": ["id"],
3295
+ "nameExplicit": false,
3296
+ "name": "addressing_pkey",
3297
+ "schema": "public",
3298
+ "table": "addressing",
3299
+ "entityType": "pks"
3300
+ },
3301
+ {
3302
+ "columns": ["id"],
3303
+ "nameExplicit": false,
3304
+ "name": "collections_pkey",
3305
+ "schema": "public",
3306
+ "table": "collections",
3307
+ "entityType": "pks"
3308
+ },
3309
+ {
3310
+ "columns": ["id"],
3311
+ "nameExplicit": false,
3312
+ "name": "instances_pkey",
3313
+ "schema": "public",
3314
+ "table": "instances",
3315
+ "entityType": "pks"
3316
+ },
3317
+ {
3318
+ "columns": ["id"],
3319
+ "nameExplicit": false,
3320
+ "name": "key_versions_pkey",
3321
+ "schema": "public",
3322
+ "table": "key_versions",
3323
+ "entityType": "pks"
3324
+ },
3325
+ {
3326
+ "columns": ["id"],
3327
+ "nameExplicit": false,
3328
+ "name": "keys_pkey",
3329
+ "schema": "public",
3330
+ "table": "keys",
3331
+ "entityType": "pks"
3332
+ },
3333
+ {
3334
+ "columns": ["id"],
3335
+ "nameExplicit": false,
3336
+ "name": "local_actors_pkey",
3337
+ "schema": "public",
3338
+ "table": "local_actors",
3339
+ "entityType": "pks"
3340
+ },
3341
+ {
3342
+ "columns": ["id"],
3343
+ "nameExplicit": false,
3344
+ "name": "local_instances_pkey",
3345
+ "schema": "public",
3346
+ "table": "local_instances",
3347
+ "entityType": "pks"
3348
+ },
3349
+ {
3350
+ "columns": ["id"],
3351
+ "nameExplicit": false,
3352
+ "name": "login_tokens_pkey",
3353
+ "schema": "public",
3354
+ "table": "login_challenges",
3355
+ "entityType": "pks"
3356
+ },
3357
+ {
3358
+ "columns": ["id"],
3359
+ "nameExplicit": false,
3360
+ "name": "objects_pkey",
3361
+ "schema": "public",
3362
+ "table": "objects",
3363
+ "entityType": "pks"
3364
+ },
3365
+ {
3366
+ "columns": ["id"],
3367
+ "nameExplicit": false,
3368
+ "name": "resources_pkey",
3369
+ "schema": "public",
3370
+ "table": "resources",
3371
+ "entityType": "pks"
3372
+ },
3373
+ {
3374
+ "columns": ["id"],
3375
+ "nameExplicit": false,
3376
+ "name": "sessions_pkey",
3377
+ "schema": "public",
3378
+ "table": "sessions",
3379
+ "entityType": "pks"
3380
+ },
3381
+ {
3382
+ "nameExplicit": true,
3383
+ "columns": ["username", "instance_id"],
3384
+ "nullsNotDistinct": false,
3385
+ "name": "username_key",
3386
+ "entityType": "uniques",
3387
+ "schema": "public",
3388
+ "table": "actors"
3389
+ },
3390
+ {
3391
+ "nameExplicit": true,
3392
+ "columns": ["source_id", "property", "position"],
3393
+ "nullsNotDistinct": false,
3394
+ "name": "addressing_source_property_position_key",
3395
+ "entityType": "uniques",
3396
+ "schema": "public",
3397
+ "table": "addressing"
3398
+ },
3399
+ {
3400
+ "nameExplicit": true,
3401
+ "columns": ["key_id", "fingerprint"],
3402
+ "nullsNotDistinct": false,
3403
+ "name": "key_versions_key_id_fingerprint_unique",
3404
+ "entityType": "uniques",
3405
+ "schema": "public",
3406
+ "table": "key_versions"
3407
+ },
3408
+ {
3409
+ "nameExplicit": false,
3410
+ "columns": ["email"],
3411
+ "nullsNotDistinct": false,
3412
+ "name": "accounts_email_key",
3413
+ "schema": "public",
3414
+ "table": "accounts",
3415
+ "entityType": "uniques"
3416
+ },
3417
+ {
3418
+ "nameExplicit": false,
3419
+ "columns": ["local_id"],
3420
+ "nullsNotDistinct": false,
3421
+ "name": "actors_localId_key",
3422
+ "schema": "public",
3423
+ "table": "actors",
3424
+ "entityType": "uniques"
3425
+ },
3426
+ {
3427
+ "nameExplicit": false,
3428
+ "columns": ["host"],
3429
+ "nullsNotDistinct": false,
3430
+ "name": "instances_host_key",
3431
+ "schema": "public",
3432
+ "table": "instances",
3433
+ "entityType": "uniques"
3434
+ },
3435
+ {
3436
+ "nameExplicit": false,
3437
+ "columns": ["iri"],
3438
+ "nullsNotDistinct": false,
3439
+ "name": "keys_iri_key",
3440
+ "schema": "public",
3441
+ "table": "keys",
3442
+ "entityType": "uniques"
3443
+ },
3444
+ {
3445
+ "nameExplicit": false,
3446
+ "columns": ["slug"],
3447
+ "nullsNotDistinct": false,
3448
+ "name": "local_instances_slug_key",
3449
+ "schema": "public",
3450
+ "table": "local_instances",
3451
+ "entityType": "uniques"
3452
+ },
3453
+ {
3454
+ "nameExplicit": false,
3455
+ "columns": ["iri"],
3456
+ "nullsNotDistinct": false,
3457
+ "name": "resources_iri_key",
3458
+ "schema": "public",
3459
+ "table": "resources",
3460
+ "entityType": "uniques"
3461
+ },
3462
+ {
3463
+ "nameExplicit": false,
3464
+ "columns": ["token_hash"],
3465
+ "nullsNotDistinct": false,
3466
+ "name": "sessions_tokenHash_key",
3467
+ "schema": "public",
3468
+ "table": "sessions",
3469
+ "entityType": "uniques"
3470
+ },
3471
+ {
3472
+ "value": "\"email\" ~ '^[^@]+@[^@]+\\.[^@]+$'",
3473
+ "name": "accounts_email_check",
3474
+ "entityType": "checks",
3475
+ "schema": "public",
3476
+ "table": "accounts"
3477
+ },
3478
+ {
3479
+ "value": "\"max_instances\" >= 0",
3480
+ "name": "accounts_max_instances_check",
3481
+ "entityType": "checks",
3482
+ "schema": "public",
3483
+ "table": "accounts"
3484
+ },
3485
+ {
3486
+ "value": "trim(both from \"name\") <> ''",
3487
+ "name": "accounts_name_check",
3488
+ "entityType": "checks",
3489
+ "schema": "public",
3490
+ "table": "accounts"
3491
+ },
3492
+ {
3493
+ "value": "(\"direction\" = 'inbound' AND \"status\" IN ('received', 'acknowledged', 'unverified', 'rejected')) OR (\"direction\" = 'outbound' AND \"status\" IN ('queued', 'sent', 'failed', 'permanently_failed', 'abandoned'))",
3494
+ "name": "activity_deliveries_direction_status_check",
3495
+ "entityType": "checks",
3496
+ "schema": "public",
3497
+ "table": "activity_deliveries"
3498
+ },
3499
+ {
3500
+ "value": "(\"completed\" IS NULL) = (\"status\" = 'queued')",
3501
+ "name": "activity_deliveries_completed_check",
3502
+ "entityType": "checks",
3503
+ "schema": "public",
3504
+ "table": "activity_deliveries"
3505
+ },
3506
+ {
3507
+ "value": "\"status_code\" IS NULL OR \"status_code\" BETWEEN 100 AND 599",
3508
+ "name": "activity_deliveries_status_code_check",
3509
+ "entityType": "checks",
3510
+ "schema": "public",
3511
+ "table": "activity_deliveries"
3512
+ },
3513
+ {
3514
+ "value": "\"direction\" <> 'outbound' OR \"verification_key_id\" IS NULL",
3515
+ "name": "activity_deliveries_outbound_key_check",
3516
+ "entityType": "checks",
3517
+ "schema": "public",
3518
+ "table": "activity_deliveries"
3519
+ },
3520
+ {
3521
+ "value": "(\"direction\" = 'inbound') = (\"verification_result\" IS NOT NULL)",
3522
+ "name": "activity_deliveries_verification_result_check",
3523
+ "entityType": "checks",
3524
+ "schema": "public",
3525
+ "table": "activity_deliveries"
3526
+ },
3527
+ {
3528
+ "value": "\"verification_mechanism\" IS NULL OR (\"direction\" = 'inbound' AND \"verification_result\" NOT IN ('unattempted', 'unobserved'))",
3529
+ "name": "activity_deliveries_verification_mechanism_check",
3530
+ "entityType": "checks",
3531
+ "schema": "public",
3532
+ "table": "activity_deliveries"
3533
+ },
3534
+ {
3535
+ "value": "(\"direction\" = 'inbound') = (\"body\" IS NOT NULL)",
3536
+ "name": "activity_deliveries_body_check",
3537
+ "entityType": "checks",
3538
+ "schema": "public",
3539
+ "table": "activity_deliveries"
3540
+ },
3541
+ {
3542
+ "value": "\"inbox_owner\" OR \"addressed\" OR \"sender\"",
3543
+ "name": "activity_delivery_actors_role_check",
3544
+ "entityType": "checks",
3545
+ "schema": "public",
3546
+ "table": "activity_delivery_actors"
3547
+ },
3548
+ {
3549
+ "value": "NOT \"addressed_directly\" OR \"addressed\"",
3550
+ "name": "activity_delivery_actors_addressed_directly_check",
3551
+ "entityType": "checks",
3552
+ "schema": "public",
3553
+ "table": "activity_delivery_actors"
3554
+ },
3555
+ {
3556
+ "value": "\"status_code\" IS NULL OR \"status_code\" BETWEEN 100 AND 599",
3557
+ "name": "activity_delivery_attempts_status_code_check",
3558
+ "entityType": "checks",
3559
+ "schema": "public",
3560
+ "table": "activity_delivery_attempts"
3561
+ },
3562
+ {
3563
+ "value": "\"succeeded\" = (\"error\" IS NULL)",
3564
+ "name": "activity_delivery_attempts_error_check",
3565
+ "entityType": "checks",
3566
+ "schema": "public",
3567
+ "table": "activity_delivery_attempts"
3568
+ },
3569
+ {
3570
+ "value": "\"username\" NOT LIKE '%@%'",
3571
+ "name": "actors_username_check",
3572
+ "entityType": "checks",
3573
+ "schema": "public",
3574
+ "table": "actors"
3575
+ },
3576
+ {
3577
+ "value": "\n \"suspended_until\" IS NULL OR (\n \"suspended\" IS NOT NULL AND\n \"suspended_until\" > \"suspended\"\n )\n ",
3578
+ "name": "actors_suspended_check",
3579
+ "entityType": "checks",
3580
+ "schema": "public",
3581
+ "table": "actors"
3582
+ },
3583
+ {
3584
+ "value": "\"last_seen\" >= \"first_seen\"",
3585
+ "name": "key_versions_seen_check",
3586
+ "entityType": "checks",
3587
+ "schema": "public",
3588
+ "table": "key_versions"
3589
+ },
3590
+ {
3591
+ "value": "NOT (\"public_key\" ?| array['d','p','q','dp','dq','qi','oth','k'])",
3592
+ "name": "key_versions_public_key_check",
3593
+ "entityType": "checks",
3594
+ "schema": "public",
3595
+ "table": "key_versions"
3596
+ },
3597
+ {
3598
+ "value": "jsonb_typeof(\"public_key\") = 'object' AND NOT (\"public_key\" ?| array['d','p','q','dp','dq','qi','oth','k'])",
3599
+ "name": "local_actor_keys_public_key_check",
3600
+ "entityType": "checks",
3601
+ "schema": "public",
3602
+ "table": "local_actor_keys"
3603
+ },
3604
+ {
3605
+ "value": "\"slug\" ~ '^[a-z0-9][a-z0-9-]{2,61}[a-z0-9]$'\n AND (\"slug\" !~ '^..--' OR \"slug\" ~ '^xn--')",
3606
+ "name": "local_instances_slug_check",
3607
+ "entityType": "checks",
3608
+ "schema": "public",
3609
+ "table": "local_instances"
3610
+ },
3611
+ {
3612
+ "value": "\"max_actors\" > 0",
3613
+ "name": "instances_max_actors_check",
3614
+ "entityType": "checks",
3615
+ "schema": "public",
3616
+ "table": "local_instances"
3617
+ },
3618
+ {
3619
+ "value": "trim(both from \"content_html\") <> ''",
3620
+ "name": "objects_content_html_check",
3621
+ "entityType": "checks",
3622
+ "schema": "public",
3623
+ "table": "objects"
3624
+ }
3625
+ ],
3626
+ "renames": []
3627
+ }