@wrenautomation/aerie 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1775 @@
1
+ {
2
+ "id": "dca8edba-80ac-41cd-9287-247ff0371af3",
3
+ "prevId": "24903865-94c8-486a-a9bf-778938d14d51",
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
+ },
380
+ "indexes": {},
381
+ "foreignKeys": {},
382
+ "compositePrimaryKeys": {
383
+ "pk_coord_lease": {
384
+ "name": "pk_coord_lease",
385
+ "columns": [
386
+ "ns",
387
+ "task_id",
388
+ "holder"
389
+ ]
390
+ }
391
+ },
392
+ "uniqueConstraints": {},
393
+ "policies": {},
394
+ "checkConstraints": {},
395
+ "isRLSEnabled": false
396
+ },
397
+ "aerie.coord_queue": {
398
+ "name": "coord_queue",
399
+ "schema": "aerie",
400
+ "columns": {
401
+ "ns": {
402
+ "name": "ns",
403
+ "type": "text",
404
+ "primaryKey": false,
405
+ "notNull": true
406
+ },
407
+ "task_id": {
408
+ "name": "task_id",
409
+ "type": "text",
410
+ "primaryKey": false,
411
+ "notNull": true
412
+ },
413
+ "lane": {
414
+ "name": "lane",
415
+ "type": "text",
416
+ "primaryKey": false,
417
+ "notNull": false
418
+ },
419
+ "pin": {
420
+ "name": "pin",
421
+ "type": "text",
422
+ "primaryKey": false,
423
+ "notNull": false
424
+ },
425
+ "pos": {
426
+ "name": "pos",
427
+ "type": "double precision",
428
+ "primaryKey": false,
429
+ "notNull": true
430
+ }
431
+ },
432
+ "indexes": {
433
+ "coord_queue_pos_idx": {
434
+ "name": "coord_queue_pos_idx",
435
+ "columns": [
436
+ {
437
+ "expression": "ns",
438
+ "isExpression": false,
439
+ "asc": true,
440
+ "nulls": "last"
441
+ },
442
+ {
443
+ "expression": "pos",
444
+ "isExpression": false,
445
+ "asc": true,
446
+ "nulls": "last"
447
+ }
448
+ ],
449
+ "isUnique": false,
450
+ "concurrently": false,
451
+ "method": "btree",
452
+ "with": {}
453
+ }
454
+ },
455
+ "foreignKeys": {},
456
+ "compositePrimaryKeys": {
457
+ "pk_coord_queue": {
458
+ "name": "pk_coord_queue",
459
+ "columns": [
460
+ "ns",
461
+ "task_id"
462
+ ]
463
+ }
464
+ },
465
+ "uniqueConstraints": {},
466
+ "policies": {},
467
+ "checkConstraints": {},
468
+ "isRLSEnabled": false
469
+ },
470
+ "aerie.coord_task": {
471
+ "name": "coord_task",
472
+ "schema": "aerie",
473
+ "columns": {
474
+ "ns": {
475
+ "name": "ns",
476
+ "type": "text",
477
+ "primaryKey": false,
478
+ "notNull": true
479
+ },
480
+ "task_id": {
481
+ "name": "task_id",
482
+ "type": "text",
483
+ "primaryKey": false,
484
+ "notNull": true
485
+ },
486
+ "updated": {
487
+ "name": "updated",
488
+ "type": "timestamp with time zone",
489
+ "primaryKey": false,
490
+ "notNull": true,
491
+ "default": "now()"
492
+ }
493
+ },
494
+ "indexes": {},
495
+ "foreignKeys": {},
496
+ "compositePrimaryKeys": {
497
+ "pk_coord_task": {
498
+ "name": "pk_coord_task",
499
+ "columns": [
500
+ "ns",
501
+ "task_id"
502
+ ]
503
+ }
504
+ },
505
+ "uniqueConstraints": {},
506
+ "policies": {},
507
+ "checkConstraints": {},
508
+ "isRLSEnabled": false
509
+ },
510
+ "aerie.decision": {
511
+ "name": "decision",
512
+ "schema": "aerie",
513
+ "columns": {
514
+ "id": {
515
+ "name": "id",
516
+ "type": "serial",
517
+ "primaryKey": false,
518
+ "notNull": true
519
+ },
520
+ "question": {
521
+ "name": "question",
522
+ "type": "text",
523
+ "primaryKey": false,
524
+ "notNull": true
525
+ },
526
+ "options": {
527
+ "name": "options",
528
+ "type": "jsonb",
529
+ "primaryKey": false,
530
+ "notNull": true,
531
+ "default": "'[]'::jsonb"
532
+ },
533
+ "recommendation": {
534
+ "name": "recommendation",
535
+ "type": "text",
536
+ "primaryKey": false,
537
+ "notNull": false
538
+ },
539
+ "brief": {
540
+ "name": "brief",
541
+ "type": "text",
542
+ "primaryKey": false,
543
+ "notNull": false
544
+ },
545
+ "blocks": {
546
+ "name": "blocks",
547
+ "type": "text[]",
548
+ "primaryKey": false,
549
+ "notNull": true,
550
+ "default": "'{}'::text[]"
551
+ },
552
+ "area_id": {
553
+ "name": "area_id",
554
+ "type": "integer",
555
+ "primaryKey": false,
556
+ "notNull": false
557
+ },
558
+ "asked_by": {
559
+ "name": "asked_by",
560
+ "type": "text",
561
+ "primaryKey": false,
562
+ "notNull": true
563
+ },
564
+ "asked_at": {
565
+ "name": "asked_at",
566
+ "type": "timestamp with time zone",
567
+ "primaryKey": false,
568
+ "notNull": true,
569
+ "default": "now()"
570
+ },
571
+ "due": {
572
+ "name": "due",
573
+ "type": "timestamp with time zone",
574
+ "primaryKey": false,
575
+ "notNull": false
576
+ },
577
+ "answer": {
578
+ "name": "answer",
579
+ "type": "text",
580
+ "primaryKey": false,
581
+ "notNull": false
582
+ },
583
+ "answered_by": {
584
+ "name": "answered_by",
585
+ "type": "text",
586
+ "primaryKey": false,
587
+ "notNull": false
588
+ },
589
+ "answered_at": {
590
+ "name": "answered_at",
591
+ "type": "timestamp with time zone",
592
+ "primaryKey": false,
593
+ "notNull": false
594
+ },
595
+ "why": {
596
+ "name": "why",
597
+ "type": "text",
598
+ "primaryKey": false,
599
+ "notNull": false
600
+ },
601
+ "kind": {
602
+ "name": "kind",
603
+ "type": "text",
604
+ "primaryKey": false,
605
+ "notNull": true,
606
+ "default": "'ask'"
607
+ },
608
+ "history": {
609
+ "name": "history",
610
+ "type": "jsonb",
611
+ "primaryKey": false,
612
+ "notNull": true,
613
+ "default": "'[]'::jsonb"
614
+ }
615
+ },
616
+ "indexes": {
617
+ "decision_area_idx": {
618
+ "name": "decision_area_idx",
619
+ "columns": [
620
+ {
621
+ "expression": "area_id",
622
+ "isExpression": false,
623
+ "asc": true,
624
+ "nulls": "last"
625
+ }
626
+ ],
627
+ "isUnique": false,
628
+ "concurrently": false,
629
+ "method": "btree",
630
+ "with": {}
631
+ },
632
+ "decision_open_idx": {
633
+ "name": "decision_open_idx",
634
+ "columns": [
635
+ {
636
+ "expression": "answered_at",
637
+ "isExpression": false,
638
+ "asc": true,
639
+ "nulls": "last"
640
+ }
641
+ ],
642
+ "isUnique": false,
643
+ "concurrently": false,
644
+ "method": "btree",
645
+ "with": {}
646
+ }
647
+ },
648
+ "foreignKeys": {
649
+ "fk_decision_area_id_area": {
650
+ "name": "fk_decision_area_id_area",
651
+ "tableFrom": "decision",
652
+ "tableTo": "area",
653
+ "schemaTo": "aerie",
654
+ "columnsFrom": [
655
+ "area_id"
656
+ ],
657
+ "columnsTo": [
658
+ "id"
659
+ ],
660
+ "onDelete": "no action",
661
+ "onUpdate": "no action"
662
+ }
663
+ },
664
+ "compositePrimaryKeys": {
665
+ "pk_decision": {
666
+ "name": "pk_decision",
667
+ "columns": [
668
+ "id"
669
+ ]
670
+ }
671
+ },
672
+ "uniqueConstraints": {},
673
+ "policies": {},
674
+ "checkConstraints": {},
675
+ "isRLSEnabled": false
676
+ },
677
+ "aerie.intake": {
678
+ "name": "intake",
679
+ "schema": "aerie",
680
+ "columns": {
681
+ "id": {
682
+ "name": "id",
683
+ "type": "serial",
684
+ "primaryKey": false,
685
+ "notNull": true
686
+ },
687
+ "kind": {
688
+ "name": "kind",
689
+ "type": "text",
690
+ "primaryKey": false,
691
+ "notNull": true
692
+ },
693
+ "by": {
694
+ "name": "by",
695
+ "type": "text",
696
+ "primaryKey": false,
697
+ "notNull": true
698
+ },
699
+ "at": {
700
+ "name": "at",
701
+ "type": "timestamp with time zone",
702
+ "primaryKey": false,
703
+ "notNull": true,
704
+ "default": "now()"
705
+ },
706
+ "words": {
707
+ "name": "words",
708
+ "type": "text",
709
+ "primaryKey": false,
710
+ "notNull": true
711
+ },
712
+ "audio": {
713
+ "name": "audio",
714
+ "type": "text",
715
+ "primaryKey": false,
716
+ "notNull": false
717
+ },
718
+ "heard": {
719
+ "name": "heard",
720
+ "type": "jsonb",
721
+ "primaryKey": false,
722
+ "notNull": false
723
+ },
724
+ "split_by": {
725
+ "name": "split_by",
726
+ "type": "text",
727
+ "primaryKey": false,
728
+ "notNull": false
729
+ },
730
+ "split": {
731
+ "name": "split",
732
+ "type": "jsonb",
733
+ "primaryKey": false,
734
+ "notNull": false
735
+ },
736
+ "checks": {
737
+ "name": "checks",
738
+ "type": "jsonb",
739
+ "primaryKey": false,
740
+ "notNull": false
741
+ },
742
+ "task_ids": {
743
+ "name": "task_ids",
744
+ "type": "text[]",
745
+ "primaryKey": false,
746
+ "notNull": true,
747
+ "default": "'{}'::text[]"
748
+ },
749
+ "why": {
750
+ "name": "why",
751
+ "type": "text",
752
+ "primaryKey": false,
753
+ "notNull": false
754
+ }
755
+ },
756
+ "indexes": {
757
+ "intake_at_idx": {
758
+ "name": "intake_at_idx",
759
+ "columns": [
760
+ {
761
+ "expression": "at",
762
+ "isExpression": false,
763
+ "asc": true,
764
+ "nulls": "last"
765
+ }
766
+ ],
767
+ "isUnique": false,
768
+ "concurrently": false,
769
+ "method": "btree",
770
+ "with": {}
771
+ }
772
+ },
773
+ "foreignKeys": {},
774
+ "compositePrimaryKeys": {
775
+ "pk_intake": {
776
+ "name": "pk_intake",
777
+ "columns": [
778
+ "id"
779
+ ]
780
+ }
781
+ },
782
+ "uniqueConstraints": {},
783
+ "policies": {},
784
+ "checkConstraints": {
785
+ "intake_kind_check": {
786
+ "name": "intake_kind_check",
787
+ "value": "\"kind\" IN ('text', 'chat', 'voice')"
788
+ }
789
+ },
790
+ "isRLSEnabled": false
791
+ },
792
+ "aerie.milestone": {
793
+ "name": "milestone",
794
+ "schema": "aerie",
795
+ "columns": {
796
+ "id": {
797
+ "name": "id",
798
+ "type": "text",
799
+ "primaryKey": false,
800
+ "notNull": true
801
+ },
802
+ "title": {
803
+ "name": "title",
804
+ "type": "text",
805
+ "primaryKey": false,
806
+ "notNull": true
807
+ },
808
+ "description": {
809
+ "name": "description",
810
+ "type": "text",
811
+ "primaryKey": false,
812
+ "notNull": false
813
+ }
814
+ },
815
+ "indexes": {},
816
+ "foreignKeys": {},
817
+ "compositePrimaryKeys": {
818
+ "pk_milestone": {
819
+ "name": "pk_milestone",
820
+ "columns": [
821
+ "id"
822
+ ]
823
+ }
824
+ },
825
+ "uniqueConstraints": {},
826
+ "policies": {},
827
+ "checkConstraints": {},
828
+ "isRLSEnabled": false
829
+ },
830
+ "aerie.mirror_file": {
831
+ "name": "mirror_file",
832
+ "schema": "aerie",
833
+ "columns": {
834
+ "task_id": {
835
+ "name": "task_id",
836
+ "type": "text",
837
+ "primaryKey": false,
838
+ "notNull": true
839
+ },
840
+ "path": {
841
+ "name": "path",
842
+ "type": "text",
843
+ "primaryKey": false,
844
+ "notNull": true
845
+ },
846
+ "hash": {
847
+ "name": "hash",
848
+ "type": "text",
849
+ "primaryKey": false,
850
+ "notNull": true
851
+ },
852
+ "version": {
853
+ "name": "version",
854
+ "type": "integer",
855
+ "primaryKey": false,
856
+ "notNull": true,
857
+ "default": 0
858
+ },
859
+ "at": {
860
+ "name": "at",
861
+ "type": "timestamp with time zone",
862
+ "primaryKey": false,
863
+ "notNull": true,
864
+ "default": "now()"
865
+ }
866
+ },
867
+ "indexes": {},
868
+ "foreignKeys": {},
869
+ "compositePrimaryKeys": {
870
+ "pk_mirror_file": {
871
+ "name": "pk_mirror_file",
872
+ "columns": [
873
+ "task_id"
874
+ ]
875
+ }
876
+ },
877
+ "uniqueConstraints": {
878
+ "mirror_file_path_unique": {
879
+ "name": "mirror_file_path_unique",
880
+ "nullsNotDistinct": false,
881
+ "columns": [
882
+ "path"
883
+ ]
884
+ }
885
+ },
886
+ "policies": {},
887
+ "checkConstraints": {},
888
+ "isRLSEnabled": false
889
+ },
890
+ "aerie.route_rule": {
891
+ "name": "route_rule",
892
+ "schema": "aerie",
893
+ "columns": {
894
+ "id": {
895
+ "name": "id",
896
+ "type": "serial",
897
+ "primaryKey": false,
898
+ "notNull": true
899
+ },
900
+ "rank": {
901
+ "name": "rank",
902
+ "type": "integer",
903
+ "primaryKey": false,
904
+ "notNull": true
905
+ },
906
+ "filter": {
907
+ "name": "filter",
908
+ "type": "jsonb",
909
+ "primaryKey": false,
910
+ "notNull": true,
911
+ "default": "'{}'::jsonb"
912
+ },
913
+ "runner": {
914
+ "name": "runner",
915
+ "type": "text",
916
+ "primaryKey": false,
917
+ "notNull": true
918
+ },
919
+ "model": {
920
+ "name": "model",
921
+ "type": "text",
922
+ "primaryKey": false,
923
+ "notNull": false
924
+ },
925
+ "lane": {
926
+ "name": "lane",
927
+ "type": "text",
928
+ "primaryKey": false,
929
+ "notNull": false
930
+ },
931
+ "why": {
932
+ "name": "why",
933
+ "type": "text",
934
+ "primaryKey": false,
935
+ "notNull": true
936
+ },
937
+ "by": {
938
+ "name": "by",
939
+ "type": "text",
940
+ "primaryKey": false,
941
+ "notNull": true
942
+ },
943
+ "at": {
944
+ "name": "at",
945
+ "type": "timestamp with time zone",
946
+ "primaryKey": false,
947
+ "notNull": true,
948
+ "default": "now()"
949
+ }
950
+ },
951
+ "indexes": {
952
+ "route_rule_rank_idx": {
953
+ "name": "route_rule_rank_idx",
954
+ "columns": [
955
+ {
956
+ "expression": "rank",
957
+ "isExpression": false,
958
+ "asc": true,
959
+ "nulls": "last"
960
+ }
961
+ ],
962
+ "isUnique": false,
963
+ "concurrently": false,
964
+ "method": "btree",
965
+ "with": {}
966
+ }
967
+ },
968
+ "foreignKeys": {},
969
+ "compositePrimaryKeys": {
970
+ "pk_route_rule": {
971
+ "name": "pk_route_rule",
972
+ "columns": [
973
+ "id"
974
+ ]
975
+ }
976
+ },
977
+ "uniqueConstraints": {},
978
+ "policies": {},
979
+ "checkConstraints": {
980
+ "route_rule_runner_check": {
981
+ "name": "route_rule_runner_check",
982
+ "value": "\"runner\" IN ('claude', 'codex', 'grok', 'api', 'autobrowse-do', 'session')"
983
+ },
984
+ "route_rule_lane_check": {
985
+ "name": "route_rule_lane_check",
986
+ "value": "runner <> 'session' or lane is not null"
987
+ }
988
+ },
989
+ "isRLSEnabled": false
990
+ },
991
+ "aerie.setting": {
992
+ "name": "setting",
993
+ "schema": "aerie",
994
+ "columns": {
995
+ "key": {
996
+ "name": "key",
997
+ "type": "text",
998
+ "primaryKey": false,
999
+ "notNull": true
1000
+ },
1001
+ "value": {
1002
+ "name": "value",
1003
+ "type": "text",
1004
+ "primaryKey": false,
1005
+ "notNull": true
1006
+ }
1007
+ },
1008
+ "indexes": {},
1009
+ "foreignKeys": {},
1010
+ "compositePrimaryKeys": {
1011
+ "pk_setting": {
1012
+ "name": "pk_setting",
1013
+ "columns": [
1014
+ "key"
1015
+ ]
1016
+ }
1017
+ },
1018
+ "uniqueConstraints": {},
1019
+ "policies": {},
1020
+ "checkConstraints": {},
1021
+ "isRLSEnabled": false
1022
+ },
1023
+ "aerie.task": {
1024
+ "name": "task",
1025
+ "schema": "aerie",
1026
+ "columns": {
1027
+ "id": {
1028
+ "name": "id",
1029
+ "type": "text",
1030
+ "primaryKey": false,
1031
+ "notNull": true
1032
+ },
1033
+ "area_id": {
1034
+ "name": "area_id",
1035
+ "type": "integer",
1036
+ "primaryKey": false,
1037
+ "notNull": true
1038
+ },
1039
+ "title": {
1040
+ "name": "title",
1041
+ "type": "text",
1042
+ "primaryKey": false,
1043
+ "notNull": true
1044
+ },
1045
+ "status": {
1046
+ "name": "status",
1047
+ "type": "text",
1048
+ "primaryKey": false,
1049
+ "notNull": true
1050
+ },
1051
+ "priority": {
1052
+ "name": "priority",
1053
+ "type": "text",
1054
+ "primaryKey": false,
1055
+ "notNull": false
1056
+ },
1057
+ "type": {
1058
+ "name": "type",
1059
+ "type": "text",
1060
+ "primaryKey": false,
1061
+ "notNull": false
1062
+ },
1063
+ "milestone": {
1064
+ "name": "milestone",
1065
+ "type": "text",
1066
+ "primaryKey": false,
1067
+ "notNull": false
1068
+ },
1069
+ "labels": {
1070
+ "name": "labels",
1071
+ "type": "text[]",
1072
+ "primaryKey": false,
1073
+ "notNull": true,
1074
+ "default": "'{}'::text[]"
1075
+ },
1076
+ "parent_id": {
1077
+ "name": "parent_id",
1078
+ "type": "text",
1079
+ "primaryKey": false,
1080
+ "notNull": false
1081
+ },
1082
+ "dependencies": {
1083
+ "name": "dependencies",
1084
+ "type": "text[]",
1085
+ "primaryKey": false,
1086
+ "notNull": true,
1087
+ "default": "'{}'::text[]"
1088
+ },
1089
+ "references": {
1090
+ "name": "references",
1091
+ "type": "text[]",
1092
+ "primaryKey": false,
1093
+ "notNull": true,
1094
+ "default": "'{}'::text[]"
1095
+ },
1096
+ "ordinal": {
1097
+ "name": "ordinal",
1098
+ "type": "double precision",
1099
+ "primaryKey": false,
1100
+ "notNull": false
1101
+ },
1102
+ "description": {
1103
+ "name": "description",
1104
+ "type": "text",
1105
+ "primaryKey": false,
1106
+ "notNull": false
1107
+ },
1108
+ "ac": {
1109
+ "name": "ac",
1110
+ "type": "jsonb",
1111
+ "primaryKey": false,
1112
+ "notNull": true,
1113
+ "default": "'[]'::jsonb"
1114
+ },
1115
+ "dod": {
1116
+ "name": "dod",
1117
+ "type": "jsonb",
1118
+ "primaryKey": false,
1119
+ "notNull": true,
1120
+ "default": "'[]'::jsonb"
1121
+ },
1122
+ "plan": {
1123
+ "name": "plan",
1124
+ "type": "text",
1125
+ "primaryKey": false,
1126
+ "notNull": false
1127
+ },
1128
+ "notes": {
1129
+ "name": "notes",
1130
+ "type": "text",
1131
+ "primaryKey": false,
1132
+ "notNull": false
1133
+ },
1134
+ "final_summary": {
1135
+ "name": "final_summary",
1136
+ "type": "text",
1137
+ "primaryKey": false,
1138
+ "notNull": false
1139
+ },
1140
+ "comments": {
1141
+ "name": "comments",
1142
+ "type": "jsonb",
1143
+ "primaryKey": false,
1144
+ "notNull": true,
1145
+ "default": "'[]'::jsonb"
1146
+ },
1147
+ "reporter": {
1148
+ "name": "reporter",
1149
+ "type": "text",
1150
+ "primaryKey": false,
1151
+ "notNull": false
1152
+ },
1153
+ "created_by": {
1154
+ "name": "created_by",
1155
+ "type": "text",
1156
+ "primaryKey": false,
1157
+ "notNull": false
1158
+ },
1159
+ "created_at": {
1160
+ "name": "created_at",
1161
+ "type": "timestamp with time zone",
1162
+ "primaryKey": false,
1163
+ "notNull": true,
1164
+ "default": "now()"
1165
+ },
1166
+ "updated_at": {
1167
+ "name": "updated_at",
1168
+ "type": "timestamp with time zone",
1169
+ "primaryKey": false,
1170
+ "notNull": false
1171
+ },
1172
+ "closed_at": {
1173
+ "name": "closed_at",
1174
+ "type": "timestamp with time zone",
1175
+ "primaryKey": false,
1176
+ "notNull": false
1177
+ },
1178
+ "place": {
1179
+ "name": "place",
1180
+ "type": "text",
1181
+ "primaryKey": false,
1182
+ "notNull": true,
1183
+ "default": "'tasks'"
1184
+ },
1185
+ "extra": {
1186
+ "name": "extra",
1187
+ "type": "jsonb",
1188
+ "primaryKey": false,
1189
+ "notNull": true,
1190
+ "default": "'{}'::jsonb"
1191
+ },
1192
+ "stray": {
1193
+ "name": "stray",
1194
+ "type": "text",
1195
+ "primaryKey": false,
1196
+ "notNull": false
1197
+ },
1198
+ "version": {
1199
+ "name": "version",
1200
+ "type": "integer",
1201
+ "primaryKey": false,
1202
+ "notNull": true,
1203
+ "default": 1
1204
+ }
1205
+ },
1206
+ "indexes": {
1207
+ "task_area_id_idx": {
1208
+ "name": "task_area_id_idx",
1209
+ "columns": [
1210
+ {
1211
+ "expression": "area_id",
1212
+ "isExpression": false,
1213
+ "asc": true,
1214
+ "nulls": "last"
1215
+ }
1216
+ ],
1217
+ "isUnique": false,
1218
+ "concurrently": false,
1219
+ "method": "btree",
1220
+ "with": {}
1221
+ },
1222
+ "task_status_idx": {
1223
+ "name": "task_status_idx",
1224
+ "columns": [
1225
+ {
1226
+ "expression": "status",
1227
+ "isExpression": false,
1228
+ "asc": true,
1229
+ "nulls": "last"
1230
+ }
1231
+ ],
1232
+ "isUnique": false,
1233
+ "concurrently": false,
1234
+ "method": "btree",
1235
+ "with": {}
1236
+ },
1237
+ "task_parent_idx": {
1238
+ "name": "task_parent_idx",
1239
+ "columns": [
1240
+ {
1241
+ "expression": "parent_id",
1242
+ "isExpression": false,
1243
+ "asc": true,
1244
+ "nulls": "last"
1245
+ }
1246
+ ],
1247
+ "isUnique": false,
1248
+ "concurrently": false,
1249
+ "method": "btree",
1250
+ "with": {}
1251
+ },
1252
+ "task_labels_idx": {
1253
+ "name": "task_labels_idx",
1254
+ "columns": [
1255
+ {
1256
+ "expression": "labels",
1257
+ "isExpression": false,
1258
+ "asc": true,
1259
+ "nulls": "last"
1260
+ }
1261
+ ],
1262
+ "isUnique": false,
1263
+ "concurrently": false,
1264
+ "method": "gin",
1265
+ "with": {}
1266
+ }
1267
+ },
1268
+ "foreignKeys": {
1269
+ "fk_task_area_id_area": {
1270
+ "name": "fk_task_area_id_area",
1271
+ "tableFrom": "task",
1272
+ "tableTo": "area",
1273
+ "schemaTo": "aerie",
1274
+ "columnsFrom": [
1275
+ "area_id"
1276
+ ],
1277
+ "columnsTo": [
1278
+ "id"
1279
+ ],
1280
+ "onDelete": "restrict",
1281
+ "onUpdate": "no action"
1282
+ }
1283
+ },
1284
+ "compositePrimaryKeys": {
1285
+ "pk_task": {
1286
+ "name": "pk_task",
1287
+ "columns": [
1288
+ "id"
1289
+ ]
1290
+ }
1291
+ },
1292
+ "uniqueConstraints": {},
1293
+ "policies": {},
1294
+ "checkConstraints": {
1295
+ "task_place": {
1296
+ "name": "task_place",
1297
+ "value": "\"place\" IN ('tasks', 'drafts', 'archive/tasks', 'archive/drafts')"
1298
+ }
1299
+ },
1300
+ "isRLSEnabled": false
1301
+ },
1302
+ "aerie.task_actor": {
1303
+ "name": "task_actor",
1304
+ "schema": "aerie",
1305
+ "columns": {
1306
+ "task_id": {
1307
+ "name": "task_id",
1308
+ "type": "text",
1309
+ "primaryKey": false,
1310
+ "notNull": true
1311
+ },
1312
+ "actor_id": {
1313
+ "name": "actor_id",
1314
+ "type": "text",
1315
+ "primaryKey": false,
1316
+ "notNull": true
1317
+ },
1318
+ "role": {
1319
+ "name": "role",
1320
+ "type": "text",
1321
+ "primaryKey": false,
1322
+ "notNull": true
1323
+ },
1324
+ "sort": {
1325
+ "name": "sort",
1326
+ "type": "integer",
1327
+ "primaryKey": false,
1328
+ "notNull": true,
1329
+ "default": 0
1330
+ }
1331
+ },
1332
+ "indexes": {
1333
+ "task_actor_actor_idx": {
1334
+ "name": "task_actor_actor_idx",
1335
+ "columns": [
1336
+ {
1337
+ "expression": "actor_id",
1338
+ "isExpression": false,
1339
+ "asc": true,
1340
+ "nulls": "last"
1341
+ }
1342
+ ],
1343
+ "isUnique": false,
1344
+ "concurrently": false,
1345
+ "method": "btree",
1346
+ "with": {}
1347
+ }
1348
+ },
1349
+ "foreignKeys": {
1350
+ "fk_task_actor_task_id_task": {
1351
+ "name": "fk_task_actor_task_id_task",
1352
+ "tableFrom": "task_actor",
1353
+ "tableTo": "task",
1354
+ "schemaTo": "aerie",
1355
+ "columnsFrom": [
1356
+ "task_id"
1357
+ ],
1358
+ "columnsTo": [
1359
+ "id"
1360
+ ],
1361
+ "onDelete": "cascade",
1362
+ "onUpdate": "no action"
1363
+ },
1364
+ "fk_task_actor_actor_id_actor": {
1365
+ "name": "fk_task_actor_actor_id_actor",
1366
+ "tableFrom": "task_actor",
1367
+ "tableTo": "actor",
1368
+ "schemaTo": "aerie",
1369
+ "columnsFrom": [
1370
+ "actor_id"
1371
+ ],
1372
+ "columnsTo": [
1373
+ "id"
1374
+ ],
1375
+ "onDelete": "restrict",
1376
+ "onUpdate": "no action"
1377
+ }
1378
+ },
1379
+ "compositePrimaryKeys": {
1380
+ "pk_task_actor": {
1381
+ "name": "pk_task_actor",
1382
+ "columns": [
1383
+ "task_id",
1384
+ "actor_id",
1385
+ "role"
1386
+ ]
1387
+ }
1388
+ },
1389
+ "uniqueConstraints": {},
1390
+ "policies": {},
1391
+ "checkConstraints": {
1392
+ "task_actor_role": {
1393
+ "name": "task_actor_role",
1394
+ "value": "\"role\" IN ('assignee', 'reviewer', 'watcher')"
1395
+ }
1396
+ },
1397
+ "isRLSEnabled": false
1398
+ },
1399
+ "aerie.task_area": {
1400
+ "name": "task_area",
1401
+ "schema": "aerie",
1402
+ "columns": {
1403
+ "task_id": {
1404
+ "name": "task_id",
1405
+ "type": "text",
1406
+ "primaryKey": false,
1407
+ "notNull": true
1408
+ },
1409
+ "area_id": {
1410
+ "name": "area_id",
1411
+ "type": "integer",
1412
+ "primaryKey": false,
1413
+ "notNull": true
1414
+ }
1415
+ },
1416
+ "indexes": {
1417
+ "task_area_area_idx": {
1418
+ "name": "task_area_area_idx",
1419
+ "columns": [
1420
+ {
1421
+ "expression": "area_id",
1422
+ "isExpression": false,
1423
+ "asc": true,
1424
+ "nulls": "last"
1425
+ }
1426
+ ],
1427
+ "isUnique": false,
1428
+ "concurrently": false,
1429
+ "method": "btree",
1430
+ "with": {}
1431
+ }
1432
+ },
1433
+ "foreignKeys": {
1434
+ "fk_task_area_task_id_task": {
1435
+ "name": "fk_task_area_task_id_task",
1436
+ "tableFrom": "task_area",
1437
+ "tableTo": "task",
1438
+ "schemaTo": "aerie",
1439
+ "columnsFrom": [
1440
+ "task_id"
1441
+ ],
1442
+ "columnsTo": [
1443
+ "id"
1444
+ ],
1445
+ "onDelete": "cascade",
1446
+ "onUpdate": "no action"
1447
+ },
1448
+ "fk_task_area_area_id_area": {
1449
+ "name": "fk_task_area_area_id_area",
1450
+ "tableFrom": "task_area",
1451
+ "tableTo": "area",
1452
+ "schemaTo": "aerie",
1453
+ "columnsFrom": [
1454
+ "area_id"
1455
+ ],
1456
+ "columnsTo": [
1457
+ "id"
1458
+ ],
1459
+ "onDelete": "cascade",
1460
+ "onUpdate": "no action"
1461
+ }
1462
+ },
1463
+ "compositePrimaryKeys": {
1464
+ "pk_task_area": {
1465
+ "name": "pk_task_area",
1466
+ "columns": [
1467
+ "task_id",
1468
+ "area_id"
1469
+ ]
1470
+ }
1471
+ },
1472
+ "uniqueConstraints": {},
1473
+ "policies": {},
1474
+ "checkConstraints": {},
1475
+ "isRLSEnabled": false
1476
+ },
1477
+ "aerie.task_event": {
1478
+ "name": "task_event",
1479
+ "schema": "aerie",
1480
+ "columns": {
1481
+ "seq": {
1482
+ "name": "seq",
1483
+ "type": "bigserial",
1484
+ "primaryKey": false,
1485
+ "notNull": true
1486
+ },
1487
+ "task_id": {
1488
+ "name": "task_id",
1489
+ "type": "text",
1490
+ "primaryKey": false,
1491
+ "notNull": true
1492
+ },
1493
+ "at": {
1494
+ "name": "at",
1495
+ "type": "timestamp with time zone",
1496
+ "primaryKey": false,
1497
+ "notNull": true,
1498
+ "default": "now()"
1499
+ },
1500
+ "by": {
1501
+ "name": "by",
1502
+ "type": "text",
1503
+ "primaryKey": false,
1504
+ "notNull": true
1505
+ },
1506
+ "kind": {
1507
+ "name": "kind",
1508
+ "type": "text",
1509
+ "primaryKey": false,
1510
+ "notNull": true
1511
+ },
1512
+ "why": {
1513
+ "name": "why",
1514
+ "type": "text",
1515
+ "primaryKey": false,
1516
+ "notNull": false
1517
+ },
1518
+ "body": {
1519
+ "name": "body",
1520
+ "type": "jsonb",
1521
+ "primaryKey": false,
1522
+ "notNull": true,
1523
+ "default": "'{}'::jsonb"
1524
+ },
1525
+ "words": {
1526
+ "name": "words",
1527
+ "type": "tsvector",
1528
+ "primaryKey": false,
1529
+ "notNull": false,
1530
+ "generated": {
1531
+ "as": "to_tsvector('simple', kind || ' ' || coalesce(why, '')) || jsonb_to_tsvector('simple', body, '[\"string\"]')",
1532
+ "type": "stored"
1533
+ }
1534
+ }
1535
+ },
1536
+ "indexes": {
1537
+ "task_event_task_idx": {
1538
+ "name": "task_event_task_idx",
1539
+ "columns": [
1540
+ {
1541
+ "expression": "task_id",
1542
+ "isExpression": false,
1543
+ "asc": true,
1544
+ "nulls": "last"
1545
+ },
1546
+ {
1547
+ "expression": "seq",
1548
+ "isExpression": false,
1549
+ "asc": true,
1550
+ "nulls": "last"
1551
+ }
1552
+ ],
1553
+ "isUnique": false,
1554
+ "concurrently": false,
1555
+ "method": "btree",
1556
+ "with": {}
1557
+ },
1558
+ "task_event_words_idx": {
1559
+ "name": "task_event_words_idx",
1560
+ "columns": [
1561
+ {
1562
+ "expression": "words",
1563
+ "isExpression": false,
1564
+ "asc": true,
1565
+ "nulls": "last"
1566
+ }
1567
+ ],
1568
+ "isUnique": false,
1569
+ "concurrently": false,
1570
+ "method": "gin",
1571
+ "with": {}
1572
+ }
1573
+ },
1574
+ "foreignKeys": {},
1575
+ "compositePrimaryKeys": {
1576
+ "pk_task_event": {
1577
+ "name": "pk_task_event",
1578
+ "columns": [
1579
+ "seq"
1580
+ ]
1581
+ }
1582
+ },
1583
+ "uniqueConstraints": {},
1584
+ "policies": {},
1585
+ "checkConstraints": {},
1586
+ "isRLSEnabled": false
1587
+ },
1588
+ "aerie.task_holder": {
1589
+ "name": "task_holder",
1590
+ "schema": "aerie",
1591
+ "columns": {
1592
+ "task_id": {
1593
+ "name": "task_id",
1594
+ "type": "text",
1595
+ "primaryKey": false,
1596
+ "notNull": true
1597
+ },
1598
+ "holder": {
1599
+ "name": "holder",
1600
+ "type": "text",
1601
+ "primaryKey": false,
1602
+ "notNull": true
1603
+ },
1604
+ "since": {
1605
+ "name": "since",
1606
+ "type": "timestamp with time zone",
1607
+ "primaryKey": false,
1608
+ "notNull": true,
1609
+ "default": "now()"
1610
+ },
1611
+ "sort": {
1612
+ "name": "sort",
1613
+ "type": "integer",
1614
+ "primaryKey": false,
1615
+ "notNull": true,
1616
+ "default": 0
1617
+ }
1618
+ },
1619
+ "indexes": {},
1620
+ "foreignKeys": {
1621
+ "fk_task_holder_task_id_task": {
1622
+ "name": "fk_task_holder_task_id_task",
1623
+ "tableFrom": "task_holder",
1624
+ "tableTo": "task",
1625
+ "schemaTo": "aerie",
1626
+ "columnsFrom": [
1627
+ "task_id"
1628
+ ],
1629
+ "columnsTo": [
1630
+ "id"
1631
+ ],
1632
+ "onDelete": "cascade",
1633
+ "onUpdate": "no action"
1634
+ }
1635
+ },
1636
+ "compositePrimaryKeys": {
1637
+ "pk_task_holder": {
1638
+ "name": "pk_task_holder",
1639
+ "columns": [
1640
+ "task_id",
1641
+ "holder"
1642
+ ]
1643
+ }
1644
+ },
1645
+ "uniqueConstraints": {},
1646
+ "policies": {},
1647
+ "checkConstraints": {},
1648
+ "isRLSEnabled": false
1649
+ },
1650
+ "aerie.view": {
1651
+ "name": "view",
1652
+ "schema": "aerie",
1653
+ "columns": {
1654
+ "id": {
1655
+ "name": "id",
1656
+ "type": "serial",
1657
+ "primaryKey": false,
1658
+ "notNull": true
1659
+ },
1660
+ "owner": {
1661
+ "name": "owner",
1662
+ "type": "text",
1663
+ "primaryKey": false,
1664
+ "notNull": true
1665
+ },
1666
+ "name": {
1667
+ "name": "name",
1668
+ "type": "text",
1669
+ "primaryKey": false,
1670
+ "notNull": true
1671
+ },
1672
+ "filter": {
1673
+ "name": "filter",
1674
+ "type": "jsonb",
1675
+ "primaryKey": false,
1676
+ "notNull": true,
1677
+ "default": "'{}'::jsonb"
1678
+ },
1679
+ "sort": {
1680
+ "name": "sort",
1681
+ "type": "jsonb",
1682
+ "primaryKey": false,
1683
+ "notNull": true,
1684
+ "default": "'[]'::jsonb"
1685
+ },
1686
+ "group_by": {
1687
+ "name": "group_by",
1688
+ "type": "text",
1689
+ "primaryKey": false,
1690
+ "notNull": false
1691
+ },
1692
+ "layout": {
1693
+ "name": "layout",
1694
+ "type": "text",
1695
+ "primaryKey": false,
1696
+ "notNull": true,
1697
+ "default": "'board'"
1698
+ },
1699
+ "columns": {
1700
+ "name": "columns",
1701
+ "type": "jsonb",
1702
+ "primaryKey": false,
1703
+ "notNull": false
1704
+ }
1705
+ },
1706
+ "indexes": {},
1707
+ "foreignKeys": {
1708
+ "fk_view_owner_actor": {
1709
+ "name": "fk_view_owner_actor",
1710
+ "tableFrom": "view",
1711
+ "tableTo": "actor",
1712
+ "schemaTo": "aerie",
1713
+ "columnsFrom": [
1714
+ "owner"
1715
+ ],
1716
+ "columnsTo": [
1717
+ "id"
1718
+ ],
1719
+ "onDelete": "cascade",
1720
+ "onUpdate": "no action"
1721
+ }
1722
+ },
1723
+ "compositePrimaryKeys": {
1724
+ "pk_view": {
1725
+ "name": "pk_view",
1726
+ "columns": [
1727
+ "id"
1728
+ ]
1729
+ }
1730
+ },
1731
+ "uniqueConstraints": {
1732
+ "view_owner_name": {
1733
+ "name": "view_owner_name",
1734
+ "nullsNotDistinct": false,
1735
+ "columns": [
1736
+ "owner",
1737
+ "name"
1738
+ ]
1739
+ }
1740
+ },
1741
+ "policies": {},
1742
+ "checkConstraints": {
1743
+ "view_layout": {
1744
+ "name": "view_layout",
1745
+ "value": "\"layout\" IN ('board', 'list', 'columns')"
1746
+ }
1747
+ },
1748
+ "isRLSEnabled": false
1749
+ }
1750
+ },
1751
+ "enums": {},
1752
+ "schemas": {
1753
+ "aerie": "aerie"
1754
+ },
1755
+ "sequences": {
1756
+ "aerie.coord_gen": {
1757
+ "name": "coord_gen",
1758
+ "schema": "aerie",
1759
+ "increment": "1",
1760
+ "startWith": "1",
1761
+ "minValue": "1",
1762
+ "maxValue": "9223372036854775807",
1763
+ "cache": "1",
1764
+ "cycle": false
1765
+ }
1766
+ },
1767
+ "roles": {},
1768
+ "policies": {},
1769
+ "views": {},
1770
+ "_meta": {
1771
+ "columns": {},
1772
+ "schemas": {},
1773
+ "tables": {}
1774
+ }
1775
+ }