@wrenautomation/aerie 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1781 @@
1
+ {
2
+ "id": "33d95324-ff54-4d2e-aae4-4dbcbbb1db0a",
3
+ "prevId": "dca8edba-80ac-41cd-9287-247ff0371af3",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "aerie.actor": {
8
+ "name": "actor",
9
+ "schema": "aerie",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "text",
14
+ "primaryKey": false,
15
+ "notNull": true
16
+ },
17
+ "kind": {
18
+ "name": "kind",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "name": {
24
+ "name": "name",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "email": {
30
+ "name": "email",
31
+ "type": "text",
32
+ "primaryKey": false,
33
+ "notNull": false
34
+ }
35
+ },
36
+ "indexes": {},
37
+ "foreignKeys": {},
38
+ "compositePrimaryKeys": {
39
+ "pk_actor": {
40
+ "name": "pk_actor",
41
+ "columns": [
42
+ "id"
43
+ ]
44
+ }
45
+ },
46
+ "uniqueConstraints": {
47
+ "actor_email": {
48
+ "name": "actor_email",
49
+ "nullsNotDistinct": false,
50
+ "columns": [
51
+ "email"
52
+ ]
53
+ }
54
+ },
55
+ "policies": {},
56
+ "checkConstraints": {
57
+ "actor_kind": {
58
+ "name": "actor_kind",
59
+ "value": "\"kind\" IN ('person', 'agent', 'runner')"
60
+ }
61
+ },
62
+ "isRLSEnabled": false
63
+ },
64
+ "aerie.area": {
65
+ "name": "area",
66
+ "schema": "aerie",
67
+ "columns": {
68
+ "id": {
69
+ "name": "id",
70
+ "type": "serial",
71
+ "primaryKey": false,
72
+ "notNull": true
73
+ },
74
+ "parent_id": {
75
+ "name": "parent_id",
76
+ "type": "integer",
77
+ "primaryKey": false,
78
+ "notNull": false
79
+ },
80
+ "slug": {
81
+ "name": "slug",
82
+ "type": "text",
83
+ "primaryKey": false,
84
+ "notNull": true
85
+ },
86
+ "name": {
87
+ "name": "name",
88
+ "type": "text",
89
+ "primaryKey": false,
90
+ "notNull": true
91
+ },
92
+ "description": {
93
+ "name": "description",
94
+ "type": "text",
95
+ "primaryKey": false,
96
+ "notNull": false
97
+ },
98
+ "mirror": {
99
+ "name": "mirror",
100
+ "type": "boolean",
101
+ "primaryKey": false,
102
+ "notNull": true,
103
+ "default": false
104
+ },
105
+ "sort": {
106
+ "name": "sort",
107
+ "type": "double precision",
108
+ "primaryKey": false,
109
+ "notNull": true,
110
+ "default": 0
111
+ }
112
+ },
113
+ "indexes": {},
114
+ "foreignKeys": {
115
+ "fk_area_parent_id_area": {
116
+ "name": "fk_area_parent_id_area",
117
+ "tableFrom": "area",
118
+ "tableTo": "area",
119
+ "schemaTo": "aerie",
120
+ "columnsFrom": [
121
+ "parent_id"
122
+ ],
123
+ "columnsTo": [
124
+ "id"
125
+ ],
126
+ "onDelete": "restrict",
127
+ "onUpdate": "no action"
128
+ }
129
+ },
130
+ "compositePrimaryKeys": {
131
+ "pk_area": {
132
+ "name": "pk_area",
133
+ "columns": [
134
+ "id"
135
+ ]
136
+ }
137
+ },
138
+ "uniqueConstraints": {
139
+ "area_parent_slug": {
140
+ "name": "area_parent_slug",
141
+ "nullsNotDistinct": true,
142
+ "columns": [
143
+ "parent_id",
144
+ "slug"
145
+ ]
146
+ }
147
+ },
148
+ "policies": {},
149
+ "checkConstraints": {
150
+ "area_slug_shape": {
151
+ "name": "area_slug_shape",
152
+ "value": "\"aerie\".\"area\".\"slug\" ~ '^[a-z0-9][a-z0-9-]*$'"
153
+ }
154
+ },
155
+ "isRLSEnabled": false
156
+ },
157
+ "aerie.area_role": {
158
+ "name": "area_role",
159
+ "schema": "aerie",
160
+ "columns": {
161
+ "area_id": {
162
+ "name": "area_id",
163
+ "type": "integer",
164
+ "primaryKey": false,
165
+ "notNull": true
166
+ },
167
+ "actor_id": {
168
+ "name": "actor_id",
169
+ "type": "text",
170
+ "primaryKey": false,
171
+ "notNull": true
172
+ },
173
+ "role": {
174
+ "name": "role",
175
+ "type": "text",
176
+ "primaryKey": false,
177
+ "notNull": true
178
+ }
179
+ },
180
+ "indexes": {
181
+ "area_role_actor_idx": {
182
+ "name": "area_role_actor_idx",
183
+ "columns": [
184
+ {
185
+ "expression": "actor_id",
186
+ "isExpression": false,
187
+ "asc": true,
188
+ "nulls": "last"
189
+ }
190
+ ],
191
+ "isUnique": false,
192
+ "concurrently": false,
193
+ "method": "btree",
194
+ "with": {}
195
+ }
196
+ },
197
+ "foreignKeys": {
198
+ "fk_area_role_area_id_area": {
199
+ "name": "fk_area_role_area_id_area",
200
+ "tableFrom": "area_role",
201
+ "tableTo": "area",
202
+ "schemaTo": "aerie",
203
+ "columnsFrom": [
204
+ "area_id"
205
+ ],
206
+ "columnsTo": [
207
+ "id"
208
+ ],
209
+ "onDelete": "cascade",
210
+ "onUpdate": "no action"
211
+ },
212
+ "fk_area_role_actor_id_actor": {
213
+ "name": "fk_area_role_actor_id_actor",
214
+ "tableFrom": "area_role",
215
+ "tableTo": "actor",
216
+ "schemaTo": "aerie",
217
+ "columnsFrom": [
218
+ "actor_id"
219
+ ],
220
+ "columnsTo": [
221
+ "id"
222
+ ],
223
+ "onDelete": "cascade",
224
+ "onUpdate": "no action"
225
+ }
226
+ },
227
+ "compositePrimaryKeys": {
228
+ "pk_area_role": {
229
+ "name": "pk_area_role",
230
+ "columns": [
231
+ "area_id",
232
+ "actor_id",
233
+ "role"
234
+ ]
235
+ }
236
+ },
237
+ "uniqueConstraints": {},
238
+ "policies": {},
239
+ "checkConstraints": {
240
+ "area_role_role": {
241
+ "name": "area_role_role",
242
+ "value": "\"role\" IN ('owner', 'manager', 'doer', 'watcher')"
243
+ }
244
+ },
245
+ "isRLSEnabled": false
246
+ },
247
+ "aerie.coord_closing": {
248
+ "name": "coord_closing",
249
+ "schema": "aerie",
250
+ "columns": {
251
+ "id": {
252
+ "name": "id",
253
+ "type": "bigserial",
254
+ "primaryKey": false,
255
+ "notNull": true
256
+ },
257
+ "ns": {
258
+ "name": "ns",
259
+ "type": "text",
260
+ "primaryKey": false,
261
+ "notNull": true
262
+ },
263
+ "task_id": {
264
+ "name": "task_id",
265
+ "type": "text",
266
+ "primaryKey": false,
267
+ "notNull": true
268
+ },
269
+ "holder": {
270
+ "name": "holder",
271
+ "type": "text",
272
+ "primaryKey": false,
273
+ "notNull": true
274
+ },
275
+ "reason": {
276
+ "name": "reason",
277
+ "type": "text",
278
+ "primaryKey": false,
279
+ "notNull": true
280
+ },
281
+ "at": {
282
+ "name": "at",
283
+ "type": "timestamp with time zone",
284
+ "primaryKey": false,
285
+ "notNull": true,
286
+ "default": "now()"
287
+ }
288
+ },
289
+ "indexes": {
290
+ "coord_closing_task_idx": {
291
+ "name": "coord_closing_task_idx",
292
+ "columns": [
293
+ {
294
+ "expression": "ns",
295
+ "isExpression": false,
296
+ "asc": true,
297
+ "nulls": "last"
298
+ },
299
+ {
300
+ "expression": "task_id",
301
+ "isExpression": false,
302
+ "asc": true,
303
+ "nulls": "last"
304
+ }
305
+ ],
306
+ "isUnique": false,
307
+ "concurrently": false,
308
+ "method": "btree",
309
+ "with": {}
310
+ }
311
+ },
312
+ "foreignKeys": {},
313
+ "compositePrimaryKeys": {
314
+ "pk_coord_closing": {
315
+ "name": "pk_coord_closing",
316
+ "columns": [
317
+ "id"
318
+ ]
319
+ }
320
+ },
321
+ "uniqueConstraints": {},
322
+ "policies": {},
323
+ "checkConstraints": {},
324
+ "isRLSEnabled": false
325
+ },
326
+ "aerie.coord_lease": {
327
+ "name": "coord_lease",
328
+ "schema": "aerie",
329
+ "columns": {
330
+ "ns": {
331
+ "name": "ns",
332
+ "type": "text",
333
+ "primaryKey": false,
334
+ "notNull": true
335
+ },
336
+ "task_id": {
337
+ "name": "task_id",
338
+ "type": "text",
339
+ "primaryKey": false,
340
+ "notNull": true
341
+ },
342
+ "holder": {
343
+ "name": "holder",
344
+ "type": "text",
345
+ "primaryKey": false,
346
+ "notNull": true
347
+ },
348
+ "gen": {
349
+ "name": "gen",
350
+ "type": "bigint",
351
+ "primaryKey": false,
352
+ "notNull": true
353
+ },
354
+ "expires": {
355
+ "name": "expires",
356
+ "type": "timestamp with time zone",
357
+ "primaryKey": false,
358
+ "notNull": true
359
+ },
360
+ "queued": {
361
+ "name": "queued",
362
+ "type": "boolean",
363
+ "primaryKey": false,
364
+ "notNull": true,
365
+ "default": false
366
+ },
367
+ "lane": {
368
+ "name": "lane",
369
+ "type": "text",
370
+ "primaryKey": false,
371
+ "notNull": false
372
+ },
373
+ "pin": {
374
+ "name": "pin",
375
+ "type": "text",
376
+ "primaryKey": false,
377
+ "notNull": false
378
+ },
379
+ "take_key": {
380
+ "name": "take_key",
381
+ "type": "text",
382
+ "primaryKey": false,
383
+ "notNull": false
384
+ }
385
+ },
386
+ "indexes": {},
387
+ "foreignKeys": {},
388
+ "compositePrimaryKeys": {
389
+ "pk_coord_lease": {
390
+ "name": "pk_coord_lease",
391
+ "columns": [
392
+ "ns",
393
+ "task_id",
394
+ "holder"
395
+ ]
396
+ }
397
+ },
398
+ "uniqueConstraints": {},
399
+ "policies": {},
400
+ "checkConstraints": {},
401
+ "isRLSEnabled": false
402
+ },
403
+ "aerie.coord_queue": {
404
+ "name": "coord_queue",
405
+ "schema": "aerie",
406
+ "columns": {
407
+ "ns": {
408
+ "name": "ns",
409
+ "type": "text",
410
+ "primaryKey": false,
411
+ "notNull": true
412
+ },
413
+ "task_id": {
414
+ "name": "task_id",
415
+ "type": "text",
416
+ "primaryKey": false,
417
+ "notNull": true
418
+ },
419
+ "lane": {
420
+ "name": "lane",
421
+ "type": "text",
422
+ "primaryKey": false,
423
+ "notNull": false
424
+ },
425
+ "pin": {
426
+ "name": "pin",
427
+ "type": "text",
428
+ "primaryKey": false,
429
+ "notNull": false
430
+ },
431
+ "pos": {
432
+ "name": "pos",
433
+ "type": "double precision",
434
+ "primaryKey": false,
435
+ "notNull": true
436
+ }
437
+ },
438
+ "indexes": {
439
+ "coord_queue_pos_idx": {
440
+ "name": "coord_queue_pos_idx",
441
+ "columns": [
442
+ {
443
+ "expression": "ns",
444
+ "isExpression": false,
445
+ "asc": true,
446
+ "nulls": "last"
447
+ },
448
+ {
449
+ "expression": "pos",
450
+ "isExpression": false,
451
+ "asc": true,
452
+ "nulls": "last"
453
+ }
454
+ ],
455
+ "isUnique": false,
456
+ "concurrently": false,
457
+ "method": "btree",
458
+ "with": {}
459
+ }
460
+ },
461
+ "foreignKeys": {},
462
+ "compositePrimaryKeys": {
463
+ "pk_coord_queue": {
464
+ "name": "pk_coord_queue",
465
+ "columns": [
466
+ "ns",
467
+ "task_id"
468
+ ]
469
+ }
470
+ },
471
+ "uniqueConstraints": {},
472
+ "policies": {},
473
+ "checkConstraints": {},
474
+ "isRLSEnabled": false
475
+ },
476
+ "aerie.coord_task": {
477
+ "name": "coord_task",
478
+ "schema": "aerie",
479
+ "columns": {
480
+ "ns": {
481
+ "name": "ns",
482
+ "type": "text",
483
+ "primaryKey": false,
484
+ "notNull": true
485
+ },
486
+ "task_id": {
487
+ "name": "task_id",
488
+ "type": "text",
489
+ "primaryKey": false,
490
+ "notNull": true
491
+ },
492
+ "updated": {
493
+ "name": "updated",
494
+ "type": "timestamp with time zone",
495
+ "primaryKey": false,
496
+ "notNull": true,
497
+ "default": "now()"
498
+ }
499
+ },
500
+ "indexes": {},
501
+ "foreignKeys": {},
502
+ "compositePrimaryKeys": {
503
+ "pk_coord_task": {
504
+ "name": "pk_coord_task",
505
+ "columns": [
506
+ "ns",
507
+ "task_id"
508
+ ]
509
+ }
510
+ },
511
+ "uniqueConstraints": {},
512
+ "policies": {},
513
+ "checkConstraints": {},
514
+ "isRLSEnabled": false
515
+ },
516
+ "aerie.decision": {
517
+ "name": "decision",
518
+ "schema": "aerie",
519
+ "columns": {
520
+ "id": {
521
+ "name": "id",
522
+ "type": "serial",
523
+ "primaryKey": false,
524
+ "notNull": true
525
+ },
526
+ "question": {
527
+ "name": "question",
528
+ "type": "text",
529
+ "primaryKey": false,
530
+ "notNull": true
531
+ },
532
+ "options": {
533
+ "name": "options",
534
+ "type": "jsonb",
535
+ "primaryKey": false,
536
+ "notNull": true,
537
+ "default": "'[]'::jsonb"
538
+ },
539
+ "recommendation": {
540
+ "name": "recommendation",
541
+ "type": "text",
542
+ "primaryKey": false,
543
+ "notNull": false
544
+ },
545
+ "brief": {
546
+ "name": "brief",
547
+ "type": "text",
548
+ "primaryKey": false,
549
+ "notNull": false
550
+ },
551
+ "blocks": {
552
+ "name": "blocks",
553
+ "type": "text[]",
554
+ "primaryKey": false,
555
+ "notNull": true,
556
+ "default": "'{}'::text[]"
557
+ },
558
+ "area_id": {
559
+ "name": "area_id",
560
+ "type": "integer",
561
+ "primaryKey": false,
562
+ "notNull": false
563
+ },
564
+ "asked_by": {
565
+ "name": "asked_by",
566
+ "type": "text",
567
+ "primaryKey": false,
568
+ "notNull": true
569
+ },
570
+ "asked_at": {
571
+ "name": "asked_at",
572
+ "type": "timestamp with time zone",
573
+ "primaryKey": false,
574
+ "notNull": true,
575
+ "default": "now()"
576
+ },
577
+ "due": {
578
+ "name": "due",
579
+ "type": "timestamp with time zone",
580
+ "primaryKey": false,
581
+ "notNull": false
582
+ },
583
+ "answer": {
584
+ "name": "answer",
585
+ "type": "text",
586
+ "primaryKey": false,
587
+ "notNull": false
588
+ },
589
+ "answered_by": {
590
+ "name": "answered_by",
591
+ "type": "text",
592
+ "primaryKey": false,
593
+ "notNull": false
594
+ },
595
+ "answered_at": {
596
+ "name": "answered_at",
597
+ "type": "timestamp with time zone",
598
+ "primaryKey": false,
599
+ "notNull": false
600
+ },
601
+ "why": {
602
+ "name": "why",
603
+ "type": "text",
604
+ "primaryKey": false,
605
+ "notNull": false
606
+ },
607
+ "kind": {
608
+ "name": "kind",
609
+ "type": "text",
610
+ "primaryKey": false,
611
+ "notNull": true,
612
+ "default": "'ask'"
613
+ },
614
+ "history": {
615
+ "name": "history",
616
+ "type": "jsonb",
617
+ "primaryKey": false,
618
+ "notNull": true,
619
+ "default": "'[]'::jsonb"
620
+ }
621
+ },
622
+ "indexes": {
623
+ "decision_area_idx": {
624
+ "name": "decision_area_idx",
625
+ "columns": [
626
+ {
627
+ "expression": "area_id",
628
+ "isExpression": false,
629
+ "asc": true,
630
+ "nulls": "last"
631
+ }
632
+ ],
633
+ "isUnique": false,
634
+ "concurrently": false,
635
+ "method": "btree",
636
+ "with": {}
637
+ },
638
+ "decision_open_idx": {
639
+ "name": "decision_open_idx",
640
+ "columns": [
641
+ {
642
+ "expression": "answered_at",
643
+ "isExpression": false,
644
+ "asc": true,
645
+ "nulls": "last"
646
+ }
647
+ ],
648
+ "isUnique": false,
649
+ "concurrently": false,
650
+ "method": "btree",
651
+ "with": {}
652
+ }
653
+ },
654
+ "foreignKeys": {
655
+ "fk_decision_area_id_area": {
656
+ "name": "fk_decision_area_id_area",
657
+ "tableFrom": "decision",
658
+ "tableTo": "area",
659
+ "schemaTo": "aerie",
660
+ "columnsFrom": [
661
+ "area_id"
662
+ ],
663
+ "columnsTo": [
664
+ "id"
665
+ ],
666
+ "onDelete": "no action",
667
+ "onUpdate": "no action"
668
+ }
669
+ },
670
+ "compositePrimaryKeys": {
671
+ "pk_decision": {
672
+ "name": "pk_decision",
673
+ "columns": [
674
+ "id"
675
+ ]
676
+ }
677
+ },
678
+ "uniqueConstraints": {},
679
+ "policies": {},
680
+ "checkConstraints": {},
681
+ "isRLSEnabled": false
682
+ },
683
+ "aerie.intake": {
684
+ "name": "intake",
685
+ "schema": "aerie",
686
+ "columns": {
687
+ "id": {
688
+ "name": "id",
689
+ "type": "serial",
690
+ "primaryKey": false,
691
+ "notNull": true
692
+ },
693
+ "kind": {
694
+ "name": "kind",
695
+ "type": "text",
696
+ "primaryKey": false,
697
+ "notNull": true
698
+ },
699
+ "by": {
700
+ "name": "by",
701
+ "type": "text",
702
+ "primaryKey": false,
703
+ "notNull": true
704
+ },
705
+ "at": {
706
+ "name": "at",
707
+ "type": "timestamp with time zone",
708
+ "primaryKey": false,
709
+ "notNull": true,
710
+ "default": "now()"
711
+ },
712
+ "words": {
713
+ "name": "words",
714
+ "type": "text",
715
+ "primaryKey": false,
716
+ "notNull": true
717
+ },
718
+ "audio": {
719
+ "name": "audio",
720
+ "type": "text",
721
+ "primaryKey": false,
722
+ "notNull": false
723
+ },
724
+ "heard": {
725
+ "name": "heard",
726
+ "type": "jsonb",
727
+ "primaryKey": false,
728
+ "notNull": false
729
+ },
730
+ "split_by": {
731
+ "name": "split_by",
732
+ "type": "text",
733
+ "primaryKey": false,
734
+ "notNull": false
735
+ },
736
+ "split": {
737
+ "name": "split",
738
+ "type": "jsonb",
739
+ "primaryKey": false,
740
+ "notNull": false
741
+ },
742
+ "checks": {
743
+ "name": "checks",
744
+ "type": "jsonb",
745
+ "primaryKey": false,
746
+ "notNull": false
747
+ },
748
+ "task_ids": {
749
+ "name": "task_ids",
750
+ "type": "text[]",
751
+ "primaryKey": false,
752
+ "notNull": true,
753
+ "default": "'{}'::text[]"
754
+ },
755
+ "why": {
756
+ "name": "why",
757
+ "type": "text",
758
+ "primaryKey": false,
759
+ "notNull": false
760
+ }
761
+ },
762
+ "indexes": {
763
+ "intake_at_idx": {
764
+ "name": "intake_at_idx",
765
+ "columns": [
766
+ {
767
+ "expression": "at",
768
+ "isExpression": false,
769
+ "asc": true,
770
+ "nulls": "last"
771
+ }
772
+ ],
773
+ "isUnique": false,
774
+ "concurrently": false,
775
+ "method": "btree",
776
+ "with": {}
777
+ }
778
+ },
779
+ "foreignKeys": {},
780
+ "compositePrimaryKeys": {
781
+ "pk_intake": {
782
+ "name": "pk_intake",
783
+ "columns": [
784
+ "id"
785
+ ]
786
+ }
787
+ },
788
+ "uniqueConstraints": {},
789
+ "policies": {},
790
+ "checkConstraints": {
791
+ "intake_kind_check": {
792
+ "name": "intake_kind_check",
793
+ "value": "\"kind\" IN ('text', 'chat', 'voice')"
794
+ }
795
+ },
796
+ "isRLSEnabled": false
797
+ },
798
+ "aerie.milestone": {
799
+ "name": "milestone",
800
+ "schema": "aerie",
801
+ "columns": {
802
+ "id": {
803
+ "name": "id",
804
+ "type": "text",
805
+ "primaryKey": false,
806
+ "notNull": true
807
+ },
808
+ "title": {
809
+ "name": "title",
810
+ "type": "text",
811
+ "primaryKey": false,
812
+ "notNull": true
813
+ },
814
+ "description": {
815
+ "name": "description",
816
+ "type": "text",
817
+ "primaryKey": false,
818
+ "notNull": false
819
+ }
820
+ },
821
+ "indexes": {},
822
+ "foreignKeys": {},
823
+ "compositePrimaryKeys": {
824
+ "pk_milestone": {
825
+ "name": "pk_milestone",
826
+ "columns": [
827
+ "id"
828
+ ]
829
+ }
830
+ },
831
+ "uniqueConstraints": {},
832
+ "policies": {},
833
+ "checkConstraints": {},
834
+ "isRLSEnabled": false
835
+ },
836
+ "aerie.mirror_file": {
837
+ "name": "mirror_file",
838
+ "schema": "aerie",
839
+ "columns": {
840
+ "task_id": {
841
+ "name": "task_id",
842
+ "type": "text",
843
+ "primaryKey": false,
844
+ "notNull": true
845
+ },
846
+ "path": {
847
+ "name": "path",
848
+ "type": "text",
849
+ "primaryKey": false,
850
+ "notNull": true
851
+ },
852
+ "hash": {
853
+ "name": "hash",
854
+ "type": "text",
855
+ "primaryKey": false,
856
+ "notNull": true
857
+ },
858
+ "version": {
859
+ "name": "version",
860
+ "type": "integer",
861
+ "primaryKey": false,
862
+ "notNull": true,
863
+ "default": 0
864
+ },
865
+ "at": {
866
+ "name": "at",
867
+ "type": "timestamp with time zone",
868
+ "primaryKey": false,
869
+ "notNull": true,
870
+ "default": "now()"
871
+ }
872
+ },
873
+ "indexes": {},
874
+ "foreignKeys": {},
875
+ "compositePrimaryKeys": {
876
+ "pk_mirror_file": {
877
+ "name": "pk_mirror_file",
878
+ "columns": [
879
+ "task_id"
880
+ ]
881
+ }
882
+ },
883
+ "uniqueConstraints": {
884
+ "mirror_file_path_unique": {
885
+ "name": "mirror_file_path_unique",
886
+ "nullsNotDistinct": false,
887
+ "columns": [
888
+ "path"
889
+ ]
890
+ }
891
+ },
892
+ "policies": {},
893
+ "checkConstraints": {},
894
+ "isRLSEnabled": false
895
+ },
896
+ "aerie.route_rule": {
897
+ "name": "route_rule",
898
+ "schema": "aerie",
899
+ "columns": {
900
+ "id": {
901
+ "name": "id",
902
+ "type": "serial",
903
+ "primaryKey": false,
904
+ "notNull": true
905
+ },
906
+ "rank": {
907
+ "name": "rank",
908
+ "type": "integer",
909
+ "primaryKey": false,
910
+ "notNull": true
911
+ },
912
+ "filter": {
913
+ "name": "filter",
914
+ "type": "jsonb",
915
+ "primaryKey": false,
916
+ "notNull": true,
917
+ "default": "'{}'::jsonb"
918
+ },
919
+ "runner": {
920
+ "name": "runner",
921
+ "type": "text",
922
+ "primaryKey": false,
923
+ "notNull": true
924
+ },
925
+ "model": {
926
+ "name": "model",
927
+ "type": "text",
928
+ "primaryKey": false,
929
+ "notNull": false
930
+ },
931
+ "lane": {
932
+ "name": "lane",
933
+ "type": "text",
934
+ "primaryKey": false,
935
+ "notNull": false
936
+ },
937
+ "why": {
938
+ "name": "why",
939
+ "type": "text",
940
+ "primaryKey": false,
941
+ "notNull": true
942
+ },
943
+ "by": {
944
+ "name": "by",
945
+ "type": "text",
946
+ "primaryKey": false,
947
+ "notNull": true
948
+ },
949
+ "at": {
950
+ "name": "at",
951
+ "type": "timestamp with time zone",
952
+ "primaryKey": false,
953
+ "notNull": true,
954
+ "default": "now()"
955
+ }
956
+ },
957
+ "indexes": {
958
+ "route_rule_rank_idx": {
959
+ "name": "route_rule_rank_idx",
960
+ "columns": [
961
+ {
962
+ "expression": "rank",
963
+ "isExpression": false,
964
+ "asc": true,
965
+ "nulls": "last"
966
+ }
967
+ ],
968
+ "isUnique": false,
969
+ "concurrently": false,
970
+ "method": "btree",
971
+ "with": {}
972
+ }
973
+ },
974
+ "foreignKeys": {},
975
+ "compositePrimaryKeys": {
976
+ "pk_route_rule": {
977
+ "name": "pk_route_rule",
978
+ "columns": [
979
+ "id"
980
+ ]
981
+ }
982
+ },
983
+ "uniqueConstraints": {},
984
+ "policies": {},
985
+ "checkConstraints": {
986
+ "route_rule_runner_check": {
987
+ "name": "route_rule_runner_check",
988
+ "value": "\"runner\" IN ('claude', 'codex', 'grok', 'api', 'autobrowse-do', 'session')"
989
+ },
990
+ "route_rule_lane_check": {
991
+ "name": "route_rule_lane_check",
992
+ "value": "runner <> 'session' or lane is not null"
993
+ }
994
+ },
995
+ "isRLSEnabled": false
996
+ },
997
+ "aerie.setting": {
998
+ "name": "setting",
999
+ "schema": "aerie",
1000
+ "columns": {
1001
+ "key": {
1002
+ "name": "key",
1003
+ "type": "text",
1004
+ "primaryKey": false,
1005
+ "notNull": true
1006
+ },
1007
+ "value": {
1008
+ "name": "value",
1009
+ "type": "text",
1010
+ "primaryKey": false,
1011
+ "notNull": true
1012
+ }
1013
+ },
1014
+ "indexes": {},
1015
+ "foreignKeys": {},
1016
+ "compositePrimaryKeys": {
1017
+ "pk_setting": {
1018
+ "name": "pk_setting",
1019
+ "columns": [
1020
+ "key"
1021
+ ]
1022
+ }
1023
+ },
1024
+ "uniqueConstraints": {},
1025
+ "policies": {},
1026
+ "checkConstraints": {},
1027
+ "isRLSEnabled": false
1028
+ },
1029
+ "aerie.task": {
1030
+ "name": "task",
1031
+ "schema": "aerie",
1032
+ "columns": {
1033
+ "id": {
1034
+ "name": "id",
1035
+ "type": "text",
1036
+ "primaryKey": false,
1037
+ "notNull": true
1038
+ },
1039
+ "area_id": {
1040
+ "name": "area_id",
1041
+ "type": "integer",
1042
+ "primaryKey": false,
1043
+ "notNull": true
1044
+ },
1045
+ "title": {
1046
+ "name": "title",
1047
+ "type": "text",
1048
+ "primaryKey": false,
1049
+ "notNull": true
1050
+ },
1051
+ "status": {
1052
+ "name": "status",
1053
+ "type": "text",
1054
+ "primaryKey": false,
1055
+ "notNull": true
1056
+ },
1057
+ "priority": {
1058
+ "name": "priority",
1059
+ "type": "text",
1060
+ "primaryKey": false,
1061
+ "notNull": false
1062
+ },
1063
+ "type": {
1064
+ "name": "type",
1065
+ "type": "text",
1066
+ "primaryKey": false,
1067
+ "notNull": false
1068
+ },
1069
+ "milestone": {
1070
+ "name": "milestone",
1071
+ "type": "text",
1072
+ "primaryKey": false,
1073
+ "notNull": false
1074
+ },
1075
+ "labels": {
1076
+ "name": "labels",
1077
+ "type": "text[]",
1078
+ "primaryKey": false,
1079
+ "notNull": true,
1080
+ "default": "'{}'::text[]"
1081
+ },
1082
+ "parent_id": {
1083
+ "name": "parent_id",
1084
+ "type": "text",
1085
+ "primaryKey": false,
1086
+ "notNull": false
1087
+ },
1088
+ "dependencies": {
1089
+ "name": "dependencies",
1090
+ "type": "text[]",
1091
+ "primaryKey": false,
1092
+ "notNull": true,
1093
+ "default": "'{}'::text[]"
1094
+ },
1095
+ "references": {
1096
+ "name": "references",
1097
+ "type": "text[]",
1098
+ "primaryKey": false,
1099
+ "notNull": true,
1100
+ "default": "'{}'::text[]"
1101
+ },
1102
+ "ordinal": {
1103
+ "name": "ordinal",
1104
+ "type": "double precision",
1105
+ "primaryKey": false,
1106
+ "notNull": false
1107
+ },
1108
+ "description": {
1109
+ "name": "description",
1110
+ "type": "text",
1111
+ "primaryKey": false,
1112
+ "notNull": false
1113
+ },
1114
+ "ac": {
1115
+ "name": "ac",
1116
+ "type": "jsonb",
1117
+ "primaryKey": false,
1118
+ "notNull": true,
1119
+ "default": "'[]'::jsonb"
1120
+ },
1121
+ "dod": {
1122
+ "name": "dod",
1123
+ "type": "jsonb",
1124
+ "primaryKey": false,
1125
+ "notNull": true,
1126
+ "default": "'[]'::jsonb"
1127
+ },
1128
+ "plan": {
1129
+ "name": "plan",
1130
+ "type": "text",
1131
+ "primaryKey": false,
1132
+ "notNull": false
1133
+ },
1134
+ "notes": {
1135
+ "name": "notes",
1136
+ "type": "text",
1137
+ "primaryKey": false,
1138
+ "notNull": false
1139
+ },
1140
+ "final_summary": {
1141
+ "name": "final_summary",
1142
+ "type": "text",
1143
+ "primaryKey": false,
1144
+ "notNull": false
1145
+ },
1146
+ "comments": {
1147
+ "name": "comments",
1148
+ "type": "jsonb",
1149
+ "primaryKey": false,
1150
+ "notNull": true,
1151
+ "default": "'[]'::jsonb"
1152
+ },
1153
+ "reporter": {
1154
+ "name": "reporter",
1155
+ "type": "text",
1156
+ "primaryKey": false,
1157
+ "notNull": false
1158
+ },
1159
+ "created_by": {
1160
+ "name": "created_by",
1161
+ "type": "text",
1162
+ "primaryKey": false,
1163
+ "notNull": false
1164
+ },
1165
+ "created_at": {
1166
+ "name": "created_at",
1167
+ "type": "timestamp with time zone",
1168
+ "primaryKey": false,
1169
+ "notNull": true,
1170
+ "default": "now()"
1171
+ },
1172
+ "updated_at": {
1173
+ "name": "updated_at",
1174
+ "type": "timestamp with time zone",
1175
+ "primaryKey": false,
1176
+ "notNull": false
1177
+ },
1178
+ "closed_at": {
1179
+ "name": "closed_at",
1180
+ "type": "timestamp with time zone",
1181
+ "primaryKey": false,
1182
+ "notNull": false
1183
+ },
1184
+ "place": {
1185
+ "name": "place",
1186
+ "type": "text",
1187
+ "primaryKey": false,
1188
+ "notNull": true,
1189
+ "default": "'tasks'"
1190
+ },
1191
+ "extra": {
1192
+ "name": "extra",
1193
+ "type": "jsonb",
1194
+ "primaryKey": false,
1195
+ "notNull": true,
1196
+ "default": "'{}'::jsonb"
1197
+ },
1198
+ "stray": {
1199
+ "name": "stray",
1200
+ "type": "text",
1201
+ "primaryKey": false,
1202
+ "notNull": false
1203
+ },
1204
+ "version": {
1205
+ "name": "version",
1206
+ "type": "integer",
1207
+ "primaryKey": false,
1208
+ "notNull": true,
1209
+ "default": 1
1210
+ }
1211
+ },
1212
+ "indexes": {
1213
+ "task_area_id_idx": {
1214
+ "name": "task_area_id_idx",
1215
+ "columns": [
1216
+ {
1217
+ "expression": "area_id",
1218
+ "isExpression": false,
1219
+ "asc": true,
1220
+ "nulls": "last"
1221
+ }
1222
+ ],
1223
+ "isUnique": false,
1224
+ "concurrently": false,
1225
+ "method": "btree",
1226
+ "with": {}
1227
+ },
1228
+ "task_status_idx": {
1229
+ "name": "task_status_idx",
1230
+ "columns": [
1231
+ {
1232
+ "expression": "status",
1233
+ "isExpression": false,
1234
+ "asc": true,
1235
+ "nulls": "last"
1236
+ }
1237
+ ],
1238
+ "isUnique": false,
1239
+ "concurrently": false,
1240
+ "method": "btree",
1241
+ "with": {}
1242
+ },
1243
+ "task_parent_idx": {
1244
+ "name": "task_parent_idx",
1245
+ "columns": [
1246
+ {
1247
+ "expression": "parent_id",
1248
+ "isExpression": false,
1249
+ "asc": true,
1250
+ "nulls": "last"
1251
+ }
1252
+ ],
1253
+ "isUnique": false,
1254
+ "concurrently": false,
1255
+ "method": "btree",
1256
+ "with": {}
1257
+ },
1258
+ "task_labels_idx": {
1259
+ "name": "task_labels_idx",
1260
+ "columns": [
1261
+ {
1262
+ "expression": "labels",
1263
+ "isExpression": false,
1264
+ "asc": true,
1265
+ "nulls": "last"
1266
+ }
1267
+ ],
1268
+ "isUnique": false,
1269
+ "concurrently": false,
1270
+ "method": "gin",
1271
+ "with": {}
1272
+ }
1273
+ },
1274
+ "foreignKeys": {
1275
+ "fk_task_area_id_area": {
1276
+ "name": "fk_task_area_id_area",
1277
+ "tableFrom": "task",
1278
+ "tableTo": "area",
1279
+ "schemaTo": "aerie",
1280
+ "columnsFrom": [
1281
+ "area_id"
1282
+ ],
1283
+ "columnsTo": [
1284
+ "id"
1285
+ ],
1286
+ "onDelete": "restrict",
1287
+ "onUpdate": "no action"
1288
+ }
1289
+ },
1290
+ "compositePrimaryKeys": {
1291
+ "pk_task": {
1292
+ "name": "pk_task",
1293
+ "columns": [
1294
+ "id"
1295
+ ]
1296
+ }
1297
+ },
1298
+ "uniqueConstraints": {},
1299
+ "policies": {},
1300
+ "checkConstraints": {
1301
+ "task_place": {
1302
+ "name": "task_place",
1303
+ "value": "\"place\" IN ('tasks', 'drafts', 'archive/tasks', 'archive/drafts')"
1304
+ }
1305
+ },
1306
+ "isRLSEnabled": false
1307
+ },
1308
+ "aerie.task_actor": {
1309
+ "name": "task_actor",
1310
+ "schema": "aerie",
1311
+ "columns": {
1312
+ "task_id": {
1313
+ "name": "task_id",
1314
+ "type": "text",
1315
+ "primaryKey": false,
1316
+ "notNull": true
1317
+ },
1318
+ "actor_id": {
1319
+ "name": "actor_id",
1320
+ "type": "text",
1321
+ "primaryKey": false,
1322
+ "notNull": true
1323
+ },
1324
+ "role": {
1325
+ "name": "role",
1326
+ "type": "text",
1327
+ "primaryKey": false,
1328
+ "notNull": true
1329
+ },
1330
+ "sort": {
1331
+ "name": "sort",
1332
+ "type": "integer",
1333
+ "primaryKey": false,
1334
+ "notNull": true,
1335
+ "default": 0
1336
+ }
1337
+ },
1338
+ "indexes": {
1339
+ "task_actor_actor_idx": {
1340
+ "name": "task_actor_actor_idx",
1341
+ "columns": [
1342
+ {
1343
+ "expression": "actor_id",
1344
+ "isExpression": false,
1345
+ "asc": true,
1346
+ "nulls": "last"
1347
+ }
1348
+ ],
1349
+ "isUnique": false,
1350
+ "concurrently": false,
1351
+ "method": "btree",
1352
+ "with": {}
1353
+ }
1354
+ },
1355
+ "foreignKeys": {
1356
+ "fk_task_actor_task_id_task": {
1357
+ "name": "fk_task_actor_task_id_task",
1358
+ "tableFrom": "task_actor",
1359
+ "tableTo": "task",
1360
+ "schemaTo": "aerie",
1361
+ "columnsFrom": [
1362
+ "task_id"
1363
+ ],
1364
+ "columnsTo": [
1365
+ "id"
1366
+ ],
1367
+ "onDelete": "cascade",
1368
+ "onUpdate": "no action"
1369
+ },
1370
+ "fk_task_actor_actor_id_actor": {
1371
+ "name": "fk_task_actor_actor_id_actor",
1372
+ "tableFrom": "task_actor",
1373
+ "tableTo": "actor",
1374
+ "schemaTo": "aerie",
1375
+ "columnsFrom": [
1376
+ "actor_id"
1377
+ ],
1378
+ "columnsTo": [
1379
+ "id"
1380
+ ],
1381
+ "onDelete": "restrict",
1382
+ "onUpdate": "no action"
1383
+ }
1384
+ },
1385
+ "compositePrimaryKeys": {
1386
+ "pk_task_actor": {
1387
+ "name": "pk_task_actor",
1388
+ "columns": [
1389
+ "task_id",
1390
+ "actor_id",
1391
+ "role"
1392
+ ]
1393
+ }
1394
+ },
1395
+ "uniqueConstraints": {},
1396
+ "policies": {},
1397
+ "checkConstraints": {
1398
+ "task_actor_role": {
1399
+ "name": "task_actor_role",
1400
+ "value": "\"role\" IN ('assignee', 'reviewer', 'watcher')"
1401
+ }
1402
+ },
1403
+ "isRLSEnabled": false
1404
+ },
1405
+ "aerie.task_area": {
1406
+ "name": "task_area",
1407
+ "schema": "aerie",
1408
+ "columns": {
1409
+ "task_id": {
1410
+ "name": "task_id",
1411
+ "type": "text",
1412
+ "primaryKey": false,
1413
+ "notNull": true
1414
+ },
1415
+ "area_id": {
1416
+ "name": "area_id",
1417
+ "type": "integer",
1418
+ "primaryKey": false,
1419
+ "notNull": true
1420
+ }
1421
+ },
1422
+ "indexes": {
1423
+ "task_area_area_idx": {
1424
+ "name": "task_area_area_idx",
1425
+ "columns": [
1426
+ {
1427
+ "expression": "area_id",
1428
+ "isExpression": false,
1429
+ "asc": true,
1430
+ "nulls": "last"
1431
+ }
1432
+ ],
1433
+ "isUnique": false,
1434
+ "concurrently": false,
1435
+ "method": "btree",
1436
+ "with": {}
1437
+ }
1438
+ },
1439
+ "foreignKeys": {
1440
+ "fk_task_area_task_id_task": {
1441
+ "name": "fk_task_area_task_id_task",
1442
+ "tableFrom": "task_area",
1443
+ "tableTo": "task",
1444
+ "schemaTo": "aerie",
1445
+ "columnsFrom": [
1446
+ "task_id"
1447
+ ],
1448
+ "columnsTo": [
1449
+ "id"
1450
+ ],
1451
+ "onDelete": "cascade",
1452
+ "onUpdate": "no action"
1453
+ },
1454
+ "fk_task_area_area_id_area": {
1455
+ "name": "fk_task_area_area_id_area",
1456
+ "tableFrom": "task_area",
1457
+ "tableTo": "area",
1458
+ "schemaTo": "aerie",
1459
+ "columnsFrom": [
1460
+ "area_id"
1461
+ ],
1462
+ "columnsTo": [
1463
+ "id"
1464
+ ],
1465
+ "onDelete": "cascade",
1466
+ "onUpdate": "no action"
1467
+ }
1468
+ },
1469
+ "compositePrimaryKeys": {
1470
+ "pk_task_area": {
1471
+ "name": "pk_task_area",
1472
+ "columns": [
1473
+ "task_id",
1474
+ "area_id"
1475
+ ]
1476
+ }
1477
+ },
1478
+ "uniqueConstraints": {},
1479
+ "policies": {},
1480
+ "checkConstraints": {},
1481
+ "isRLSEnabled": false
1482
+ },
1483
+ "aerie.task_event": {
1484
+ "name": "task_event",
1485
+ "schema": "aerie",
1486
+ "columns": {
1487
+ "seq": {
1488
+ "name": "seq",
1489
+ "type": "bigserial",
1490
+ "primaryKey": false,
1491
+ "notNull": true
1492
+ },
1493
+ "task_id": {
1494
+ "name": "task_id",
1495
+ "type": "text",
1496
+ "primaryKey": false,
1497
+ "notNull": true
1498
+ },
1499
+ "at": {
1500
+ "name": "at",
1501
+ "type": "timestamp with time zone",
1502
+ "primaryKey": false,
1503
+ "notNull": true,
1504
+ "default": "now()"
1505
+ },
1506
+ "by": {
1507
+ "name": "by",
1508
+ "type": "text",
1509
+ "primaryKey": false,
1510
+ "notNull": true
1511
+ },
1512
+ "kind": {
1513
+ "name": "kind",
1514
+ "type": "text",
1515
+ "primaryKey": false,
1516
+ "notNull": true
1517
+ },
1518
+ "why": {
1519
+ "name": "why",
1520
+ "type": "text",
1521
+ "primaryKey": false,
1522
+ "notNull": false
1523
+ },
1524
+ "body": {
1525
+ "name": "body",
1526
+ "type": "jsonb",
1527
+ "primaryKey": false,
1528
+ "notNull": true,
1529
+ "default": "'{}'::jsonb"
1530
+ },
1531
+ "words": {
1532
+ "name": "words",
1533
+ "type": "tsvector",
1534
+ "primaryKey": false,
1535
+ "notNull": false,
1536
+ "generated": {
1537
+ "as": "to_tsvector('simple', kind || ' ' || coalesce(why, '')) || jsonb_to_tsvector('simple', body, '[\"string\"]')",
1538
+ "type": "stored"
1539
+ }
1540
+ }
1541
+ },
1542
+ "indexes": {
1543
+ "task_event_task_idx": {
1544
+ "name": "task_event_task_idx",
1545
+ "columns": [
1546
+ {
1547
+ "expression": "task_id",
1548
+ "isExpression": false,
1549
+ "asc": true,
1550
+ "nulls": "last"
1551
+ },
1552
+ {
1553
+ "expression": "seq",
1554
+ "isExpression": false,
1555
+ "asc": true,
1556
+ "nulls": "last"
1557
+ }
1558
+ ],
1559
+ "isUnique": false,
1560
+ "concurrently": false,
1561
+ "method": "btree",
1562
+ "with": {}
1563
+ },
1564
+ "task_event_words_idx": {
1565
+ "name": "task_event_words_idx",
1566
+ "columns": [
1567
+ {
1568
+ "expression": "words",
1569
+ "isExpression": false,
1570
+ "asc": true,
1571
+ "nulls": "last"
1572
+ }
1573
+ ],
1574
+ "isUnique": false,
1575
+ "concurrently": false,
1576
+ "method": "gin",
1577
+ "with": {}
1578
+ }
1579
+ },
1580
+ "foreignKeys": {},
1581
+ "compositePrimaryKeys": {
1582
+ "pk_task_event": {
1583
+ "name": "pk_task_event",
1584
+ "columns": [
1585
+ "seq"
1586
+ ]
1587
+ }
1588
+ },
1589
+ "uniqueConstraints": {},
1590
+ "policies": {},
1591
+ "checkConstraints": {},
1592
+ "isRLSEnabled": false
1593
+ },
1594
+ "aerie.task_holder": {
1595
+ "name": "task_holder",
1596
+ "schema": "aerie",
1597
+ "columns": {
1598
+ "task_id": {
1599
+ "name": "task_id",
1600
+ "type": "text",
1601
+ "primaryKey": false,
1602
+ "notNull": true
1603
+ },
1604
+ "holder": {
1605
+ "name": "holder",
1606
+ "type": "text",
1607
+ "primaryKey": false,
1608
+ "notNull": true
1609
+ },
1610
+ "since": {
1611
+ "name": "since",
1612
+ "type": "timestamp with time zone",
1613
+ "primaryKey": false,
1614
+ "notNull": true,
1615
+ "default": "now()"
1616
+ },
1617
+ "sort": {
1618
+ "name": "sort",
1619
+ "type": "integer",
1620
+ "primaryKey": false,
1621
+ "notNull": true,
1622
+ "default": 0
1623
+ }
1624
+ },
1625
+ "indexes": {},
1626
+ "foreignKeys": {
1627
+ "fk_task_holder_task_id_task": {
1628
+ "name": "fk_task_holder_task_id_task",
1629
+ "tableFrom": "task_holder",
1630
+ "tableTo": "task",
1631
+ "schemaTo": "aerie",
1632
+ "columnsFrom": [
1633
+ "task_id"
1634
+ ],
1635
+ "columnsTo": [
1636
+ "id"
1637
+ ],
1638
+ "onDelete": "cascade",
1639
+ "onUpdate": "no action"
1640
+ }
1641
+ },
1642
+ "compositePrimaryKeys": {
1643
+ "pk_task_holder": {
1644
+ "name": "pk_task_holder",
1645
+ "columns": [
1646
+ "task_id",
1647
+ "holder"
1648
+ ]
1649
+ }
1650
+ },
1651
+ "uniqueConstraints": {},
1652
+ "policies": {},
1653
+ "checkConstraints": {},
1654
+ "isRLSEnabled": false
1655
+ },
1656
+ "aerie.view": {
1657
+ "name": "view",
1658
+ "schema": "aerie",
1659
+ "columns": {
1660
+ "id": {
1661
+ "name": "id",
1662
+ "type": "serial",
1663
+ "primaryKey": false,
1664
+ "notNull": true
1665
+ },
1666
+ "owner": {
1667
+ "name": "owner",
1668
+ "type": "text",
1669
+ "primaryKey": false,
1670
+ "notNull": true
1671
+ },
1672
+ "name": {
1673
+ "name": "name",
1674
+ "type": "text",
1675
+ "primaryKey": false,
1676
+ "notNull": true
1677
+ },
1678
+ "filter": {
1679
+ "name": "filter",
1680
+ "type": "jsonb",
1681
+ "primaryKey": false,
1682
+ "notNull": true,
1683
+ "default": "'{}'::jsonb"
1684
+ },
1685
+ "sort": {
1686
+ "name": "sort",
1687
+ "type": "jsonb",
1688
+ "primaryKey": false,
1689
+ "notNull": true,
1690
+ "default": "'[]'::jsonb"
1691
+ },
1692
+ "group_by": {
1693
+ "name": "group_by",
1694
+ "type": "text",
1695
+ "primaryKey": false,
1696
+ "notNull": false
1697
+ },
1698
+ "layout": {
1699
+ "name": "layout",
1700
+ "type": "text",
1701
+ "primaryKey": false,
1702
+ "notNull": true,
1703
+ "default": "'board'"
1704
+ },
1705
+ "columns": {
1706
+ "name": "columns",
1707
+ "type": "jsonb",
1708
+ "primaryKey": false,
1709
+ "notNull": false
1710
+ }
1711
+ },
1712
+ "indexes": {},
1713
+ "foreignKeys": {
1714
+ "fk_view_owner_actor": {
1715
+ "name": "fk_view_owner_actor",
1716
+ "tableFrom": "view",
1717
+ "tableTo": "actor",
1718
+ "schemaTo": "aerie",
1719
+ "columnsFrom": [
1720
+ "owner"
1721
+ ],
1722
+ "columnsTo": [
1723
+ "id"
1724
+ ],
1725
+ "onDelete": "cascade",
1726
+ "onUpdate": "no action"
1727
+ }
1728
+ },
1729
+ "compositePrimaryKeys": {
1730
+ "pk_view": {
1731
+ "name": "pk_view",
1732
+ "columns": [
1733
+ "id"
1734
+ ]
1735
+ }
1736
+ },
1737
+ "uniqueConstraints": {
1738
+ "view_owner_name": {
1739
+ "name": "view_owner_name",
1740
+ "nullsNotDistinct": false,
1741
+ "columns": [
1742
+ "owner",
1743
+ "name"
1744
+ ]
1745
+ }
1746
+ },
1747
+ "policies": {},
1748
+ "checkConstraints": {
1749
+ "view_layout": {
1750
+ "name": "view_layout",
1751
+ "value": "\"layout\" IN ('board', 'list', 'columns')"
1752
+ }
1753
+ },
1754
+ "isRLSEnabled": false
1755
+ }
1756
+ },
1757
+ "enums": {},
1758
+ "schemas": {
1759
+ "aerie": "aerie"
1760
+ },
1761
+ "sequences": {
1762
+ "aerie.coord_gen": {
1763
+ "name": "coord_gen",
1764
+ "schema": "aerie",
1765
+ "increment": "1",
1766
+ "startWith": "1",
1767
+ "minValue": "1",
1768
+ "maxValue": "9223372036854775807",
1769
+ "cache": "1",
1770
+ "cycle": false
1771
+ }
1772
+ },
1773
+ "roles": {},
1774
+ "policies": {},
1775
+ "views": {},
1776
+ "_meta": {
1777
+ "columns": {},
1778
+ "schemas": {},
1779
+ "tables": {}
1780
+ }
1781
+ }