@wrenautomation/aerie 0.8.4 → 0.8.6

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,1926 @@
1
+ {
2
+ "id": "830deb86-eae4-4000-adf4-b2fc1ede4b72",
3
+ "prevId": "4e8dd67d-b9ab-470d-9031-d1aa6f1ac2ce",
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.remote_call": {
897
+ "name": "remote_call",
898
+ "schema": "aerie",
899
+ "columns": {
900
+ "id": {
901
+ "name": "id",
902
+ "type": "serial",
903
+ "primaryKey": false,
904
+ "notNull": true
905
+ },
906
+ "at": {
907
+ "name": "at",
908
+ "type": "timestamp with time zone",
909
+ "primaryKey": false,
910
+ "notNull": true,
911
+ "default": "now()"
912
+ },
913
+ "caller": {
914
+ "name": "caller",
915
+ "type": "text",
916
+ "primaryKey": false,
917
+ "notNull": true
918
+ },
919
+ "email": {
920
+ "name": "email",
921
+ "type": "text",
922
+ "primaryKey": false,
923
+ "notNull": false
924
+ },
925
+ "client": {
926
+ "name": "client",
927
+ "type": "text",
928
+ "primaryKey": false,
929
+ "notNull": false
930
+ },
931
+ "port": {
932
+ "name": "port",
933
+ "type": "text",
934
+ "primaryKey": false,
935
+ "notNull": true
936
+ },
937
+ "op": {
938
+ "name": "op",
939
+ "type": "text",
940
+ "primaryKey": false,
941
+ "notNull": true
942
+ },
943
+ "args": {
944
+ "name": "args",
945
+ "type": "jsonb",
946
+ "primaryKey": false,
947
+ "notNull": true
948
+ },
949
+ "ms": {
950
+ "name": "ms",
951
+ "type": "integer",
952
+ "primaryKey": false,
953
+ "notNull": true
954
+ },
955
+ "ok": {
956
+ "name": "ok",
957
+ "type": "boolean",
958
+ "primaryKey": false,
959
+ "notNull": true
960
+ },
961
+ "status": {
962
+ "name": "status",
963
+ "type": "integer",
964
+ "primaryKey": false,
965
+ "notNull": false
966
+ },
967
+ "error": {
968
+ "name": "error",
969
+ "type": "text",
970
+ "primaryKey": false,
971
+ "notNull": false
972
+ }
973
+ },
974
+ "indexes": {
975
+ "remote_call_at_idx": {
976
+ "name": "remote_call_at_idx",
977
+ "columns": [
978
+ {
979
+ "expression": "at",
980
+ "isExpression": false,
981
+ "asc": true,
982
+ "nulls": "last"
983
+ }
984
+ ],
985
+ "isUnique": false,
986
+ "concurrently": false,
987
+ "method": "btree",
988
+ "with": {}
989
+ },
990
+ "remote_call_caller_idx": {
991
+ "name": "remote_call_caller_idx",
992
+ "columns": [
993
+ {
994
+ "expression": "caller",
995
+ "isExpression": false,
996
+ "asc": true,
997
+ "nulls": "last"
998
+ },
999
+ {
1000
+ "expression": "at",
1001
+ "isExpression": false,
1002
+ "asc": true,
1003
+ "nulls": "last"
1004
+ }
1005
+ ],
1006
+ "isUnique": false,
1007
+ "concurrently": false,
1008
+ "method": "btree",
1009
+ "with": {}
1010
+ }
1011
+ },
1012
+ "foreignKeys": {},
1013
+ "compositePrimaryKeys": {
1014
+ "pk_remote_call": {
1015
+ "name": "pk_remote_call",
1016
+ "columns": [
1017
+ "id"
1018
+ ]
1019
+ }
1020
+ },
1021
+ "uniqueConstraints": {},
1022
+ "policies": {},
1023
+ "checkConstraints": {},
1024
+ "isRLSEnabled": false
1025
+ },
1026
+ "aerie.route_rule": {
1027
+ "name": "route_rule",
1028
+ "schema": "aerie",
1029
+ "columns": {
1030
+ "id": {
1031
+ "name": "id",
1032
+ "type": "serial",
1033
+ "primaryKey": false,
1034
+ "notNull": true
1035
+ },
1036
+ "rank": {
1037
+ "name": "rank",
1038
+ "type": "integer",
1039
+ "primaryKey": false,
1040
+ "notNull": true
1041
+ },
1042
+ "filter": {
1043
+ "name": "filter",
1044
+ "type": "jsonb",
1045
+ "primaryKey": false,
1046
+ "notNull": true,
1047
+ "default": "'{}'::jsonb"
1048
+ },
1049
+ "runner": {
1050
+ "name": "runner",
1051
+ "type": "text",
1052
+ "primaryKey": false,
1053
+ "notNull": true
1054
+ },
1055
+ "model": {
1056
+ "name": "model",
1057
+ "type": "text",
1058
+ "primaryKey": false,
1059
+ "notNull": false
1060
+ },
1061
+ "lane": {
1062
+ "name": "lane",
1063
+ "type": "text",
1064
+ "primaryKey": false,
1065
+ "notNull": false
1066
+ },
1067
+ "why": {
1068
+ "name": "why",
1069
+ "type": "text",
1070
+ "primaryKey": false,
1071
+ "notNull": true
1072
+ },
1073
+ "by": {
1074
+ "name": "by",
1075
+ "type": "text",
1076
+ "primaryKey": false,
1077
+ "notNull": true
1078
+ },
1079
+ "at": {
1080
+ "name": "at",
1081
+ "type": "timestamp with time zone",
1082
+ "primaryKey": false,
1083
+ "notNull": true,
1084
+ "default": "now()"
1085
+ }
1086
+ },
1087
+ "indexes": {
1088
+ "route_rule_rank_idx": {
1089
+ "name": "route_rule_rank_idx",
1090
+ "columns": [
1091
+ {
1092
+ "expression": "rank",
1093
+ "isExpression": false,
1094
+ "asc": true,
1095
+ "nulls": "last"
1096
+ }
1097
+ ],
1098
+ "isUnique": false,
1099
+ "concurrently": false,
1100
+ "method": "btree",
1101
+ "with": {}
1102
+ }
1103
+ },
1104
+ "foreignKeys": {},
1105
+ "compositePrimaryKeys": {
1106
+ "pk_route_rule": {
1107
+ "name": "pk_route_rule",
1108
+ "columns": [
1109
+ "id"
1110
+ ]
1111
+ }
1112
+ },
1113
+ "uniqueConstraints": {},
1114
+ "policies": {},
1115
+ "checkConstraints": {
1116
+ "route_rule_runner_check": {
1117
+ "name": "route_rule_runner_check",
1118
+ "value": "\"runner\" IN ('claude', 'codex', 'grok', 'api', 'autobrowse-do', 'session')"
1119
+ },
1120
+ "route_rule_lane_check": {
1121
+ "name": "route_rule_lane_check",
1122
+ "value": "runner <> 'session' or lane is not null"
1123
+ }
1124
+ },
1125
+ "isRLSEnabled": false
1126
+ },
1127
+ "aerie.setting": {
1128
+ "name": "setting",
1129
+ "schema": "aerie",
1130
+ "columns": {
1131
+ "key": {
1132
+ "name": "key",
1133
+ "type": "text",
1134
+ "primaryKey": false,
1135
+ "notNull": true
1136
+ },
1137
+ "value": {
1138
+ "name": "value",
1139
+ "type": "text",
1140
+ "primaryKey": false,
1141
+ "notNull": true
1142
+ }
1143
+ },
1144
+ "indexes": {},
1145
+ "foreignKeys": {},
1146
+ "compositePrimaryKeys": {
1147
+ "pk_setting": {
1148
+ "name": "pk_setting",
1149
+ "columns": [
1150
+ "key"
1151
+ ]
1152
+ }
1153
+ },
1154
+ "uniqueConstraints": {},
1155
+ "policies": {},
1156
+ "checkConstraints": {},
1157
+ "isRLSEnabled": false
1158
+ },
1159
+ "aerie.task": {
1160
+ "name": "task",
1161
+ "schema": "aerie",
1162
+ "columns": {
1163
+ "id": {
1164
+ "name": "id",
1165
+ "type": "text",
1166
+ "primaryKey": false,
1167
+ "notNull": true
1168
+ },
1169
+ "area_id": {
1170
+ "name": "area_id",
1171
+ "type": "integer",
1172
+ "primaryKey": false,
1173
+ "notNull": true
1174
+ },
1175
+ "title": {
1176
+ "name": "title",
1177
+ "type": "text",
1178
+ "primaryKey": false,
1179
+ "notNull": true
1180
+ },
1181
+ "status": {
1182
+ "name": "status",
1183
+ "type": "text",
1184
+ "primaryKey": false,
1185
+ "notNull": true
1186
+ },
1187
+ "priority": {
1188
+ "name": "priority",
1189
+ "type": "text",
1190
+ "primaryKey": false,
1191
+ "notNull": false
1192
+ },
1193
+ "type": {
1194
+ "name": "type",
1195
+ "type": "text",
1196
+ "primaryKey": false,
1197
+ "notNull": false
1198
+ },
1199
+ "milestone": {
1200
+ "name": "milestone",
1201
+ "type": "text",
1202
+ "primaryKey": false,
1203
+ "notNull": false
1204
+ },
1205
+ "labels": {
1206
+ "name": "labels",
1207
+ "type": "text[]",
1208
+ "primaryKey": false,
1209
+ "notNull": true,
1210
+ "default": "'{}'::text[]"
1211
+ },
1212
+ "parent_id": {
1213
+ "name": "parent_id",
1214
+ "type": "text",
1215
+ "primaryKey": false,
1216
+ "notNull": false
1217
+ },
1218
+ "dependencies": {
1219
+ "name": "dependencies",
1220
+ "type": "text[]",
1221
+ "primaryKey": false,
1222
+ "notNull": true,
1223
+ "default": "'{}'::text[]"
1224
+ },
1225
+ "references": {
1226
+ "name": "references",
1227
+ "type": "text[]",
1228
+ "primaryKey": false,
1229
+ "notNull": true,
1230
+ "default": "'{}'::text[]"
1231
+ },
1232
+ "ordinal": {
1233
+ "name": "ordinal",
1234
+ "type": "double precision",
1235
+ "primaryKey": false,
1236
+ "notNull": false
1237
+ },
1238
+ "description": {
1239
+ "name": "description",
1240
+ "type": "text",
1241
+ "primaryKey": false,
1242
+ "notNull": false
1243
+ },
1244
+ "ac": {
1245
+ "name": "ac",
1246
+ "type": "jsonb",
1247
+ "primaryKey": false,
1248
+ "notNull": true,
1249
+ "default": "'[]'::jsonb"
1250
+ },
1251
+ "dod": {
1252
+ "name": "dod",
1253
+ "type": "jsonb",
1254
+ "primaryKey": false,
1255
+ "notNull": true,
1256
+ "default": "'[]'::jsonb"
1257
+ },
1258
+ "plan": {
1259
+ "name": "plan",
1260
+ "type": "text",
1261
+ "primaryKey": false,
1262
+ "notNull": false
1263
+ },
1264
+ "notes": {
1265
+ "name": "notes",
1266
+ "type": "text",
1267
+ "primaryKey": false,
1268
+ "notNull": false
1269
+ },
1270
+ "final_summary": {
1271
+ "name": "final_summary",
1272
+ "type": "text",
1273
+ "primaryKey": false,
1274
+ "notNull": false
1275
+ },
1276
+ "comments": {
1277
+ "name": "comments",
1278
+ "type": "jsonb",
1279
+ "primaryKey": false,
1280
+ "notNull": true,
1281
+ "default": "'[]'::jsonb"
1282
+ },
1283
+ "reporter": {
1284
+ "name": "reporter",
1285
+ "type": "text",
1286
+ "primaryKey": false,
1287
+ "notNull": false
1288
+ },
1289
+ "created_by": {
1290
+ "name": "created_by",
1291
+ "type": "text",
1292
+ "primaryKey": false,
1293
+ "notNull": false
1294
+ },
1295
+ "created_at": {
1296
+ "name": "created_at",
1297
+ "type": "timestamp with time zone",
1298
+ "primaryKey": false,
1299
+ "notNull": true,
1300
+ "default": "now()"
1301
+ },
1302
+ "updated_at": {
1303
+ "name": "updated_at",
1304
+ "type": "timestamp with time zone",
1305
+ "primaryKey": false,
1306
+ "notNull": false
1307
+ },
1308
+ "closed_at": {
1309
+ "name": "closed_at",
1310
+ "type": "timestamp with time zone",
1311
+ "primaryKey": false,
1312
+ "notNull": false
1313
+ },
1314
+ "place": {
1315
+ "name": "place",
1316
+ "type": "text",
1317
+ "primaryKey": false,
1318
+ "notNull": true,
1319
+ "default": "'tasks'"
1320
+ },
1321
+ "extra": {
1322
+ "name": "extra",
1323
+ "type": "jsonb",
1324
+ "primaryKey": false,
1325
+ "notNull": true,
1326
+ "default": "'{}'::jsonb"
1327
+ },
1328
+ "stray": {
1329
+ "name": "stray",
1330
+ "type": "text",
1331
+ "primaryKey": false,
1332
+ "notNull": false
1333
+ },
1334
+ "version": {
1335
+ "name": "version",
1336
+ "type": "integer",
1337
+ "primaryKey": false,
1338
+ "notNull": true,
1339
+ "default": 1
1340
+ }
1341
+ },
1342
+ "indexes": {
1343
+ "task_area_id_idx": {
1344
+ "name": "task_area_id_idx",
1345
+ "columns": [
1346
+ {
1347
+ "expression": "area_id",
1348
+ "isExpression": false,
1349
+ "asc": true,
1350
+ "nulls": "last"
1351
+ }
1352
+ ],
1353
+ "isUnique": false,
1354
+ "concurrently": false,
1355
+ "method": "btree",
1356
+ "with": {}
1357
+ },
1358
+ "task_status_idx": {
1359
+ "name": "task_status_idx",
1360
+ "columns": [
1361
+ {
1362
+ "expression": "status",
1363
+ "isExpression": false,
1364
+ "asc": true,
1365
+ "nulls": "last"
1366
+ }
1367
+ ],
1368
+ "isUnique": false,
1369
+ "concurrently": false,
1370
+ "method": "btree",
1371
+ "with": {}
1372
+ },
1373
+ "task_parent_idx": {
1374
+ "name": "task_parent_idx",
1375
+ "columns": [
1376
+ {
1377
+ "expression": "parent_id",
1378
+ "isExpression": false,
1379
+ "asc": true,
1380
+ "nulls": "last"
1381
+ }
1382
+ ],
1383
+ "isUnique": false,
1384
+ "concurrently": false,
1385
+ "method": "btree",
1386
+ "with": {}
1387
+ },
1388
+ "task_labels_idx": {
1389
+ "name": "task_labels_idx",
1390
+ "columns": [
1391
+ {
1392
+ "expression": "labels",
1393
+ "isExpression": false,
1394
+ "asc": true,
1395
+ "nulls": "last"
1396
+ }
1397
+ ],
1398
+ "isUnique": false,
1399
+ "concurrently": false,
1400
+ "method": "gin",
1401
+ "with": {}
1402
+ }
1403
+ },
1404
+ "foreignKeys": {
1405
+ "fk_task_area_id_area": {
1406
+ "name": "fk_task_area_id_area",
1407
+ "tableFrom": "task",
1408
+ "tableTo": "area",
1409
+ "schemaTo": "aerie",
1410
+ "columnsFrom": [
1411
+ "area_id"
1412
+ ],
1413
+ "columnsTo": [
1414
+ "id"
1415
+ ],
1416
+ "onDelete": "restrict",
1417
+ "onUpdate": "no action"
1418
+ }
1419
+ },
1420
+ "compositePrimaryKeys": {
1421
+ "pk_task": {
1422
+ "name": "pk_task",
1423
+ "columns": [
1424
+ "id"
1425
+ ]
1426
+ }
1427
+ },
1428
+ "uniqueConstraints": {},
1429
+ "policies": {},
1430
+ "checkConstraints": {
1431
+ "task_place": {
1432
+ "name": "task_place",
1433
+ "value": "\"place\" IN ('tasks', 'drafts', 'archive/tasks', 'archive/drafts')"
1434
+ }
1435
+ },
1436
+ "isRLSEnabled": false
1437
+ },
1438
+ "aerie.task_actor": {
1439
+ "name": "task_actor",
1440
+ "schema": "aerie",
1441
+ "columns": {
1442
+ "task_id": {
1443
+ "name": "task_id",
1444
+ "type": "text",
1445
+ "primaryKey": false,
1446
+ "notNull": true
1447
+ },
1448
+ "actor_id": {
1449
+ "name": "actor_id",
1450
+ "type": "text",
1451
+ "primaryKey": false,
1452
+ "notNull": true
1453
+ },
1454
+ "role": {
1455
+ "name": "role",
1456
+ "type": "text",
1457
+ "primaryKey": false,
1458
+ "notNull": true
1459
+ },
1460
+ "sort": {
1461
+ "name": "sort",
1462
+ "type": "integer",
1463
+ "primaryKey": false,
1464
+ "notNull": true,
1465
+ "default": 0
1466
+ }
1467
+ },
1468
+ "indexes": {
1469
+ "task_actor_actor_idx": {
1470
+ "name": "task_actor_actor_idx",
1471
+ "columns": [
1472
+ {
1473
+ "expression": "actor_id",
1474
+ "isExpression": false,
1475
+ "asc": true,
1476
+ "nulls": "last"
1477
+ }
1478
+ ],
1479
+ "isUnique": false,
1480
+ "concurrently": false,
1481
+ "method": "btree",
1482
+ "with": {}
1483
+ }
1484
+ },
1485
+ "foreignKeys": {
1486
+ "fk_task_actor_task_id_task": {
1487
+ "name": "fk_task_actor_task_id_task",
1488
+ "tableFrom": "task_actor",
1489
+ "tableTo": "task",
1490
+ "schemaTo": "aerie",
1491
+ "columnsFrom": [
1492
+ "task_id"
1493
+ ],
1494
+ "columnsTo": [
1495
+ "id"
1496
+ ],
1497
+ "onDelete": "cascade",
1498
+ "onUpdate": "no action"
1499
+ },
1500
+ "fk_task_actor_actor_id_actor": {
1501
+ "name": "fk_task_actor_actor_id_actor",
1502
+ "tableFrom": "task_actor",
1503
+ "tableTo": "actor",
1504
+ "schemaTo": "aerie",
1505
+ "columnsFrom": [
1506
+ "actor_id"
1507
+ ],
1508
+ "columnsTo": [
1509
+ "id"
1510
+ ],
1511
+ "onDelete": "restrict",
1512
+ "onUpdate": "no action"
1513
+ }
1514
+ },
1515
+ "compositePrimaryKeys": {
1516
+ "pk_task_actor": {
1517
+ "name": "pk_task_actor",
1518
+ "columns": [
1519
+ "task_id",
1520
+ "actor_id",
1521
+ "role"
1522
+ ]
1523
+ }
1524
+ },
1525
+ "uniqueConstraints": {},
1526
+ "policies": {},
1527
+ "checkConstraints": {
1528
+ "task_actor_role": {
1529
+ "name": "task_actor_role",
1530
+ "value": "\"role\" IN ('assignee', 'reviewer', 'watcher')"
1531
+ }
1532
+ },
1533
+ "isRLSEnabled": false
1534
+ },
1535
+ "aerie.task_area": {
1536
+ "name": "task_area",
1537
+ "schema": "aerie",
1538
+ "columns": {
1539
+ "task_id": {
1540
+ "name": "task_id",
1541
+ "type": "text",
1542
+ "primaryKey": false,
1543
+ "notNull": true
1544
+ },
1545
+ "area_id": {
1546
+ "name": "area_id",
1547
+ "type": "integer",
1548
+ "primaryKey": false,
1549
+ "notNull": true
1550
+ }
1551
+ },
1552
+ "indexes": {
1553
+ "task_area_area_idx": {
1554
+ "name": "task_area_area_idx",
1555
+ "columns": [
1556
+ {
1557
+ "expression": "area_id",
1558
+ "isExpression": false,
1559
+ "asc": true,
1560
+ "nulls": "last"
1561
+ }
1562
+ ],
1563
+ "isUnique": false,
1564
+ "concurrently": false,
1565
+ "method": "btree",
1566
+ "with": {}
1567
+ }
1568
+ },
1569
+ "foreignKeys": {
1570
+ "fk_task_area_task_id_task": {
1571
+ "name": "fk_task_area_task_id_task",
1572
+ "tableFrom": "task_area",
1573
+ "tableTo": "task",
1574
+ "schemaTo": "aerie",
1575
+ "columnsFrom": [
1576
+ "task_id"
1577
+ ],
1578
+ "columnsTo": [
1579
+ "id"
1580
+ ],
1581
+ "onDelete": "cascade",
1582
+ "onUpdate": "no action"
1583
+ },
1584
+ "fk_task_area_area_id_area": {
1585
+ "name": "fk_task_area_area_id_area",
1586
+ "tableFrom": "task_area",
1587
+ "tableTo": "area",
1588
+ "schemaTo": "aerie",
1589
+ "columnsFrom": [
1590
+ "area_id"
1591
+ ],
1592
+ "columnsTo": [
1593
+ "id"
1594
+ ],
1595
+ "onDelete": "cascade",
1596
+ "onUpdate": "no action"
1597
+ }
1598
+ },
1599
+ "compositePrimaryKeys": {
1600
+ "pk_task_area": {
1601
+ "name": "pk_task_area",
1602
+ "columns": [
1603
+ "task_id",
1604
+ "area_id"
1605
+ ]
1606
+ }
1607
+ },
1608
+ "uniqueConstraints": {},
1609
+ "policies": {},
1610
+ "checkConstraints": {},
1611
+ "isRLSEnabled": false
1612
+ },
1613
+ "aerie.task_event": {
1614
+ "name": "task_event",
1615
+ "schema": "aerie",
1616
+ "columns": {
1617
+ "seq": {
1618
+ "name": "seq",
1619
+ "type": "bigserial",
1620
+ "primaryKey": false,
1621
+ "notNull": true
1622
+ },
1623
+ "task_id": {
1624
+ "name": "task_id",
1625
+ "type": "text",
1626
+ "primaryKey": false,
1627
+ "notNull": true
1628
+ },
1629
+ "at": {
1630
+ "name": "at",
1631
+ "type": "timestamp with time zone",
1632
+ "primaryKey": false,
1633
+ "notNull": true,
1634
+ "default": "now()"
1635
+ },
1636
+ "by": {
1637
+ "name": "by",
1638
+ "type": "text",
1639
+ "primaryKey": false,
1640
+ "notNull": true
1641
+ },
1642
+ "kind": {
1643
+ "name": "kind",
1644
+ "type": "text",
1645
+ "primaryKey": false,
1646
+ "notNull": true
1647
+ },
1648
+ "why": {
1649
+ "name": "why",
1650
+ "type": "text",
1651
+ "primaryKey": false,
1652
+ "notNull": false
1653
+ },
1654
+ "body": {
1655
+ "name": "body",
1656
+ "type": "jsonb",
1657
+ "primaryKey": false,
1658
+ "notNull": true,
1659
+ "default": "'{}'::jsonb"
1660
+ },
1661
+ "words": {
1662
+ "name": "words",
1663
+ "type": "tsvector",
1664
+ "primaryKey": false,
1665
+ "notNull": false,
1666
+ "generated": {
1667
+ "as": "to_tsvector('simple', kind || ' ' || coalesce(why, '')) || jsonb_to_tsvector('simple', body, '[\"string\"]')",
1668
+ "type": "stored"
1669
+ }
1670
+ }
1671
+ },
1672
+ "indexes": {
1673
+ "task_event_task_idx": {
1674
+ "name": "task_event_task_idx",
1675
+ "columns": [
1676
+ {
1677
+ "expression": "task_id",
1678
+ "isExpression": false,
1679
+ "asc": true,
1680
+ "nulls": "last"
1681
+ },
1682
+ {
1683
+ "expression": "seq",
1684
+ "isExpression": false,
1685
+ "asc": true,
1686
+ "nulls": "last"
1687
+ }
1688
+ ],
1689
+ "isUnique": false,
1690
+ "concurrently": false,
1691
+ "method": "btree",
1692
+ "with": {}
1693
+ },
1694
+ "task_event_at_idx": {
1695
+ "name": "task_event_at_idx",
1696
+ "columns": [
1697
+ {
1698
+ "expression": "at",
1699
+ "isExpression": false,
1700
+ "asc": true,
1701
+ "nulls": "last"
1702
+ }
1703
+ ],
1704
+ "isUnique": false,
1705
+ "concurrently": false,
1706
+ "method": "btree",
1707
+ "with": {}
1708
+ },
1709
+ "task_event_words_idx": {
1710
+ "name": "task_event_words_idx",
1711
+ "columns": [
1712
+ {
1713
+ "expression": "words",
1714
+ "isExpression": false,
1715
+ "asc": true,
1716
+ "nulls": "last"
1717
+ }
1718
+ ],
1719
+ "isUnique": false,
1720
+ "concurrently": false,
1721
+ "method": "gin",
1722
+ "with": {}
1723
+ }
1724
+ },
1725
+ "foreignKeys": {},
1726
+ "compositePrimaryKeys": {
1727
+ "pk_task_event": {
1728
+ "name": "pk_task_event",
1729
+ "columns": [
1730
+ "seq"
1731
+ ]
1732
+ }
1733
+ },
1734
+ "uniqueConstraints": {},
1735
+ "policies": {},
1736
+ "checkConstraints": {},
1737
+ "isRLSEnabled": false
1738
+ },
1739
+ "aerie.task_holder": {
1740
+ "name": "task_holder",
1741
+ "schema": "aerie",
1742
+ "columns": {
1743
+ "task_id": {
1744
+ "name": "task_id",
1745
+ "type": "text",
1746
+ "primaryKey": false,
1747
+ "notNull": true
1748
+ },
1749
+ "holder": {
1750
+ "name": "holder",
1751
+ "type": "text",
1752
+ "primaryKey": false,
1753
+ "notNull": true
1754
+ },
1755
+ "since": {
1756
+ "name": "since",
1757
+ "type": "timestamp with time zone",
1758
+ "primaryKey": false,
1759
+ "notNull": true,
1760
+ "default": "now()"
1761
+ },
1762
+ "sort": {
1763
+ "name": "sort",
1764
+ "type": "integer",
1765
+ "primaryKey": false,
1766
+ "notNull": true,
1767
+ "default": 0
1768
+ }
1769
+ },
1770
+ "indexes": {},
1771
+ "foreignKeys": {
1772
+ "fk_task_holder_task_id_task": {
1773
+ "name": "fk_task_holder_task_id_task",
1774
+ "tableFrom": "task_holder",
1775
+ "tableTo": "task",
1776
+ "schemaTo": "aerie",
1777
+ "columnsFrom": [
1778
+ "task_id"
1779
+ ],
1780
+ "columnsTo": [
1781
+ "id"
1782
+ ],
1783
+ "onDelete": "cascade",
1784
+ "onUpdate": "no action"
1785
+ }
1786
+ },
1787
+ "compositePrimaryKeys": {
1788
+ "pk_task_holder": {
1789
+ "name": "pk_task_holder",
1790
+ "columns": [
1791
+ "task_id",
1792
+ "holder"
1793
+ ]
1794
+ }
1795
+ },
1796
+ "uniqueConstraints": {},
1797
+ "policies": {},
1798
+ "checkConstraints": {},
1799
+ "isRLSEnabled": false
1800
+ },
1801
+ "aerie.view": {
1802
+ "name": "view",
1803
+ "schema": "aerie",
1804
+ "columns": {
1805
+ "id": {
1806
+ "name": "id",
1807
+ "type": "serial",
1808
+ "primaryKey": false,
1809
+ "notNull": true
1810
+ },
1811
+ "owner": {
1812
+ "name": "owner",
1813
+ "type": "text",
1814
+ "primaryKey": false,
1815
+ "notNull": true
1816
+ },
1817
+ "name": {
1818
+ "name": "name",
1819
+ "type": "text",
1820
+ "primaryKey": false,
1821
+ "notNull": true
1822
+ },
1823
+ "filter": {
1824
+ "name": "filter",
1825
+ "type": "jsonb",
1826
+ "primaryKey": false,
1827
+ "notNull": true,
1828
+ "default": "'{}'::jsonb"
1829
+ },
1830
+ "sort": {
1831
+ "name": "sort",
1832
+ "type": "jsonb",
1833
+ "primaryKey": false,
1834
+ "notNull": true,
1835
+ "default": "'[]'::jsonb"
1836
+ },
1837
+ "group_by": {
1838
+ "name": "group_by",
1839
+ "type": "text",
1840
+ "primaryKey": false,
1841
+ "notNull": false
1842
+ },
1843
+ "layout": {
1844
+ "name": "layout",
1845
+ "type": "text",
1846
+ "primaryKey": false,
1847
+ "notNull": true,
1848
+ "default": "'board'"
1849
+ },
1850
+ "columns": {
1851
+ "name": "columns",
1852
+ "type": "jsonb",
1853
+ "primaryKey": false,
1854
+ "notNull": false
1855
+ }
1856
+ },
1857
+ "indexes": {},
1858
+ "foreignKeys": {
1859
+ "fk_view_owner_actor": {
1860
+ "name": "fk_view_owner_actor",
1861
+ "tableFrom": "view",
1862
+ "tableTo": "actor",
1863
+ "schemaTo": "aerie",
1864
+ "columnsFrom": [
1865
+ "owner"
1866
+ ],
1867
+ "columnsTo": [
1868
+ "id"
1869
+ ],
1870
+ "onDelete": "cascade",
1871
+ "onUpdate": "no action"
1872
+ }
1873
+ },
1874
+ "compositePrimaryKeys": {
1875
+ "pk_view": {
1876
+ "name": "pk_view",
1877
+ "columns": [
1878
+ "id"
1879
+ ]
1880
+ }
1881
+ },
1882
+ "uniqueConstraints": {
1883
+ "view_owner_name": {
1884
+ "name": "view_owner_name",
1885
+ "nullsNotDistinct": false,
1886
+ "columns": [
1887
+ "owner",
1888
+ "name"
1889
+ ]
1890
+ }
1891
+ },
1892
+ "policies": {},
1893
+ "checkConstraints": {
1894
+ "view_layout": {
1895
+ "name": "view_layout",
1896
+ "value": "\"layout\" IN ('board', 'list', 'columns')"
1897
+ }
1898
+ },
1899
+ "isRLSEnabled": false
1900
+ }
1901
+ },
1902
+ "enums": {},
1903
+ "schemas": {
1904
+ "aerie": "aerie"
1905
+ },
1906
+ "sequences": {
1907
+ "aerie.coord_gen": {
1908
+ "name": "coord_gen",
1909
+ "schema": "aerie",
1910
+ "increment": "1",
1911
+ "startWith": "1",
1912
+ "minValue": "1",
1913
+ "maxValue": "9223372036854775807",
1914
+ "cache": "1",
1915
+ "cycle": false
1916
+ }
1917
+ },
1918
+ "roles": {},
1919
+ "policies": {},
1920
+ "views": {},
1921
+ "_meta": {
1922
+ "columns": {},
1923
+ "schemas": {},
1924
+ "tables": {}
1925
+ }
1926
+ }