@pstdio/pocketcoder-cli 0.6.0 → 0.6.1

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,3281 @@
1
+ {
2
+ "version": "8",
3
+ "dialect": "postgres",
4
+ "id": "9cd5bb95-3f9e-43af-a8f4-de9f0d671d89",
5
+ "prevIds": [
6
+ "6b674baa-e4b8-4f1f-bb2c-b5c86f68de8f"
7
+ ],
8
+ "ddl": [
9
+ {
10
+ "isRlsEnabled": false,
11
+ "name": "event_outbox",
12
+ "entityType": "tables",
13
+ "schema": "public"
14
+ },
15
+ {
16
+ "isRlsEnabled": false,
17
+ "name": "machine_keys",
18
+ "entityType": "tables",
19
+ "schema": "public"
20
+ },
21
+ {
22
+ "isRlsEnabled": false,
23
+ "name": "principals",
24
+ "entityType": "tables",
25
+ "schema": "public"
26
+ },
27
+ {
28
+ "isRlsEnabled": false,
29
+ "name": "templates",
30
+ "entityType": "tables",
31
+ "schema": "public"
32
+ },
33
+ {
34
+ "isRlsEnabled": false,
35
+ "name": "warm_pool_runtimes",
36
+ "entityType": "tables",
37
+ "schema": "public"
38
+ },
39
+ {
40
+ "isRlsEnabled": false,
41
+ "name": "workspace_checkpoints",
42
+ "entityType": "tables",
43
+ "schema": "public"
44
+ },
45
+ {
46
+ "isRlsEnabled": false,
47
+ "name": "workspace_conversation_messages",
48
+ "entityType": "tables",
49
+ "schema": "public"
50
+ },
51
+ {
52
+ "isRlsEnabled": false,
53
+ "name": "workspace_conversations",
54
+ "entityType": "tables",
55
+ "schema": "public"
56
+ },
57
+ {
58
+ "isRlsEnabled": false,
59
+ "name": "workspace_logs",
60
+ "entityType": "tables",
61
+ "schema": "public"
62
+ },
63
+ {
64
+ "isRlsEnabled": false,
65
+ "name": "workspace_operations",
66
+ "entityType": "tables",
67
+ "schema": "public"
68
+ },
69
+ {
70
+ "isRlsEnabled": false,
71
+ "name": "workspace_outputs",
72
+ "entityType": "tables",
73
+ "schema": "public"
74
+ },
75
+ {
76
+ "isRlsEnabled": false,
77
+ "name": "workspace_state_history",
78
+ "entityType": "tables",
79
+ "schema": "public"
80
+ },
81
+ {
82
+ "isRlsEnabled": false,
83
+ "name": "workspace_storage",
84
+ "entityType": "tables",
85
+ "schema": "public"
86
+ },
87
+ {
88
+ "isRlsEnabled": false,
89
+ "name": "workspaces",
90
+ "entityType": "tables",
91
+ "schema": "public"
92
+ },
93
+ {
94
+ "type": "uuid",
95
+ "typeSchema": null,
96
+ "notNull": true,
97
+ "dimensions": 0,
98
+ "default": null,
99
+ "generated": null,
100
+ "identity": null,
101
+ "name": "id",
102
+ "entityType": "columns",
103
+ "schema": "public",
104
+ "table": "event_outbox"
105
+ },
106
+ {
107
+ "type": "uuid",
108
+ "typeSchema": null,
109
+ "notNull": true,
110
+ "dimensions": 0,
111
+ "default": null,
112
+ "generated": null,
113
+ "identity": null,
114
+ "name": "workspace_id",
115
+ "entityType": "columns",
116
+ "schema": "public",
117
+ "table": "event_outbox"
118
+ },
119
+ {
120
+ "type": "text",
121
+ "typeSchema": null,
122
+ "notNull": true,
123
+ "dimensions": 0,
124
+ "default": null,
125
+ "generated": null,
126
+ "identity": null,
127
+ "name": "event_type",
128
+ "entityType": "columns",
129
+ "schema": "public",
130
+ "table": "event_outbox"
131
+ },
132
+ {
133
+ "type": "jsonb",
134
+ "typeSchema": null,
135
+ "notNull": true,
136
+ "dimensions": 0,
137
+ "default": null,
138
+ "generated": null,
139
+ "identity": null,
140
+ "name": "payload",
141
+ "entityType": "columns",
142
+ "schema": "public",
143
+ "table": "event_outbox"
144
+ },
145
+ {
146
+ "type": "timestamp with time zone",
147
+ "typeSchema": null,
148
+ "notNull": true,
149
+ "dimensions": 0,
150
+ "default": null,
151
+ "generated": null,
152
+ "identity": null,
153
+ "name": "occurred_at",
154
+ "entityType": "columns",
155
+ "schema": "public",
156
+ "table": "event_outbox"
157
+ },
158
+ {
159
+ "type": "timestamp with time zone",
160
+ "typeSchema": null,
161
+ "notNull": true,
162
+ "dimensions": 0,
163
+ "default": null,
164
+ "generated": null,
165
+ "identity": null,
166
+ "name": "next_attempt_at",
167
+ "entityType": "columns",
168
+ "schema": "public",
169
+ "table": "event_outbox"
170
+ },
171
+ {
172
+ "type": "integer",
173
+ "typeSchema": null,
174
+ "notNull": true,
175
+ "dimensions": 0,
176
+ "default": "0",
177
+ "generated": null,
178
+ "identity": null,
179
+ "name": "attempt_count",
180
+ "entityType": "columns",
181
+ "schema": "public",
182
+ "table": "event_outbox"
183
+ },
184
+ {
185
+ "type": "timestamp with time zone",
186
+ "typeSchema": null,
187
+ "notNull": false,
188
+ "dimensions": 0,
189
+ "default": null,
190
+ "generated": null,
191
+ "identity": null,
192
+ "name": "delivered_at",
193
+ "entityType": "columns",
194
+ "schema": "public",
195
+ "table": "event_outbox"
196
+ },
197
+ {
198
+ "type": "text",
199
+ "typeSchema": null,
200
+ "notNull": false,
201
+ "dimensions": 0,
202
+ "default": null,
203
+ "generated": null,
204
+ "identity": null,
205
+ "name": "last_error_code",
206
+ "entityType": "columns",
207
+ "schema": "public",
208
+ "table": "event_outbox"
209
+ },
210
+ {
211
+ "type": "uuid",
212
+ "typeSchema": null,
213
+ "notNull": true,
214
+ "dimensions": 0,
215
+ "default": null,
216
+ "generated": null,
217
+ "identity": null,
218
+ "name": "id",
219
+ "entityType": "columns",
220
+ "schema": "public",
221
+ "table": "machine_keys"
222
+ },
223
+ {
224
+ "type": "uuid",
225
+ "typeSchema": null,
226
+ "notNull": true,
227
+ "dimensions": 0,
228
+ "default": null,
229
+ "generated": null,
230
+ "identity": null,
231
+ "name": "principal_id",
232
+ "entityType": "columns",
233
+ "schema": "public",
234
+ "table": "machine_keys"
235
+ },
236
+ {
237
+ "type": "bytea",
238
+ "typeSchema": null,
239
+ "notNull": true,
240
+ "dimensions": 0,
241
+ "default": null,
242
+ "generated": null,
243
+ "identity": null,
244
+ "name": "secret_digest",
245
+ "entityType": "columns",
246
+ "schema": "public",
247
+ "table": "machine_keys"
248
+ },
249
+ {
250
+ "type": "text",
251
+ "typeSchema": null,
252
+ "notNull": true,
253
+ "dimensions": 1,
254
+ "default": null,
255
+ "generated": null,
256
+ "identity": null,
257
+ "name": "scopes",
258
+ "entityType": "columns",
259
+ "schema": "public",
260
+ "table": "machine_keys"
261
+ },
262
+ {
263
+ "type": "timestamp with time zone",
264
+ "typeSchema": null,
265
+ "notNull": true,
266
+ "dimensions": 0,
267
+ "default": null,
268
+ "generated": null,
269
+ "identity": null,
270
+ "name": "created_at",
271
+ "entityType": "columns",
272
+ "schema": "public",
273
+ "table": "machine_keys"
274
+ },
275
+ {
276
+ "type": "timestamp with time zone",
277
+ "typeSchema": null,
278
+ "notNull": false,
279
+ "dimensions": 0,
280
+ "default": null,
281
+ "generated": null,
282
+ "identity": null,
283
+ "name": "expires_at",
284
+ "entityType": "columns",
285
+ "schema": "public",
286
+ "table": "machine_keys"
287
+ },
288
+ {
289
+ "type": "timestamp with time zone",
290
+ "typeSchema": null,
291
+ "notNull": false,
292
+ "dimensions": 0,
293
+ "default": null,
294
+ "generated": null,
295
+ "identity": null,
296
+ "name": "revoked_at",
297
+ "entityType": "columns",
298
+ "schema": "public",
299
+ "table": "machine_keys"
300
+ },
301
+ {
302
+ "type": "timestamp with time zone",
303
+ "typeSchema": null,
304
+ "notNull": false,
305
+ "dimensions": 0,
306
+ "default": null,
307
+ "generated": null,
308
+ "identity": null,
309
+ "name": "last_used_at",
310
+ "entityType": "columns",
311
+ "schema": "public",
312
+ "table": "machine_keys"
313
+ },
314
+ {
315
+ "type": "uuid",
316
+ "typeSchema": null,
317
+ "notNull": true,
318
+ "dimensions": 0,
319
+ "default": null,
320
+ "generated": null,
321
+ "identity": null,
322
+ "name": "id",
323
+ "entityType": "columns",
324
+ "schema": "public",
325
+ "table": "principals"
326
+ },
327
+ {
328
+ "type": "text",
329
+ "typeSchema": null,
330
+ "notNull": true,
331
+ "dimensions": 0,
332
+ "default": null,
333
+ "generated": null,
334
+ "identity": null,
335
+ "name": "name",
336
+ "entityType": "columns",
337
+ "schema": "public",
338
+ "table": "principals"
339
+ },
340
+ {
341
+ "type": "text",
342
+ "typeSchema": null,
343
+ "notNull": true,
344
+ "dimensions": 1,
345
+ "default": null,
346
+ "generated": null,
347
+ "identity": null,
348
+ "name": "scopes",
349
+ "entityType": "columns",
350
+ "schema": "public",
351
+ "table": "principals"
352
+ },
353
+ {
354
+ "type": "text",
355
+ "typeSchema": null,
356
+ "notNull": true,
357
+ "dimensions": 1,
358
+ "default": null,
359
+ "generated": null,
360
+ "identity": null,
361
+ "name": "template_names",
362
+ "entityType": "columns",
363
+ "schema": "public",
364
+ "table": "principals"
365
+ },
366
+ {
367
+ "type": "timestamp with time zone",
368
+ "typeSchema": null,
369
+ "notNull": false,
370
+ "dimensions": 0,
371
+ "default": null,
372
+ "generated": null,
373
+ "identity": null,
374
+ "name": "disabled_at",
375
+ "entityType": "columns",
376
+ "schema": "public",
377
+ "table": "principals"
378
+ },
379
+ {
380
+ "type": "timestamp with time zone",
381
+ "typeSchema": null,
382
+ "notNull": true,
383
+ "dimensions": 0,
384
+ "default": null,
385
+ "generated": null,
386
+ "identity": null,
387
+ "name": "created_at",
388
+ "entityType": "columns",
389
+ "schema": "public",
390
+ "table": "principals"
391
+ },
392
+ {
393
+ "type": "uuid",
394
+ "typeSchema": null,
395
+ "notNull": true,
396
+ "dimensions": 0,
397
+ "default": null,
398
+ "generated": null,
399
+ "identity": null,
400
+ "name": "id",
401
+ "entityType": "columns",
402
+ "schema": "public",
403
+ "table": "templates"
404
+ },
405
+ {
406
+ "type": "text",
407
+ "typeSchema": null,
408
+ "notNull": true,
409
+ "dimensions": 0,
410
+ "default": null,
411
+ "generated": null,
412
+ "identity": null,
413
+ "name": "name",
414
+ "entityType": "columns",
415
+ "schema": "public",
416
+ "table": "templates"
417
+ },
418
+ {
419
+ "type": "text",
420
+ "typeSchema": null,
421
+ "notNull": true,
422
+ "dimensions": 0,
423
+ "default": null,
424
+ "generated": null,
425
+ "identity": null,
426
+ "name": "version",
427
+ "entityType": "columns",
428
+ "schema": "public",
429
+ "table": "templates"
430
+ },
431
+ {
432
+ "type": "text",
433
+ "typeSchema": null,
434
+ "notNull": true,
435
+ "dimensions": 0,
436
+ "default": null,
437
+ "generated": null,
438
+ "identity": null,
439
+ "name": "digest",
440
+ "entityType": "columns",
441
+ "schema": "public",
442
+ "table": "templates"
443
+ },
444
+ {
445
+ "type": "text",
446
+ "typeSchema": null,
447
+ "notNull": false,
448
+ "dimensions": 0,
449
+ "default": null,
450
+ "generated": null,
451
+ "identity": null,
452
+ "name": "description",
453
+ "entityType": "columns",
454
+ "schema": "public",
455
+ "table": "templates"
456
+ },
457
+ {
458
+ "type": "jsonb",
459
+ "typeSchema": null,
460
+ "notNull": true,
461
+ "dimensions": 0,
462
+ "default": null,
463
+ "generated": null,
464
+ "identity": null,
465
+ "name": "spec",
466
+ "entityType": "columns",
467
+ "schema": "public",
468
+ "table": "templates"
469
+ },
470
+ {
471
+ "type": "text",
472
+ "typeSchema": null,
473
+ "notNull": true,
474
+ "dimensions": 0,
475
+ "default": null,
476
+ "generated": null,
477
+ "identity": null,
478
+ "name": "status",
479
+ "entityType": "columns",
480
+ "schema": "public",
481
+ "table": "templates"
482
+ },
483
+ {
484
+ "type": "timestamp with time zone",
485
+ "typeSchema": null,
486
+ "notNull": true,
487
+ "dimensions": 0,
488
+ "default": null,
489
+ "generated": null,
490
+ "identity": null,
491
+ "name": "created_at",
492
+ "entityType": "columns",
493
+ "schema": "public",
494
+ "table": "templates"
495
+ },
496
+ {
497
+ "type": "timestamp with time zone",
498
+ "typeSchema": null,
499
+ "notNull": false,
500
+ "dimensions": 0,
501
+ "default": null,
502
+ "generated": null,
503
+ "identity": null,
504
+ "name": "retired_at",
505
+ "entityType": "columns",
506
+ "schema": "public",
507
+ "table": "templates"
508
+ },
509
+ {
510
+ "type": "uuid",
511
+ "typeSchema": null,
512
+ "notNull": true,
513
+ "dimensions": 0,
514
+ "default": null,
515
+ "generated": null,
516
+ "identity": null,
517
+ "name": "id",
518
+ "entityType": "columns",
519
+ "schema": "public",
520
+ "table": "warm_pool_runtimes"
521
+ },
522
+ {
523
+ "type": "uuid",
524
+ "typeSchema": null,
525
+ "notNull": true,
526
+ "dimensions": 0,
527
+ "default": null,
528
+ "generated": null,
529
+ "identity": null,
530
+ "name": "template_id",
531
+ "entityType": "columns",
532
+ "schema": "public",
533
+ "table": "warm_pool_runtimes"
534
+ },
535
+ {
536
+ "type": "text",
537
+ "typeSchema": null,
538
+ "notNull": true,
539
+ "dimensions": 0,
540
+ "default": null,
541
+ "generated": null,
542
+ "identity": null,
543
+ "name": "template_name",
544
+ "entityType": "columns",
545
+ "schema": "public",
546
+ "table": "warm_pool_runtimes"
547
+ },
548
+ {
549
+ "type": "text",
550
+ "typeSchema": null,
551
+ "notNull": true,
552
+ "dimensions": 0,
553
+ "default": null,
554
+ "generated": null,
555
+ "identity": null,
556
+ "name": "template_version",
557
+ "entityType": "columns",
558
+ "schema": "public",
559
+ "table": "warm_pool_runtimes"
560
+ },
561
+ {
562
+ "type": "text",
563
+ "typeSchema": null,
564
+ "notNull": true,
565
+ "dimensions": 0,
566
+ "default": null,
567
+ "generated": null,
568
+ "identity": null,
569
+ "name": "template_digest",
570
+ "entityType": "columns",
571
+ "schema": "public",
572
+ "table": "warm_pool_runtimes"
573
+ },
574
+ {
575
+ "type": "text",
576
+ "typeSchema": null,
577
+ "notNull": true,
578
+ "dimensions": 0,
579
+ "default": null,
580
+ "generated": null,
581
+ "identity": null,
582
+ "name": "driver_kind",
583
+ "entityType": "columns",
584
+ "schema": "public",
585
+ "table": "warm_pool_runtimes"
586
+ },
587
+ {
588
+ "type": "text",
589
+ "typeSchema": null,
590
+ "notNull": true,
591
+ "dimensions": 0,
592
+ "default": null,
593
+ "generated": null,
594
+ "identity": null,
595
+ "name": "eligibility_fingerprint",
596
+ "entityType": "columns",
597
+ "schema": "public",
598
+ "table": "warm_pool_runtimes"
599
+ },
600
+ {
601
+ "type": "text",
602
+ "typeSchema": null,
603
+ "notNull": true,
604
+ "dimensions": 0,
605
+ "default": null,
606
+ "generated": null,
607
+ "identity": null,
608
+ "name": "state",
609
+ "entityType": "columns",
610
+ "schema": "public",
611
+ "table": "warm_pool_runtimes"
612
+ },
613
+ {
614
+ "type": "jsonb",
615
+ "typeSchema": null,
616
+ "notNull": false,
617
+ "dimensions": 0,
618
+ "default": null,
619
+ "generated": null,
620
+ "identity": null,
621
+ "name": "provider_ref",
622
+ "entityType": "columns",
623
+ "schema": "public",
624
+ "table": "warm_pool_runtimes"
625
+ },
626
+ {
627
+ "type": "bytea",
628
+ "typeSchema": null,
629
+ "notNull": false,
630
+ "dimensions": 0,
631
+ "default": null,
632
+ "generated": null,
633
+ "identity": null,
634
+ "name": "enrollment_digest",
635
+ "entityType": "columns",
636
+ "schema": "public",
637
+ "table": "warm_pool_runtimes"
638
+ },
639
+ {
640
+ "type": "timestamp with time zone",
641
+ "typeSchema": null,
642
+ "notNull": false,
643
+ "dimensions": 0,
644
+ "default": null,
645
+ "generated": null,
646
+ "identity": null,
647
+ "name": "enrollment_expires_at",
648
+ "entityType": "columns",
649
+ "schema": "public",
650
+ "table": "warm_pool_runtimes"
651
+ },
652
+ {
653
+ "type": "uuid",
654
+ "typeSchema": null,
655
+ "notNull": false,
656
+ "dimensions": 0,
657
+ "default": null,
658
+ "generated": null,
659
+ "identity": null,
660
+ "name": "workspace_id",
661
+ "entityType": "columns",
662
+ "schema": "public",
663
+ "table": "warm_pool_runtimes"
664
+ },
665
+ {
666
+ "type": "timestamp with time zone",
667
+ "typeSchema": null,
668
+ "notNull": true,
669
+ "dimensions": 0,
670
+ "default": null,
671
+ "generated": null,
672
+ "identity": null,
673
+ "name": "created_at",
674
+ "entityType": "columns",
675
+ "schema": "public",
676
+ "table": "warm_pool_runtimes"
677
+ },
678
+ {
679
+ "type": "timestamp with time zone",
680
+ "typeSchema": null,
681
+ "notNull": true,
682
+ "dimensions": 0,
683
+ "default": null,
684
+ "generated": null,
685
+ "identity": null,
686
+ "name": "updated_at",
687
+ "entityType": "columns",
688
+ "schema": "public",
689
+ "table": "warm_pool_runtimes"
690
+ },
691
+ {
692
+ "type": "timestamp with time zone",
693
+ "typeSchema": null,
694
+ "notNull": false,
695
+ "dimensions": 0,
696
+ "default": null,
697
+ "generated": null,
698
+ "identity": null,
699
+ "name": "ready_at",
700
+ "entityType": "columns",
701
+ "schema": "public",
702
+ "table": "warm_pool_runtimes"
703
+ },
704
+ {
705
+ "type": "timestamp with time zone",
706
+ "typeSchema": null,
707
+ "notNull": false,
708
+ "dimensions": 0,
709
+ "default": null,
710
+ "generated": null,
711
+ "identity": null,
712
+ "name": "leased_at",
713
+ "entityType": "columns",
714
+ "schema": "public",
715
+ "table": "warm_pool_runtimes"
716
+ },
717
+ {
718
+ "type": "text",
719
+ "typeSchema": null,
720
+ "notNull": false,
721
+ "dimensions": 0,
722
+ "default": null,
723
+ "generated": null,
724
+ "identity": null,
725
+ "name": "failure_code",
726
+ "entityType": "columns",
727
+ "schema": "public",
728
+ "table": "warm_pool_runtimes"
729
+ },
730
+ {
731
+ "type": "uuid",
732
+ "typeSchema": null,
733
+ "notNull": true,
734
+ "dimensions": 0,
735
+ "default": null,
736
+ "generated": null,
737
+ "identity": null,
738
+ "name": "id",
739
+ "entityType": "columns",
740
+ "schema": "public",
741
+ "table": "workspace_checkpoints"
742
+ },
743
+ {
744
+ "type": "uuid",
745
+ "typeSchema": null,
746
+ "notNull": true,
747
+ "dimensions": 0,
748
+ "default": null,
749
+ "generated": null,
750
+ "identity": null,
751
+ "name": "workspace_id",
752
+ "entityType": "columns",
753
+ "schema": "public",
754
+ "table": "workspace_checkpoints"
755
+ },
756
+ {
757
+ "type": "uuid",
758
+ "typeSchema": null,
759
+ "notNull": true,
760
+ "dimensions": 0,
761
+ "default": null,
762
+ "generated": null,
763
+ "identity": null,
764
+ "name": "principal_id",
765
+ "entityType": "columns",
766
+ "schema": "public",
767
+ "table": "workspace_checkpoints"
768
+ },
769
+ {
770
+ "type": "uuid",
771
+ "typeSchema": null,
772
+ "notNull": true,
773
+ "dimensions": 0,
774
+ "default": null,
775
+ "generated": null,
776
+ "identity": null,
777
+ "name": "storage_id",
778
+ "entityType": "columns",
779
+ "schema": "public",
780
+ "table": "workspace_checkpoints"
781
+ },
782
+ {
783
+ "type": "uuid",
784
+ "typeSchema": null,
785
+ "notNull": false,
786
+ "dimensions": 0,
787
+ "default": null,
788
+ "generated": null,
789
+ "identity": null,
790
+ "name": "parent_checkpoint_id",
791
+ "entityType": "columns",
792
+ "schema": "public",
793
+ "table": "workspace_checkpoints"
794
+ },
795
+ {
796
+ "type": "text",
797
+ "typeSchema": null,
798
+ "notNull": true,
799
+ "dimensions": 0,
800
+ "default": null,
801
+ "generated": null,
802
+ "identity": null,
803
+ "name": "state",
804
+ "entityType": "columns",
805
+ "schema": "public",
806
+ "table": "workspace_checkpoints"
807
+ },
808
+ {
809
+ "type": "text",
810
+ "typeSchema": null,
811
+ "notNull": false,
812
+ "dimensions": 0,
813
+ "default": null,
814
+ "generated": null,
815
+ "identity": null,
816
+ "name": "reason_code",
817
+ "entityType": "columns",
818
+ "schema": "public",
819
+ "table": "workspace_checkpoints"
820
+ },
821
+ {
822
+ "type": "text",
823
+ "typeSchema": null,
824
+ "notNull": true,
825
+ "dimensions": 0,
826
+ "default": null,
827
+ "generated": null,
828
+ "identity": null,
829
+ "name": "provider_kind",
830
+ "entityType": "columns",
831
+ "schema": "public",
832
+ "table": "workspace_checkpoints"
833
+ },
834
+ {
835
+ "type": "jsonb",
836
+ "typeSchema": null,
837
+ "notNull": false,
838
+ "dimensions": 0,
839
+ "default": null,
840
+ "generated": null,
841
+ "identity": null,
842
+ "name": "provider_ref",
843
+ "entityType": "columns",
844
+ "schema": "public",
845
+ "table": "workspace_checkpoints"
846
+ },
847
+ {
848
+ "type": "jsonb",
849
+ "typeSchema": null,
850
+ "notNull": true,
851
+ "dimensions": 0,
852
+ "default": null,
853
+ "generated": null,
854
+ "identity": null,
855
+ "name": "template_snapshot",
856
+ "entityType": "columns",
857
+ "schema": "public",
858
+ "table": "workspace_checkpoints"
859
+ },
860
+ {
861
+ "type": "text",
862
+ "typeSchema": null,
863
+ "notNull": true,
864
+ "dimensions": 0,
865
+ "default": null,
866
+ "generated": null,
867
+ "identity": null,
868
+ "name": "template_digest",
869
+ "entityType": "columns",
870
+ "schema": "public",
871
+ "table": "workspace_checkpoints"
872
+ },
873
+ {
874
+ "type": "jsonb",
875
+ "typeSchema": null,
876
+ "notNull": false,
877
+ "dimensions": 0,
878
+ "default": null,
879
+ "generated": null,
880
+ "identity": null,
881
+ "name": "source_provenance",
882
+ "entityType": "columns",
883
+ "schema": "public",
884
+ "table": "workspace_checkpoints"
885
+ },
886
+ {
887
+ "type": "jsonb",
888
+ "typeSchema": null,
889
+ "notNull": false,
890
+ "dimensions": 0,
891
+ "default": null,
892
+ "generated": null,
893
+ "identity": null,
894
+ "name": "manifest",
895
+ "entityType": "columns",
896
+ "schema": "public",
897
+ "table": "workspace_checkpoints"
898
+ },
899
+ {
900
+ "type": "text",
901
+ "typeSchema": null,
902
+ "notNull": false,
903
+ "dimensions": 0,
904
+ "default": null,
905
+ "generated": null,
906
+ "identity": null,
907
+ "name": "manifest_digest",
908
+ "entityType": "columns",
909
+ "schema": "public",
910
+ "table": "workspace_checkpoints"
911
+ },
912
+ {
913
+ "type": "bigint",
914
+ "typeSchema": null,
915
+ "notNull": false,
916
+ "dimensions": 0,
917
+ "default": null,
918
+ "generated": null,
919
+ "identity": null,
920
+ "name": "logical_bytes",
921
+ "entityType": "columns",
922
+ "schema": "public",
923
+ "table": "workspace_checkpoints"
924
+ },
925
+ {
926
+ "type": "bigint",
927
+ "typeSchema": null,
928
+ "notNull": false,
929
+ "dimensions": 0,
930
+ "default": null,
931
+ "generated": null,
932
+ "identity": null,
933
+ "name": "stored_bytes",
934
+ "entityType": "columns",
935
+ "schema": "public",
936
+ "table": "workspace_checkpoints"
937
+ },
938
+ {
939
+ "type": "bigint",
940
+ "typeSchema": null,
941
+ "notNull": false,
942
+ "dimensions": 0,
943
+ "default": null,
944
+ "generated": null,
945
+ "identity": null,
946
+ "name": "file_count",
947
+ "entityType": "columns",
948
+ "schema": "public",
949
+ "table": "workspace_checkpoints"
950
+ },
951
+ {
952
+ "type": "text",
953
+ "typeSchema": null,
954
+ "notNull": true,
955
+ "dimensions": 0,
956
+ "default": null,
957
+ "generated": null,
958
+ "identity": null,
959
+ "name": "conversation_restore",
960
+ "entityType": "columns",
961
+ "schema": "public",
962
+ "table": "workspace_checkpoints"
963
+ },
964
+ {
965
+ "type": "text",
966
+ "typeSchema": null,
967
+ "notNull": false,
968
+ "dimensions": 0,
969
+ "default": null,
970
+ "generated": null,
971
+ "identity": null,
972
+ "name": "label",
973
+ "entityType": "columns",
974
+ "schema": "public",
975
+ "table": "workspace_checkpoints"
976
+ },
977
+ {
978
+ "type": "timestamp with time zone",
979
+ "typeSchema": null,
980
+ "notNull": true,
981
+ "dimensions": 0,
982
+ "default": null,
983
+ "generated": null,
984
+ "identity": null,
985
+ "name": "created_at",
986
+ "entityType": "columns",
987
+ "schema": "public",
988
+ "table": "workspace_checkpoints"
989
+ },
990
+ {
991
+ "type": "timestamp with time zone",
992
+ "typeSchema": null,
993
+ "notNull": true,
994
+ "dimensions": 0,
995
+ "default": null,
996
+ "generated": null,
997
+ "identity": null,
998
+ "name": "updated_at",
999
+ "entityType": "columns",
1000
+ "schema": "public",
1001
+ "table": "workspace_checkpoints"
1002
+ },
1003
+ {
1004
+ "type": "timestamp with time zone",
1005
+ "typeSchema": null,
1006
+ "notNull": false,
1007
+ "dimensions": 0,
1008
+ "default": null,
1009
+ "generated": null,
1010
+ "identity": null,
1011
+ "name": "ready_at",
1012
+ "entityType": "columns",
1013
+ "schema": "public",
1014
+ "table": "workspace_checkpoints"
1015
+ },
1016
+ {
1017
+ "type": "timestamp with time zone",
1018
+ "typeSchema": null,
1019
+ "notNull": false,
1020
+ "dimensions": 0,
1021
+ "default": null,
1022
+ "generated": null,
1023
+ "identity": null,
1024
+ "name": "expires_at",
1025
+ "entityType": "columns",
1026
+ "schema": "public",
1027
+ "table": "workspace_checkpoints"
1028
+ },
1029
+ {
1030
+ "type": "timestamp with time zone",
1031
+ "typeSchema": null,
1032
+ "notNull": false,
1033
+ "dimensions": 0,
1034
+ "default": null,
1035
+ "generated": null,
1036
+ "identity": null,
1037
+ "name": "deleted_at",
1038
+ "entityType": "columns",
1039
+ "schema": "public",
1040
+ "table": "workspace_checkpoints"
1041
+ },
1042
+ {
1043
+ "type": "uuid",
1044
+ "typeSchema": null,
1045
+ "notNull": true,
1046
+ "dimensions": 0,
1047
+ "default": null,
1048
+ "generated": null,
1049
+ "identity": null,
1050
+ "name": "workspace_id",
1051
+ "entityType": "columns",
1052
+ "schema": "public",
1053
+ "table": "workspace_conversation_messages"
1054
+ },
1055
+ {
1056
+ "type": "bigint",
1057
+ "typeSchema": null,
1058
+ "notNull": true,
1059
+ "dimensions": 0,
1060
+ "default": null,
1061
+ "generated": null,
1062
+ "identity": null,
1063
+ "name": "seq",
1064
+ "entityType": "columns",
1065
+ "schema": "public",
1066
+ "table": "workspace_conversation_messages"
1067
+ },
1068
+ {
1069
+ "type": "text",
1070
+ "typeSchema": null,
1071
+ "notNull": true,
1072
+ "dimensions": 0,
1073
+ "default": null,
1074
+ "generated": null,
1075
+ "identity": null,
1076
+ "name": "message_id",
1077
+ "entityType": "columns",
1078
+ "schema": "public",
1079
+ "table": "workspace_conversation_messages"
1080
+ },
1081
+ {
1082
+ "type": "text",
1083
+ "typeSchema": null,
1084
+ "notNull": true,
1085
+ "dimensions": 0,
1086
+ "default": null,
1087
+ "generated": null,
1088
+ "identity": null,
1089
+ "name": "role",
1090
+ "entityType": "columns",
1091
+ "schema": "public",
1092
+ "table": "workspace_conversation_messages"
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "typeSchema": null,
1097
+ "notNull": true,
1098
+ "dimensions": 0,
1099
+ "default": null,
1100
+ "generated": null,
1101
+ "identity": null,
1102
+ "name": "content",
1103
+ "entityType": "columns",
1104
+ "schema": "public",
1105
+ "table": "workspace_conversation_messages"
1106
+ },
1107
+ {
1108
+ "type": "timestamp with time zone",
1109
+ "typeSchema": null,
1110
+ "notNull": true,
1111
+ "dimensions": 0,
1112
+ "default": null,
1113
+ "generated": null,
1114
+ "identity": null,
1115
+ "name": "occurred_at",
1116
+ "entityType": "columns",
1117
+ "schema": "public",
1118
+ "table": "workspace_conversation_messages"
1119
+ },
1120
+ {
1121
+ "type": "jsonb",
1122
+ "typeSchema": null,
1123
+ "notNull": true,
1124
+ "dimensions": 0,
1125
+ "default": "'{}'",
1126
+ "generated": null,
1127
+ "identity": null,
1128
+ "name": "metadata",
1129
+ "entityType": "columns",
1130
+ "schema": "public",
1131
+ "table": "workspace_conversation_messages"
1132
+ },
1133
+ {
1134
+ "type": "timestamp with time zone",
1135
+ "typeSchema": null,
1136
+ "notNull": true,
1137
+ "dimensions": 0,
1138
+ "default": null,
1139
+ "generated": null,
1140
+ "identity": null,
1141
+ "name": "created_at",
1142
+ "entityType": "columns",
1143
+ "schema": "public",
1144
+ "table": "workspace_conversation_messages"
1145
+ },
1146
+ {
1147
+ "type": "uuid",
1148
+ "typeSchema": null,
1149
+ "notNull": true,
1150
+ "dimensions": 0,
1151
+ "default": null,
1152
+ "generated": null,
1153
+ "identity": null,
1154
+ "name": "workspace_id",
1155
+ "entityType": "columns",
1156
+ "schema": "public",
1157
+ "table": "workspace_conversations"
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "typeSchema": null,
1162
+ "notNull": true,
1163
+ "dimensions": 0,
1164
+ "default": null,
1165
+ "generated": null,
1166
+ "identity": null,
1167
+ "name": "status",
1168
+ "entityType": "columns",
1169
+ "schema": "public",
1170
+ "table": "workspace_conversations"
1171
+ },
1172
+ {
1173
+ "type": "timestamp with time zone",
1174
+ "typeSchema": null,
1175
+ "notNull": false,
1176
+ "dimensions": 0,
1177
+ "default": null,
1178
+ "generated": null,
1179
+ "identity": null,
1180
+ "name": "expires_at",
1181
+ "entityType": "columns",
1182
+ "schema": "public",
1183
+ "table": "workspace_conversations"
1184
+ },
1185
+ {
1186
+ "type": "timestamp with time zone",
1187
+ "typeSchema": null,
1188
+ "notNull": false,
1189
+ "dimensions": 0,
1190
+ "default": null,
1191
+ "generated": null,
1192
+ "identity": null,
1193
+ "name": "deleted_at",
1194
+ "entityType": "columns",
1195
+ "schema": "public",
1196
+ "table": "workspace_conversations"
1197
+ },
1198
+ {
1199
+ "type": "timestamp with time zone",
1200
+ "typeSchema": null,
1201
+ "notNull": true,
1202
+ "dimensions": 0,
1203
+ "default": null,
1204
+ "generated": null,
1205
+ "identity": null,
1206
+ "name": "updated_at",
1207
+ "entityType": "columns",
1208
+ "schema": "public",
1209
+ "table": "workspace_conversations"
1210
+ },
1211
+ {
1212
+ "type": "uuid",
1213
+ "typeSchema": null,
1214
+ "notNull": true,
1215
+ "dimensions": 0,
1216
+ "default": null,
1217
+ "generated": null,
1218
+ "identity": null,
1219
+ "name": "workspace_id",
1220
+ "entityType": "columns",
1221
+ "schema": "public",
1222
+ "table": "workspace_logs"
1223
+ },
1224
+ {
1225
+ "type": "bigint",
1226
+ "typeSchema": null,
1227
+ "notNull": true,
1228
+ "dimensions": 0,
1229
+ "default": null,
1230
+ "generated": null,
1231
+ "identity": null,
1232
+ "name": "seq",
1233
+ "entityType": "columns",
1234
+ "schema": "public",
1235
+ "table": "workspace_logs"
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "typeSchema": null,
1240
+ "notNull": true,
1241
+ "dimensions": 0,
1242
+ "default": null,
1243
+ "generated": null,
1244
+ "identity": null,
1245
+ "name": "stream",
1246
+ "entityType": "columns",
1247
+ "schema": "public",
1248
+ "table": "workspace_logs"
1249
+ },
1250
+ {
1251
+ "type": "timestamp with time zone",
1252
+ "typeSchema": null,
1253
+ "notNull": true,
1254
+ "dimensions": 0,
1255
+ "default": null,
1256
+ "generated": null,
1257
+ "identity": null,
1258
+ "name": "occurred_at",
1259
+ "entityType": "columns",
1260
+ "schema": "public",
1261
+ "table": "workspace_logs"
1262
+ },
1263
+ {
1264
+ "type": "bytea",
1265
+ "typeSchema": null,
1266
+ "notNull": true,
1267
+ "dimensions": 0,
1268
+ "default": null,
1269
+ "generated": null,
1270
+ "identity": null,
1271
+ "name": "content",
1272
+ "entityType": "columns",
1273
+ "schema": "public",
1274
+ "table": "workspace_logs"
1275
+ },
1276
+ {
1277
+ "type": "uuid",
1278
+ "typeSchema": null,
1279
+ "notNull": true,
1280
+ "dimensions": 0,
1281
+ "default": null,
1282
+ "generated": null,
1283
+ "identity": null,
1284
+ "name": "id",
1285
+ "entityType": "columns",
1286
+ "schema": "public",
1287
+ "table": "workspace_operations"
1288
+ },
1289
+ {
1290
+ "type": "uuid",
1291
+ "typeSchema": null,
1292
+ "notNull": true,
1293
+ "dimensions": 0,
1294
+ "default": null,
1295
+ "generated": null,
1296
+ "identity": null,
1297
+ "name": "principal_id",
1298
+ "entityType": "columns",
1299
+ "schema": "public",
1300
+ "table": "workspace_operations"
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "typeSchema": null,
1305
+ "notNull": true,
1306
+ "dimensions": 0,
1307
+ "default": null,
1308
+ "generated": null,
1309
+ "identity": null,
1310
+ "name": "kind",
1311
+ "entityType": "columns",
1312
+ "schema": "public",
1313
+ "table": "workspace_operations"
1314
+ },
1315
+ {
1316
+ "type": "text",
1317
+ "typeSchema": null,
1318
+ "notNull": true,
1319
+ "dimensions": 0,
1320
+ "default": null,
1321
+ "generated": null,
1322
+ "identity": null,
1323
+ "name": "state",
1324
+ "entityType": "columns",
1325
+ "schema": "public",
1326
+ "table": "workspace_operations"
1327
+ },
1328
+ {
1329
+ "type": "text",
1330
+ "typeSchema": null,
1331
+ "notNull": true,
1332
+ "dimensions": 0,
1333
+ "default": null,
1334
+ "generated": null,
1335
+ "identity": null,
1336
+ "name": "idempotency_key",
1337
+ "entityType": "columns",
1338
+ "schema": "public",
1339
+ "table": "workspace_operations"
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "typeSchema": null,
1344
+ "notNull": true,
1345
+ "dimensions": 0,
1346
+ "default": null,
1347
+ "generated": null,
1348
+ "identity": null,
1349
+ "name": "request_digest",
1350
+ "entityType": "columns",
1351
+ "schema": "public",
1352
+ "table": "workspace_operations"
1353
+ },
1354
+ {
1355
+ "type": "uuid",
1356
+ "typeSchema": null,
1357
+ "notNull": false,
1358
+ "dimensions": 0,
1359
+ "default": null,
1360
+ "generated": null,
1361
+ "identity": null,
1362
+ "name": "workspace_id",
1363
+ "entityType": "columns",
1364
+ "schema": "public",
1365
+ "table": "workspace_operations"
1366
+ },
1367
+ {
1368
+ "type": "uuid",
1369
+ "typeSchema": null,
1370
+ "notNull": false,
1371
+ "dimensions": 0,
1372
+ "default": null,
1373
+ "generated": null,
1374
+ "identity": null,
1375
+ "name": "checkpoint_id",
1376
+ "entityType": "columns",
1377
+ "schema": "public",
1378
+ "table": "workspace_operations"
1379
+ },
1380
+ {
1381
+ "type": "uuid",
1382
+ "typeSchema": null,
1383
+ "notNull": false,
1384
+ "dimensions": 0,
1385
+ "default": null,
1386
+ "generated": null,
1387
+ "identity": null,
1388
+ "name": "result_workspace_id",
1389
+ "entityType": "columns",
1390
+ "schema": "public",
1391
+ "table": "workspace_operations"
1392
+ },
1393
+ {
1394
+ "type": "text",
1395
+ "typeSchema": null,
1396
+ "notNull": false,
1397
+ "dimensions": 0,
1398
+ "default": null,
1399
+ "generated": null,
1400
+ "identity": null,
1401
+ "name": "reason_code",
1402
+ "entityType": "columns",
1403
+ "schema": "public",
1404
+ "table": "workspace_operations"
1405
+ },
1406
+ {
1407
+ "type": "integer",
1408
+ "typeSchema": null,
1409
+ "notNull": true,
1410
+ "dimensions": 0,
1411
+ "default": "0",
1412
+ "generated": null,
1413
+ "identity": null,
1414
+ "name": "attempt_count",
1415
+ "entityType": "columns",
1416
+ "schema": "public",
1417
+ "table": "workspace_operations"
1418
+ },
1419
+ {
1420
+ "type": "timestamp with time zone",
1421
+ "typeSchema": null,
1422
+ "notNull": true,
1423
+ "dimensions": 0,
1424
+ "default": null,
1425
+ "generated": null,
1426
+ "identity": null,
1427
+ "name": "created_at",
1428
+ "entityType": "columns",
1429
+ "schema": "public",
1430
+ "table": "workspace_operations"
1431
+ },
1432
+ {
1433
+ "type": "timestamp with time zone",
1434
+ "typeSchema": null,
1435
+ "notNull": true,
1436
+ "dimensions": 0,
1437
+ "default": null,
1438
+ "generated": null,
1439
+ "identity": null,
1440
+ "name": "updated_at",
1441
+ "entityType": "columns",
1442
+ "schema": "public",
1443
+ "table": "workspace_operations"
1444
+ },
1445
+ {
1446
+ "type": "timestamp with time zone",
1447
+ "typeSchema": null,
1448
+ "notNull": false,
1449
+ "dimensions": 0,
1450
+ "default": null,
1451
+ "generated": null,
1452
+ "identity": null,
1453
+ "name": "completed_at",
1454
+ "entityType": "columns",
1455
+ "schema": "public",
1456
+ "table": "workspace_operations"
1457
+ },
1458
+ {
1459
+ "type": "uuid",
1460
+ "typeSchema": null,
1461
+ "notNull": true,
1462
+ "dimensions": 0,
1463
+ "default": null,
1464
+ "generated": null,
1465
+ "identity": null,
1466
+ "name": "workspace_id",
1467
+ "entityType": "columns",
1468
+ "schema": "public",
1469
+ "table": "workspace_outputs"
1470
+ },
1471
+ {
1472
+ "type": "bigint",
1473
+ "typeSchema": null,
1474
+ "notNull": true,
1475
+ "dimensions": 0,
1476
+ "default": null,
1477
+ "generated": null,
1478
+ "identity": null,
1479
+ "name": "seq",
1480
+ "entityType": "columns",
1481
+ "schema": "public",
1482
+ "table": "workspace_outputs"
1483
+ },
1484
+ {
1485
+ "type": "text",
1486
+ "typeSchema": null,
1487
+ "notNull": true,
1488
+ "dimensions": 0,
1489
+ "default": null,
1490
+ "generated": null,
1491
+ "identity": null,
1492
+ "name": "name",
1493
+ "entityType": "columns",
1494
+ "schema": "public",
1495
+ "table": "workspace_outputs"
1496
+ },
1497
+ {
1498
+ "type": "jsonb",
1499
+ "typeSchema": null,
1500
+ "notNull": true,
1501
+ "dimensions": 0,
1502
+ "default": null,
1503
+ "generated": null,
1504
+ "identity": null,
1505
+ "name": "value",
1506
+ "entityType": "columns",
1507
+ "schema": "public",
1508
+ "table": "workspace_outputs"
1509
+ },
1510
+ {
1511
+ "type": "timestamp with time zone",
1512
+ "typeSchema": null,
1513
+ "notNull": true,
1514
+ "dimensions": 0,
1515
+ "default": null,
1516
+ "generated": null,
1517
+ "identity": null,
1518
+ "name": "occurred_at",
1519
+ "entityType": "columns",
1520
+ "schema": "public",
1521
+ "table": "workspace_outputs"
1522
+ },
1523
+ {
1524
+ "type": "uuid",
1525
+ "typeSchema": null,
1526
+ "notNull": true,
1527
+ "dimensions": 0,
1528
+ "default": null,
1529
+ "generated": null,
1530
+ "identity": null,
1531
+ "name": "id",
1532
+ "entityType": "columns",
1533
+ "schema": "public",
1534
+ "table": "workspace_state_history"
1535
+ },
1536
+ {
1537
+ "type": "uuid",
1538
+ "typeSchema": null,
1539
+ "notNull": true,
1540
+ "dimensions": 0,
1541
+ "default": null,
1542
+ "generated": null,
1543
+ "identity": null,
1544
+ "name": "workspace_id",
1545
+ "entityType": "columns",
1546
+ "schema": "public",
1547
+ "table": "workspace_state_history"
1548
+ },
1549
+ {
1550
+ "type": "text",
1551
+ "typeSchema": null,
1552
+ "notNull": false,
1553
+ "dimensions": 0,
1554
+ "default": null,
1555
+ "generated": null,
1556
+ "identity": null,
1557
+ "name": "from_state",
1558
+ "entityType": "columns",
1559
+ "schema": "public",
1560
+ "table": "workspace_state_history"
1561
+ },
1562
+ {
1563
+ "type": "text",
1564
+ "typeSchema": null,
1565
+ "notNull": true,
1566
+ "dimensions": 0,
1567
+ "default": null,
1568
+ "generated": null,
1569
+ "identity": null,
1570
+ "name": "to_state",
1571
+ "entityType": "columns",
1572
+ "schema": "public",
1573
+ "table": "workspace_state_history"
1574
+ },
1575
+ {
1576
+ "type": "text",
1577
+ "typeSchema": null,
1578
+ "notNull": false,
1579
+ "dimensions": 0,
1580
+ "default": null,
1581
+ "generated": null,
1582
+ "identity": null,
1583
+ "name": "reason_code",
1584
+ "entityType": "columns",
1585
+ "schema": "public",
1586
+ "table": "workspace_state_history"
1587
+ },
1588
+ {
1589
+ "type": "timestamp with time zone",
1590
+ "typeSchema": null,
1591
+ "notNull": true,
1592
+ "dimensions": 0,
1593
+ "default": null,
1594
+ "generated": null,
1595
+ "identity": null,
1596
+ "name": "occurred_at",
1597
+ "entityType": "columns",
1598
+ "schema": "public",
1599
+ "table": "workspace_state_history"
1600
+ },
1601
+ {
1602
+ "type": "uuid",
1603
+ "typeSchema": null,
1604
+ "notNull": true,
1605
+ "dimensions": 0,
1606
+ "default": null,
1607
+ "generated": null,
1608
+ "identity": null,
1609
+ "name": "id",
1610
+ "entityType": "columns",
1611
+ "schema": "public",
1612
+ "table": "workspace_storage"
1613
+ },
1614
+ {
1615
+ "type": "uuid",
1616
+ "typeSchema": null,
1617
+ "notNull": true,
1618
+ "dimensions": 0,
1619
+ "default": null,
1620
+ "generated": null,
1621
+ "identity": null,
1622
+ "name": "workspace_id",
1623
+ "entityType": "columns",
1624
+ "schema": "public",
1625
+ "table": "workspace_storage"
1626
+ },
1627
+ {
1628
+ "type": "uuid",
1629
+ "typeSchema": null,
1630
+ "notNull": true,
1631
+ "dimensions": 0,
1632
+ "default": null,
1633
+ "generated": null,
1634
+ "identity": null,
1635
+ "name": "principal_id",
1636
+ "entityType": "columns",
1637
+ "schema": "public",
1638
+ "table": "workspace_storage"
1639
+ },
1640
+ {
1641
+ "type": "text",
1642
+ "typeSchema": null,
1643
+ "notNull": true,
1644
+ "dimensions": 0,
1645
+ "default": null,
1646
+ "generated": null,
1647
+ "identity": null,
1648
+ "name": "provider_kind",
1649
+ "entityType": "columns",
1650
+ "schema": "public",
1651
+ "table": "workspace_storage"
1652
+ },
1653
+ {
1654
+ "type": "jsonb",
1655
+ "typeSchema": null,
1656
+ "notNull": true,
1657
+ "dimensions": 0,
1658
+ "default": null,
1659
+ "generated": null,
1660
+ "identity": null,
1661
+ "name": "provider_ref",
1662
+ "entityType": "columns",
1663
+ "schema": "public",
1664
+ "table": "workspace_storage"
1665
+ },
1666
+ {
1667
+ "type": "text",
1668
+ "typeSchema": null,
1669
+ "notNull": true,
1670
+ "dimensions": 0,
1671
+ "default": null,
1672
+ "generated": null,
1673
+ "identity": null,
1674
+ "name": "state",
1675
+ "entityType": "columns",
1676
+ "schema": "public",
1677
+ "table": "workspace_storage"
1678
+ },
1679
+ {
1680
+ "type": "jsonb",
1681
+ "typeSchema": null,
1682
+ "notNull": true,
1683
+ "dimensions": 0,
1684
+ "default": null,
1685
+ "generated": null,
1686
+ "identity": null,
1687
+ "name": "mount_manifest",
1688
+ "entityType": "columns",
1689
+ "schema": "public",
1690
+ "table": "workspace_storage"
1691
+ },
1692
+ {
1693
+ "type": "bigint",
1694
+ "typeSchema": null,
1695
+ "notNull": false,
1696
+ "dimensions": 0,
1697
+ "default": null,
1698
+ "generated": null,
1699
+ "identity": null,
1700
+ "name": "logical_bytes",
1701
+ "entityType": "columns",
1702
+ "schema": "public",
1703
+ "table": "workspace_storage"
1704
+ },
1705
+ {
1706
+ "type": "bigint",
1707
+ "typeSchema": null,
1708
+ "notNull": false,
1709
+ "dimensions": 0,
1710
+ "default": null,
1711
+ "generated": null,
1712
+ "identity": null,
1713
+ "name": "file_count",
1714
+ "entityType": "columns",
1715
+ "schema": "public",
1716
+ "table": "workspace_storage"
1717
+ },
1718
+ {
1719
+ "type": "timestamp with time zone",
1720
+ "typeSchema": null,
1721
+ "notNull": false,
1722
+ "dimensions": 0,
1723
+ "default": null,
1724
+ "generated": null,
1725
+ "identity": null,
1726
+ "name": "retained_until",
1727
+ "entityType": "columns",
1728
+ "schema": "public",
1729
+ "table": "workspace_storage"
1730
+ },
1731
+ {
1732
+ "type": "timestamp with time zone",
1733
+ "typeSchema": null,
1734
+ "notNull": true,
1735
+ "dimensions": 0,
1736
+ "default": null,
1737
+ "generated": null,
1738
+ "identity": null,
1739
+ "name": "created_at",
1740
+ "entityType": "columns",
1741
+ "schema": "public",
1742
+ "table": "workspace_storage"
1743
+ },
1744
+ {
1745
+ "type": "timestamp with time zone",
1746
+ "typeSchema": null,
1747
+ "notNull": true,
1748
+ "dimensions": 0,
1749
+ "default": null,
1750
+ "generated": null,
1751
+ "identity": null,
1752
+ "name": "updated_at",
1753
+ "entityType": "columns",
1754
+ "schema": "public",
1755
+ "table": "workspace_storage"
1756
+ },
1757
+ {
1758
+ "type": "timestamp with time zone",
1759
+ "typeSchema": null,
1760
+ "notNull": false,
1761
+ "dimensions": 0,
1762
+ "default": null,
1763
+ "generated": null,
1764
+ "identity": null,
1765
+ "name": "deleted_at",
1766
+ "entityType": "columns",
1767
+ "schema": "public",
1768
+ "table": "workspace_storage"
1769
+ },
1770
+ {
1771
+ "type": "text",
1772
+ "typeSchema": null,
1773
+ "notNull": false,
1774
+ "dimensions": 0,
1775
+ "default": null,
1776
+ "generated": null,
1777
+ "identity": null,
1778
+ "name": "last_error_code",
1779
+ "entityType": "columns",
1780
+ "schema": "public",
1781
+ "table": "workspace_storage"
1782
+ },
1783
+ {
1784
+ "type": "uuid",
1785
+ "typeSchema": null,
1786
+ "notNull": true,
1787
+ "dimensions": 0,
1788
+ "default": null,
1789
+ "generated": null,
1790
+ "identity": null,
1791
+ "name": "id",
1792
+ "entityType": "columns",
1793
+ "schema": "public",
1794
+ "table": "workspaces"
1795
+ },
1796
+ {
1797
+ "type": "uuid",
1798
+ "typeSchema": null,
1799
+ "notNull": true,
1800
+ "dimensions": 0,
1801
+ "default": null,
1802
+ "generated": null,
1803
+ "identity": null,
1804
+ "name": "principal_id",
1805
+ "entityType": "columns",
1806
+ "schema": "public",
1807
+ "table": "workspaces"
1808
+ },
1809
+ {
1810
+ "type": "text",
1811
+ "typeSchema": null,
1812
+ "notNull": true,
1813
+ "dimensions": 0,
1814
+ "default": null,
1815
+ "generated": null,
1816
+ "identity": null,
1817
+ "name": "external_id",
1818
+ "entityType": "columns",
1819
+ "schema": "public",
1820
+ "table": "workspaces"
1821
+ },
1822
+ {
1823
+ "type": "text",
1824
+ "typeSchema": null,
1825
+ "notNull": true,
1826
+ "dimensions": 0,
1827
+ "default": null,
1828
+ "generated": null,
1829
+ "identity": null,
1830
+ "name": "idempotency_key",
1831
+ "entityType": "columns",
1832
+ "schema": "public",
1833
+ "table": "workspaces"
1834
+ },
1835
+ {
1836
+ "type": "text",
1837
+ "typeSchema": null,
1838
+ "notNull": true,
1839
+ "dimensions": 0,
1840
+ "default": null,
1841
+ "generated": null,
1842
+ "identity": null,
1843
+ "name": "request_digest",
1844
+ "entityType": "columns",
1845
+ "schema": "public",
1846
+ "table": "workspaces"
1847
+ },
1848
+ {
1849
+ "type": "uuid",
1850
+ "typeSchema": null,
1851
+ "notNull": true,
1852
+ "dimensions": 0,
1853
+ "default": null,
1854
+ "generated": null,
1855
+ "identity": null,
1856
+ "name": "template_id",
1857
+ "entityType": "columns",
1858
+ "schema": "public",
1859
+ "table": "workspaces"
1860
+ },
1861
+ {
1862
+ "type": "text",
1863
+ "typeSchema": null,
1864
+ "notNull": true,
1865
+ "dimensions": 0,
1866
+ "default": null,
1867
+ "generated": null,
1868
+ "identity": null,
1869
+ "name": "template_name",
1870
+ "entityType": "columns",
1871
+ "schema": "public",
1872
+ "table": "workspaces"
1873
+ },
1874
+ {
1875
+ "type": "text",
1876
+ "typeSchema": null,
1877
+ "notNull": true,
1878
+ "dimensions": 0,
1879
+ "default": null,
1880
+ "generated": null,
1881
+ "identity": null,
1882
+ "name": "template_version",
1883
+ "entityType": "columns",
1884
+ "schema": "public",
1885
+ "table": "workspaces"
1886
+ },
1887
+ {
1888
+ "type": "text",
1889
+ "typeSchema": null,
1890
+ "notNull": true,
1891
+ "dimensions": 0,
1892
+ "default": null,
1893
+ "generated": null,
1894
+ "identity": null,
1895
+ "name": "template_digest",
1896
+ "entityType": "columns",
1897
+ "schema": "public",
1898
+ "table": "workspaces"
1899
+ },
1900
+ {
1901
+ "type": "jsonb",
1902
+ "typeSchema": null,
1903
+ "notNull": true,
1904
+ "dimensions": 0,
1905
+ "default": null,
1906
+ "generated": null,
1907
+ "identity": null,
1908
+ "name": "template_snapshot",
1909
+ "entityType": "columns",
1910
+ "schema": "public",
1911
+ "table": "workspaces"
1912
+ },
1913
+ {
1914
+ "type": "text",
1915
+ "typeSchema": null,
1916
+ "notNull": true,
1917
+ "dimensions": 0,
1918
+ "default": null,
1919
+ "generated": null,
1920
+ "identity": null,
1921
+ "name": "state",
1922
+ "entityType": "columns",
1923
+ "schema": "public",
1924
+ "table": "workspaces"
1925
+ },
1926
+ {
1927
+ "type": "text",
1928
+ "typeSchema": null,
1929
+ "notNull": false,
1930
+ "dimensions": 0,
1931
+ "default": null,
1932
+ "generated": null,
1933
+ "identity": null,
1934
+ "name": "reason_code",
1935
+ "entityType": "columns",
1936
+ "schema": "public",
1937
+ "table": "workspaces"
1938
+ },
1939
+ {
1940
+ "type": "text",
1941
+ "typeSchema": null,
1942
+ "notNull": true,
1943
+ "dimensions": 0,
1944
+ "default": "'unknown'",
1945
+ "generated": null,
1946
+ "identity": null,
1947
+ "name": "agent_state",
1948
+ "entityType": "columns",
1949
+ "schema": "public",
1950
+ "table": "workspaces"
1951
+ },
1952
+ {
1953
+ "type": "bigint",
1954
+ "typeSchema": null,
1955
+ "notNull": true,
1956
+ "dimensions": 0,
1957
+ "default": "1",
1958
+ "generated": null,
1959
+ "identity": null,
1960
+ "name": "change_seq",
1961
+ "entityType": "columns",
1962
+ "schema": "public",
1963
+ "table": "workspaces"
1964
+ },
1965
+ {
1966
+ "type": "text",
1967
+ "typeSchema": null,
1968
+ "notNull": false,
1969
+ "dimensions": 0,
1970
+ "default": null,
1971
+ "generated": null,
1972
+ "identity": null,
1973
+ "name": "failure_log_tail",
1974
+ "entityType": "columns",
1975
+ "schema": "public",
1976
+ "table": "workspaces"
1977
+ },
1978
+ {
1979
+ "type": "boolean",
1980
+ "typeSchema": null,
1981
+ "notNull": true,
1982
+ "dimensions": 0,
1983
+ "default": "false",
1984
+ "generated": null,
1985
+ "identity": null,
1986
+ "name": "failure_log_tail_truncated",
1987
+ "entityType": "columns",
1988
+ "schema": "public",
1989
+ "table": "workspaces"
1990
+ },
1991
+ {
1992
+ "type": "bigint",
1993
+ "typeSchema": null,
1994
+ "notNull": false,
1995
+ "dimensions": 0,
1996
+ "default": null,
1997
+ "generated": null,
1998
+ "identity": null,
1999
+ "name": "failure_last_log_seq",
2000
+ "entityType": "columns",
2001
+ "schema": "public",
2002
+ "table": "workspaces"
2003
+ },
2004
+ {
2005
+ "type": "text",
2006
+ "typeSchema": null,
2007
+ "notNull": false,
2008
+ "dimensions": 0,
2009
+ "default": null,
2010
+ "generated": null,
2011
+ "identity": null,
2012
+ "name": "terminal_intent",
2013
+ "entityType": "columns",
2014
+ "schema": "public",
2015
+ "table": "workspaces"
2016
+ },
2017
+ {
2018
+ "type": "jsonb",
2019
+ "typeSchema": null,
2020
+ "notNull": false,
2021
+ "dimensions": 0,
2022
+ "default": null,
2023
+ "generated": null,
2024
+ "identity": null,
2025
+ "name": "launch_input",
2026
+ "entityType": "columns",
2027
+ "schema": "public",
2028
+ "table": "workspaces"
2029
+ },
2030
+ {
2031
+ "type": "text",
2032
+ "typeSchema": null,
2033
+ "notNull": false,
2034
+ "dimensions": 0,
2035
+ "default": null,
2036
+ "generated": null,
2037
+ "identity": null,
2038
+ "name": "provider_kind",
2039
+ "entityType": "columns",
2040
+ "schema": "public",
2041
+ "table": "workspaces"
2042
+ },
2043
+ {
2044
+ "type": "jsonb",
2045
+ "typeSchema": null,
2046
+ "notNull": false,
2047
+ "dimensions": 0,
2048
+ "default": null,
2049
+ "generated": null,
2050
+ "identity": null,
2051
+ "name": "provider_ref",
2052
+ "entityType": "columns",
2053
+ "schema": "public",
2054
+ "table": "workspaces"
2055
+ },
2056
+ {
2057
+ "type": "text",
2058
+ "typeSchema": null,
2059
+ "notNull": false,
2060
+ "dimensions": 0,
2061
+ "default": null,
2062
+ "generated": null,
2063
+ "identity": null,
2064
+ "name": "provisioning_mode",
2065
+ "entityType": "columns",
2066
+ "schema": "public",
2067
+ "table": "workspaces"
2068
+ },
2069
+ {
2070
+ "type": "bytea",
2071
+ "typeSchema": null,
2072
+ "notNull": false,
2073
+ "dimensions": 0,
2074
+ "default": null,
2075
+ "generated": null,
2076
+ "identity": null,
2077
+ "name": "registration_digest",
2078
+ "entityType": "columns",
2079
+ "schema": "public",
2080
+ "table": "workspaces"
2081
+ },
2082
+ {
2083
+ "type": "timestamp with time zone",
2084
+ "typeSchema": null,
2085
+ "notNull": false,
2086
+ "dimensions": 0,
2087
+ "default": null,
2088
+ "generated": null,
2089
+ "identity": null,
2090
+ "name": "registration_expires_at",
2091
+ "entityType": "columns",
2092
+ "schema": "public",
2093
+ "table": "workspaces"
2094
+ },
2095
+ {
2096
+ "type": "bytea",
2097
+ "typeSchema": null,
2098
+ "notNull": false,
2099
+ "dimensions": 0,
2100
+ "default": null,
2101
+ "generated": null,
2102
+ "identity": null,
2103
+ "name": "reconnect_digest",
2104
+ "entityType": "columns",
2105
+ "schema": "public",
2106
+ "table": "workspaces"
2107
+ },
2108
+ {
2109
+ "type": "integer",
2110
+ "typeSchema": null,
2111
+ "notNull": true,
2112
+ "dimensions": 0,
2113
+ "default": "0",
2114
+ "generated": null,
2115
+ "identity": null,
2116
+ "name": "connection_epoch",
2117
+ "entityType": "columns",
2118
+ "schema": "public",
2119
+ "table": "workspaces"
2120
+ },
2121
+ {
2122
+ "type": "timestamp with time zone",
2123
+ "typeSchema": null,
2124
+ "notNull": false,
2125
+ "dimensions": 0,
2126
+ "default": null,
2127
+ "generated": null,
2128
+ "identity": null,
2129
+ "name": "connected_at",
2130
+ "entityType": "columns",
2131
+ "schema": "public",
2132
+ "table": "workspaces"
2133
+ },
2134
+ {
2135
+ "type": "timestamp with time zone",
2136
+ "typeSchema": null,
2137
+ "notNull": false,
2138
+ "dimensions": 0,
2139
+ "default": null,
2140
+ "generated": null,
2141
+ "identity": null,
2142
+ "name": "disconnected_at",
2143
+ "entityType": "columns",
2144
+ "schema": "public",
2145
+ "table": "workspaces"
2146
+ },
2147
+ {
2148
+ "type": "timestamp with time zone",
2149
+ "typeSchema": null,
2150
+ "notNull": false,
2151
+ "dimensions": 0,
2152
+ "default": null,
2153
+ "generated": null,
2154
+ "identity": null,
2155
+ "name": "ready_at",
2156
+ "entityType": "columns",
2157
+ "schema": "public",
2158
+ "table": "workspaces"
2159
+ },
2160
+ {
2161
+ "type": "timestamp with time zone",
2162
+ "typeSchema": null,
2163
+ "notNull": false,
2164
+ "dimensions": 0,
2165
+ "default": null,
2166
+ "generated": null,
2167
+ "identity": null,
2168
+ "name": "last_activity_at",
2169
+ "entityType": "columns",
2170
+ "schema": "public",
2171
+ "table": "workspaces"
2172
+ },
2173
+ {
2174
+ "type": "integer",
2175
+ "typeSchema": null,
2176
+ "notNull": true,
2177
+ "dimensions": 0,
2178
+ "default": "0",
2179
+ "generated": null,
2180
+ "identity": null,
2181
+ "name": "launch_attempts",
2182
+ "entityType": "columns",
2183
+ "schema": "public",
2184
+ "table": "workspaces"
2185
+ },
2186
+ {
2187
+ "type": "jsonb",
2188
+ "typeSchema": null,
2189
+ "notNull": true,
2190
+ "dimensions": 0,
2191
+ "default": "'{}'",
2192
+ "generated": null,
2193
+ "identity": null,
2194
+ "name": "health",
2195
+ "entityType": "columns",
2196
+ "schema": "public",
2197
+ "table": "workspaces"
2198
+ },
2199
+ {
2200
+ "type": "jsonb",
2201
+ "typeSchema": null,
2202
+ "notNull": true,
2203
+ "dimensions": 0,
2204
+ "default": "'{}'",
2205
+ "generated": null,
2206
+ "identity": null,
2207
+ "name": "metadata",
2208
+ "entityType": "columns",
2209
+ "schema": "public",
2210
+ "table": "workspaces"
2211
+ },
2212
+ {
2213
+ "type": "timestamp with time zone",
2214
+ "typeSchema": null,
2215
+ "notNull": true,
2216
+ "dimensions": 0,
2217
+ "default": null,
2218
+ "generated": null,
2219
+ "identity": null,
2220
+ "name": "deadline_at",
2221
+ "entityType": "columns",
2222
+ "schema": "public",
2223
+ "table": "workspaces"
2224
+ },
2225
+ {
2226
+ "type": "timestamp with time zone",
2227
+ "typeSchema": null,
2228
+ "notNull": true,
2229
+ "dimensions": 0,
2230
+ "default": null,
2231
+ "generated": null,
2232
+ "identity": null,
2233
+ "name": "created_at",
2234
+ "entityType": "columns",
2235
+ "schema": "public",
2236
+ "table": "workspaces"
2237
+ },
2238
+ {
2239
+ "type": "timestamp with time zone",
2240
+ "typeSchema": null,
2241
+ "notNull": true,
2242
+ "dimensions": 0,
2243
+ "default": null,
2244
+ "generated": null,
2245
+ "identity": null,
2246
+ "name": "updated_at",
2247
+ "entityType": "columns",
2248
+ "schema": "public",
2249
+ "table": "workspaces"
2250
+ },
2251
+ {
2252
+ "type": "timestamp with time zone",
2253
+ "typeSchema": null,
2254
+ "notNull": false,
2255
+ "dimensions": 0,
2256
+ "default": null,
2257
+ "generated": null,
2258
+ "identity": null,
2259
+ "name": "terminal_at",
2260
+ "entityType": "columns",
2261
+ "schema": "public",
2262
+ "table": "workspaces"
2263
+ },
2264
+ {
2265
+ "type": "uuid",
2266
+ "typeSchema": null,
2267
+ "notNull": false,
2268
+ "dimensions": 0,
2269
+ "default": null,
2270
+ "generated": null,
2271
+ "identity": null,
2272
+ "name": "origin_workspace_id",
2273
+ "entityType": "columns",
2274
+ "schema": "public",
2275
+ "table": "workspaces"
2276
+ },
2277
+ {
2278
+ "type": "uuid",
2279
+ "typeSchema": null,
2280
+ "notNull": false,
2281
+ "dimensions": 0,
2282
+ "default": null,
2283
+ "generated": null,
2284
+ "identity": null,
2285
+ "name": "restored_from_checkpoint_id",
2286
+ "entityType": "columns",
2287
+ "schema": "public",
2288
+ "table": "workspaces"
2289
+ },
2290
+ {
2291
+ "type": "jsonb",
2292
+ "typeSchema": null,
2293
+ "notNull": false,
2294
+ "dimensions": 0,
2295
+ "default": null,
2296
+ "generated": null,
2297
+ "identity": null,
2298
+ "name": "source_descriptor",
2299
+ "entityType": "columns",
2300
+ "schema": "public",
2301
+ "table": "workspaces"
2302
+ },
2303
+ {
2304
+ "type": "jsonb",
2305
+ "typeSchema": null,
2306
+ "notNull": false,
2307
+ "dimensions": 0,
2308
+ "default": null,
2309
+ "generated": null,
2310
+ "identity": null,
2311
+ "name": "resolved_source",
2312
+ "entityType": "columns",
2313
+ "schema": "public",
2314
+ "table": "workspaces"
2315
+ },
2316
+ {
2317
+ "type": "text",
2318
+ "typeSchema": null,
2319
+ "notNull": true,
2320
+ "dimensions": 0,
2321
+ "default": "'filesystem_only'",
2322
+ "generated": null,
2323
+ "identity": null,
2324
+ "name": "persistence_capability",
2325
+ "entityType": "columns",
2326
+ "schema": "public",
2327
+ "table": "workspaces"
2328
+ },
2329
+ {
2330
+ "type": "uuid",
2331
+ "typeSchema": null,
2332
+ "notNull": false,
2333
+ "dimensions": 0,
2334
+ "default": null,
2335
+ "generated": null,
2336
+ "identity": null,
2337
+ "name": "latest_checkpoint_id",
2338
+ "entityType": "columns",
2339
+ "schema": "public",
2340
+ "table": "workspaces"
2341
+ },
2342
+ {
2343
+ "type": "text",
2344
+ "typeSchema": null,
2345
+ "notNull": true,
2346
+ "dimensions": 0,
2347
+ "default": "'create'",
2348
+ "generated": null,
2349
+ "identity": null,
2350
+ "name": "launch_mode",
2351
+ "entityType": "columns",
2352
+ "schema": "public",
2353
+ "table": "workspaces"
2354
+ },
2355
+ {
2356
+ "type": "jsonb",
2357
+ "typeSchema": null,
2358
+ "notNull": true,
2359
+ "dimensions": 0,
2360
+ "default": "'{}'",
2361
+ "generated": null,
2362
+ "identity": null,
2363
+ "name": "outputs",
2364
+ "entityType": "columns",
2365
+ "schema": "public",
2366
+ "table": "workspaces"
2367
+ },
2368
+ {
2369
+ "nameExplicit": true,
2370
+ "columns": [
2371
+ {
2372
+ "value": "next_attempt_at",
2373
+ "isExpression": false,
2374
+ "asc": true,
2375
+ "nullsFirst": false,
2376
+ "opclass": null
2377
+ }
2378
+ ],
2379
+ "isUnique": false,
2380
+ "where": "\"delivered_at\" IS NULL",
2381
+ "with": "",
2382
+ "method": "btree",
2383
+ "concurrently": false,
2384
+ "name": "event_outbox_due",
2385
+ "entityType": "indexes",
2386
+ "schema": "public",
2387
+ "table": "event_outbox"
2388
+ },
2389
+ {
2390
+ "nameExplicit": true,
2391
+ "columns": [
2392
+ {
2393
+ "value": "template_digest",
2394
+ "isExpression": false,
2395
+ "asc": true,
2396
+ "nullsFirst": false,
2397
+ "opclass": null
2398
+ },
2399
+ {
2400
+ "value": "driver_kind",
2401
+ "isExpression": false,
2402
+ "asc": true,
2403
+ "nullsFirst": false,
2404
+ "opclass": null
2405
+ },
2406
+ {
2407
+ "value": "eligibility_fingerprint",
2408
+ "isExpression": false,
2409
+ "asc": true,
2410
+ "nullsFirst": false,
2411
+ "opclass": null
2412
+ },
2413
+ {
2414
+ "value": "state",
2415
+ "isExpression": false,
2416
+ "asc": true,
2417
+ "nullsFirst": false,
2418
+ "opclass": null
2419
+ },
2420
+ {
2421
+ "value": "ready_at",
2422
+ "isExpression": false,
2423
+ "asc": true,
2424
+ "nullsFirst": false,
2425
+ "opclass": null
2426
+ }
2427
+ ],
2428
+ "isUnique": false,
2429
+ "where": null,
2430
+ "with": "",
2431
+ "method": "btree",
2432
+ "concurrently": false,
2433
+ "name": "warm_pool_eligible",
2434
+ "entityType": "indexes",
2435
+ "schema": "public",
2436
+ "table": "warm_pool_runtimes"
2437
+ },
2438
+ {
2439
+ "nameExplicit": true,
2440
+ "columns": [
2441
+ {
2442
+ "value": "workspace_id",
2443
+ "isExpression": false,
2444
+ "asc": true,
2445
+ "nullsFirst": false,
2446
+ "opclass": null
2447
+ }
2448
+ ],
2449
+ "isUnique": true,
2450
+ "where": null,
2451
+ "with": "",
2452
+ "method": "btree",
2453
+ "concurrently": false,
2454
+ "name": "warm_pool_workspace_once",
2455
+ "entityType": "indexes",
2456
+ "schema": "public",
2457
+ "table": "warm_pool_runtimes"
2458
+ },
2459
+ {
2460
+ "nameExplicit": true,
2461
+ "columns": [
2462
+ {
2463
+ "value": "principal_id",
2464
+ "isExpression": false,
2465
+ "asc": true,
2466
+ "nullsFirst": false,
2467
+ "opclass": null
2468
+ },
2469
+ {
2470
+ "value": "state",
2471
+ "isExpression": false,
2472
+ "asc": true,
2473
+ "nullsFirst": false,
2474
+ "opclass": null
2475
+ },
2476
+ {
2477
+ "value": "created_at",
2478
+ "isExpression": false,
2479
+ "asc": true,
2480
+ "nullsFirst": false,
2481
+ "opclass": null
2482
+ }
2483
+ ],
2484
+ "isUnique": false,
2485
+ "where": null,
2486
+ "with": "",
2487
+ "method": "btree",
2488
+ "concurrently": false,
2489
+ "name": "workspace_checkpoints_principal_state",
2490
+ "entityType": "indexes",
2491
+ "schema": "public",
2492
+ "table": "workspace_checkpoints"
2493
+ },
2494
+ {
2495
+ "nameExplicit": true,
2496
+ "columns": [
2497
+ {
2498
+ "value": "state",
2499
+ "isExpression": false,
2500
+ "asc": true,
2501
+ "nullsFirst": false,
2502
+ "opclass": null
2503
+ },
2504
+ {
2505
+ "value": "expires_at",
2506
+ "isExpression": false,
2507
+ "asc": true,
2508
+ "nullsFirst": false,
2509
+ "opclass": null
2510
+ }
2511
+ ],
2512
+ "isUnique": false,
2513
+ "where": null,
2514
+ "with": "",
2515
+ "method": "btree",
2516
+ "concurrently": false,
2517
+ "name": "workspace_checkpoints_gc",
2518
+ "entityType": "indexes",
2519
+ "schema": "public",
2520
+ "table": "workspace_checkpoints"
2521
+ },
2522
+ {
2523
+ "nameExplicit": true,
2524
+ "columns": [
2525
+ {
2526
+ "value": "state",
2527
+ "isExpression": false,
2528
+ "asc": true,
2529
+ "nullsFirst": false,
2530
+ "opclass": null
2531
+ },
2532
+ {
2533
+ "value": "updated_at",
2534
+ "isExpression": false,
2535
+ "asc": true,
2536
+ "nullsFirst": false,
2537
+ "opclass": null
2538
+ }
2539
+ ],
2540
+ "isUnique": false,
2541
+ "where": null,
2542
+ "with": "",
2543
+ "method": "btree",
2544
+ "concurrently": false,
2545
+ "name": "workspace_operations_due",
2546
+ "entityType": "indexes",
2547
+ "schema": "public",
2548
+ "table": "workspace_operations"
2549
+ },
2550
+ {
2551
+ "nameExplicit": true,
2552
+ "columns": [
2553
+ {
2554
+ "value": "workspace_id",
2555
+ "isExpression": false,
2556
+ "asc": true,
2557
+ "nullsFirst": false,
2558
+ "opclass": null
2559
+ },
2560
+ {
2561
+ "value": "occurred_at",
2562
+ "isExpression": false,
2563
+ "asc": true,
2564
+ "nullsFirst": false,
2565
+ "opclass": null
2566
+ }
2567
+ ],
2568
+ "isUnique": false,
2569
+ "where": null,
2570
+ "with": "",
2571
+ "method": "btree",
2572
+ "concurrently": false,
2573
+ "name": "workspace_state_history_ws",
2574
+ "entityType": "indexes",
2575
+ "schema": "public",
2576
+ "table": "workspace_state_history"
2577
+ },
2578
+ {
2579
+ "nameExplicit": true,
2580
+ "columns": [
2581
+ {
2582
+ "value": "workspace_id",
2583
+ "isExpression": false,
2584
+ "asc": true,
2585
+ "nullsFirst": false,
2586
+ "opclass": null
2587
+ }
2588
+ ],
2589
+ "isUnique": true,
2590
+ "where": "\"state\" NOT IN ('deleted', 'lost', 'quarantined')",
2591
+ "with": "",
2592
+ "method": "btree",
2593
+ "concurrently": false,
2594
+ "name": "workspace_storage_one_live",
2595
+ "entityType": "indexes",
2596
+ "schema": "public",
2597
+ "table": "workspace_storage"
2598
+ },
2599
+ {
2600
+ "nameExplicit": true,
2601
+ "columns": [
2602
+ {
2603
+ "value": "state",
2604
+ "isExpression": false,
2605
+ "asc": true,
2606
+ "nullsFirst": false,
2607
+ "opclass": null
2608
+ },
2609
+ {
2610
+ "value": "retained_until",
2611
+ "isExpression": false,
2612
+ "asc": true,
2613
+ "nullsFirst": false,
2614
+ "opclass": null
2615
+ }
2616
+ ],
2617
+ "isUnique": false,
2618
+ "where": null,
2619
+ "with": "",
2620
+ "method": "btree",
2621
+ "concurrently": false,
2622
+ "name": "workspace_storage_gc",
2623
+ "entityType": "indexes",
2624
+ "schema": "public",
2625
+ "table": "workspace_storage"
2626
+ },
2627
+ {
2628
+ "nameExplicit": true,
2629
+ "columns": [
2630
+ {
2631
+ "value": "principal_id",
2632
+ "isExpression": false,
2633
+ "asc": true,
2634
+ "nullsFirst": false,
2635
+ "opclass": null
2636
+ }
2637
+ ],
2638
+ "isUnique": false,
2639
+ "where": null,
2640
+ "with": "",
2641
+ "method": "btree",
2642
+ "concurrently": false,
2643
+ "name": "workspace_storage_principal",
2644
+ "entityType": "indexes",
2645
+ "schema": "public",
2646
+ "table": "workspace_storage"
2647
+ },
2648
+ {
2649
+ "nameExplicit": true,
2650
+ "columns": [
2651
+ {
2652
+ "value": "principal_id",
2653
+ "isExpression": false,
2654
+ "asc": true,
2655
+ "nullsFirst": false,
2656
+ "opclass": null
2657
+ },
2658
+ {
2659
+ "value": "external_id",
2660
+ "isExpression": false,
2661
+ "asc": true,
2662
+ "nullsFirst": false,
2663
+ "opclass": null
2664
+ }
2665
+ ],
2666
+ "isUnique": true,
2667
+ "where": "\"state\" NOT IN ('succeeded', 'failed', 'canceled', 'expired', 'preserved')",
2668
+ "with": "",
2669
+ "method": "btree",
2670
+ "concurrently": false,
2671
+ "name": "workspaces_principal_external_active",
2672
+ "entityType": "indexes",
2673
+ "schema": "public",
2674
+ "table": "workspaces"
2675
+ },
2676
+ {
2677
+ "nameExplicit": true,
2678
+ "columns": [
2679
+ {
2680
+ "value": "state",
2681
+ "isExpression": false,
2682
+ "asc": true,
2683
+ "nullsFirst": false,
2684
+ "opclass": null
2685
+ },
2686
+ {
2687
+ "value": "created_at",
2688
+ "isExpression": false,
2689
+ "asc": true,
2690
+ "nullsFirst": false,
2691
+ "opclass": null
2692
+ }
2693
+ ],
2694
+ "isUnique": false,
2695
+ "where": null,
2696
+ "with": "",
2697
+ "method": "btree",
2698
+ "concurrently": false,
2699
+ "name": "workspaces_state_created",
2700
+ "entityType": "indexes",
2701
+ "schema": "public",
2702
+ "table": "workspaces"
2703
+ },
2704
+ {
2705
+ "nameExplicit": true,
2706
+ "columns": [
2707
+ {
2708
+ "value": "deadline_at",
2709
+ "isExpression": false,
2710
+ "asc": true,
2711
+ "nullsFirst": false,
2712
+ "opclass": null
2713
+ }
2714
+ ],
2715
+ "isUnique": false,
2716
+ "where": "\"state\" NOT IN ('succeeded', 'failed', 'canceled', 'expired', 'preserved')",
2717
+ "with": "",
2718
+ "method": "btree",
2719
+ "concurrently": false,
2720
+ "name": "workspaces_deadline",
2721
+ "entityType": "indexes",
2722
+ "schema": "public",
2723
+ "table": "workspaces"
2724
+ },
2725
+ {
2726
+ "nameExplicit": false,
2727
+ "columns": [
2728
+ "workspace_id"
2729
+ ],
2730
+ "schemaTo": "public",
2731
+ "tableTo": "workspaces",
2732
+ "columnsTo": [
2733
+ "id"
2734
+ ],
2735
+ "onUpdate": "NO ACTION",
2736
+ "onDelete": "NO ACTION",
2737
+ "name": "event_outbox_workspace_id_workspaces_id_fkey",
2738
+ "entityType": "fks",
2739
+ "schema": "public",
2740
+ "table": "event_outbox"
2741
+ },
2742
+ {
2743
+ "nameExplicit": false,
2744
+ "columns": [
2745
+ "principal_id"
2746
+ ],
2747
+ "schemaTo": "public",
2748
+ "tableTo": "principals",
2749
+ "columnsTo": [
2750
+ "id"
2751
+ ],
2752
+ "onUpdate": "NO ACTION",
2753
+ "onDelete": "NO ACTION",
2754
+ "name": "machine_keys_principal_id_principals_id_fkey",
2755
+ "entityType": "fks",
2756
+ "schema": "public",
2757
+ "table": "machine_keys"
2758
+ },
2759
+ {
2760
+ "nameExplicit": false,
2761
+ "columns": [
2762
+ "template_id"
2763
+ ],
2764
+ "schemaTo": "public",
2765
+ "tableTo": "templates",
2766
+ "columnsTo": [
2767
+ "id"
2768
+ ],
2769
+ "onUpdate": "NO ACTION",
2770
+ "onDelete": "NO ACTION",
2771
+ "name": "warm_pool_runtimes_template_id_templates_id_fkey",
2772
+ "entityType": "fks",
2773
+ "schema": "public",
2774
+ "table": "warm_pool_runtimes"
2775
+ },
2776
+ {
2777
+ "nameExplicit": false,
2778
+ "columns": [
2779
+ "workspace_id"
2780
+ ],
2781
+ "schemaTo": "public",
2782
+ "tableTo": "workspaces",
2783
+ "columnsTo": [
2784
+ "id"
2785
+ ],
2786
+ "onUpdate": "NO ACTION",
2787
+ "onDelete": "NO ACTION",
2788
+ "name": "warm_pool_runtimes_workspace_id_workspaces_id_fkey",
2789
+ "entityType": "fks",
2790
+ "schema": "public",
2791
+ "table": "warm_pool_runtimes"
2792
+ },
2793
+ {
2794
+ "nameExplicit": false,
2795
+ "columns": [
2796
+ "workspace_id"
2797
+ ],
2798
+ "schemaTo": "public",
2799
+ "tableTo": "workspaces",
2800
+ "columnsTo": [
2801
+ "id"
2802
+ ],
2803
+ "onUpdate": "NO ACTION",
2804
+ "onDelete": "NO ACTION",
2805
+ "name": "workspace_checkpoints_workspace_id_workspaces_id_fkey",
2806
+ "entityType": "fks",
2807
+ "schema": "public",
2808
+ "table": "workspace_checkpoints"
2809
+ },
2810
+ {
2811
+ "nameExplicit": false,
2812
+ "columns": [
2813
+ "principal_id"
2814
+ ],
2815
+ "schemaTo": "public",
2816
+ "tableTo": "principals",
2817
+ "columnsTo": [
2818
+ "id"
2819
+ ],
2820
+ "onUpdate": "NO ACTION",
2821
+ "onDelete": "NO ACTION",
2822
+ "name": "workspace_checkpoints_principal_id_principals_id_fkey",
2823
+ "entityType": "fks",
2824
+ "schema": "public",
2825
+ "table": "workspace_checkpoints"
2826
+ },
2827
+ {
2828
+ "nameExplicit": false,
2829
+ "columns": [
2830
+ "storage_id"
2831
+ ],
2832
+ "schemaTo": "public",
2833
+ "tableTo": "workspace_storage",
2834
+ "columnsTo": [
2835
+ "id"
2836
+ ],
2837
+ "onUpdate": "NO ACTION",
2838
+ "onDelete": "NO ACTION",
2839
+ "name": "workspace_checkpoints_storage_id_workspace_storage_id_fkey",
2840
+ "entityType": "fks",
2841
+ "schema": "public",
2842
+ "table": "workspace_checkpoints"
2843
+ },
2844
+ {
2845
+ "nameExplicit": false,
2846
+ "columns": [
2847
+ "workspace_id"
2848
+ ],
2849
+ "schemaTo": "public",
2850
+ "tableTo": "workspaces",
2851
+ "columnsTo": [
2852
+ "id"
2853
+ ],
2854
+ "onUpdate": "NO ACTION",
2855
+ "onDelete": "NO ACTION",
2856
+ "name": "workspace_conversation_messages_workspace_id_workspaces_id_fkey",
2857
+ "entityType": "fks",
2858
+ "schema": "public",
2859
+ "table": "workspace_conversation_messages"
2860
+ },
2861
+ {
2862
+ "nameExplicit": false,
2863
+ "columns": [
2864
+ "workspace_id"
2865
+ ],
2866
+ "schemaTo": "public",
2867
+ "tableTo": "workspaces",
2868
+ "columnsTo": [
2869
+ "id"
2870
+ ],
2871
+ "onUpdate": "NO ACTION",
2872
+ "onDelete": "NO ACTION",
2873
+ "name": "workspace_conversations_workspace_id_workspaces_id_fkey",
2874
+ "entityType": "fks",
2875
+ "schema": "public",
2876
+ "table": "workspace_conversations"
2877
+ },
2878
+ {
2879
+ "nameExplicit": false,
2880
+ "columns": [
2881
+ "workspace_id"
2882
+ ],
2883
+ "schemaTo": "public",
2884
+ "tableTo": "workspaces",
2885
+ "columnsTo": [
2886
+ "id"
2887
+ ],
2888
+ "onUpdate": "NO ACTION",
2889
+ "onDelete": "NO ACTION",
2890
+ "name": "workspace_logs_workspace_id_workspaces_id_fkey",
2891
+ "entityType": "fks",
2892
+ "schema": "public",
2893
+ "table": "workspace_logs"
2894
+ },
2895
+ {
2896
+ "nameExplicit": false,
2897
+ "columns": [
2898
+ "principal_id"
2899
+ ],
2900
+ "schemaTo": "public",
2901
+ "tableTo": "principals",
2902
+ "columnsTo": [
2903
+ "id"
2904
+ ],
2905
+ "onUpdate": "NO ACTION",
2906
+ "onDelete": "NO ACTION",
2907
+ "name": "workspace_operations_principal_id_principals_id_fkey",
2908
+ "entityType": "fks",
2909
+ "schema": "public",
2910
+ "table": "workspace_operations"
2911
+ },
2912
+ {
2913
+ "nameExplicit": false,
2914
+ "columns": [
2915
+ "workspace_id"
2916
+ ],
2917
+ "schemaTo": "public",
2918
+ "tableTo": "workspaces",
2919
+ "columnsTo": [
2920
+ "id"
2921
+ ],
2922
+ "onUpdate": "NO ACTION",
2923
+ "onDelete": "NO ACTION",
2924
+ "name": "workspace_operations_workspace_id_workspaces_id_fkey",
2925
+ "entityType": "fks",
2926
+ "schema": "public",
2927
+ "table": "workspace_operations"
2928
+ },
2929
+ {
2930
+ "nameExplicit": false,
2931
+ "columns": [
2932
+ "checkpoint_id"
2933
+ ],
2934
+ "schemaTo": "public",
2935
+ "tableTo": "workspace_checkpoints",
2936
+ "columnsTo": [
2937
+ "id"
2938
+ ],
2939
+ "onUpdate": "NO ACTION",
2940
+ "onDelete": "NO ACTION",
2941
+ "name": "workspace_operations_fBJ1lkBRI011_fkey",
2942
+ "entityType": "fks",
2943
+ "schema": "public",
2944
+ "table": "workspace_operations"
2945
+ },
2946
+ {
2947
+ "nameExplicit": false,
2948
+ "columns": [
2949
+ "result_workspace_id"
2950
+ ],
2951
+ "schemaTo": "public",
2952
+ "tableTo": "workspaces",
2953
+ "columnsTo": [
2954
+ "id"
2955
+ ],
2956
+ "onUpdate": "NO ACTION",
2957
+ "onDelete": "NO ACTION",
2958
+ "name": "workspace_operations_result_workspace_id_workspaces_id_fkey",
2959
+ "entityType": "fks",
2960
+ "schema": "public",
2961
+ "table": "workspace_operations"
2962
+ },
2963
+ {
2964
+ "nameExplicit": false,
2965
+ "columns": [
2966
+ "workspace_id"
2967
+ ],
2968
+ "schemaTo": "public",
2969
+ "tableTo": "workspaces",
2970
+ "columnsTo": [
2971
+ "id"
2972
+ ],
2973
+ "onUpdate": "NO ACTION",
2974
+ "onDelete": "NO ACTION",
2975
+ "name": "workspace_outputs_workspace_id_workspaces_id_fkey",
2976
+ "entityType": "fks",
2977
+ "schema": "public",
2978
+ "table": "workspace_outputs"
2979
+ },
2980
+ {
2981
+ "nameExplicit": false,
2982
+ "columns": [
2983
+ "workspace_id"
2984
+ ],
2985
+ "schemaTo": "public",
2986
+ "tableTo": "workspaces",
2987
+ "columnsTo": [
2988
+ "id"
2989
+ ],
2990
+ "onUpdate": "NO ACTION",
2991
+ "onDelete": "NO ACTION",
2992
+ "name": "workspace_state_history_workspace_id_workspaces_id_fkey",
2993
+ "entityType": "fks",
2994
+ "schema": "public",
2995
+ "table": "workspace_state_history"
2996
+ },
2997
+ {
2998
+ "nameExplicit": false,
2999
+ "columns": [
3000
+ "workspace_id"
3001
+ ],
3002
+ "schemaTo": "public",
3003
+ "tableTo": "workspaces",
3004
+ "columnsTo": [
3005
+ "id"
3006
+ ],
3007
+ "onUpdate": "NO ACTION",
3008
+ "onDelete": "NO ACTION",
3009
+ "name": "workspace_storage_workspace_id_workspaces_id_fkey",
3010
+ "entityType": "fks",
3011
+ "schema": "public",
3012
+ "table": "workspace_storage"
3013
+ },
3014
+ {
3015
+ "nameExplicit": false,
3016
+ "columns": [
3017
+ "principal_id"
3018
+ ],
3019
+ "schemaTo": "public",
3020
+ "tableTo": "principals",
3021
+ "columnsTo": [
3022
+ "id"
3023
+ ],
3024
+ "onUpdate": "NO ACTION",
3025
+ "onDelete": "NO ACTION",
3026
+ "name": "workspace_storage_principal_id_principals_id_fkey",
3027
+ "entityType": "fks",
3028
+ "schema": "public",
3029
+ "table": "workspace_storage"
3030
+ },
3031
+ {
3032
+ "nameExplicit": false,
3033
+ "columns": [
3034
+ "principal_id"
3035
+ ],
3036
+ "schemaTo": "public",
3037
+ "tableTo": "principals",
3038
+ "columnsTo": [
3039
+ "id"
3040
+ ],
3041
+ "onUpdate": "NO ACTION",
3042
+ "onDelete": "NO ACTION",
3043
+ "name": "workspaces_principal_id_principals_id_fkey",
3044
+ "entityType": "fks",
3045
+ "schema": "public",
3046
+ "table": "workspaces"
3047
+ },
3048
+ {
3049
+ "nameExplicit": false,
3050
+ "columns": [
3051
+ "template_id"
3052
+ ],
3053
+ "schemaTo": "public",
3054
+ "tableTo": "templates",
3055
+ "columnsTo": [
3056
+ "id"
3057
+ ],
3058
+ "onUpdate": "NO ACTION",
3059
+ "onDelete": "NO ACTION",
3060
+ "name": "workspaces_template_id_templates_id_fkey",
3061
+ "entityType": "fks",
3062
+ "schema": "public",
3063
+ "table": "workspaces"
3064
+ },
3065
+ {
3066
+ "columns": [
3067
+ "workspace_id",
3068
+ "seq"
3069
+ ],
3070
+ "nameExplicit": false,
3071
+ "name": "workspace_conversation_messages_pkey",
3072
+ "entityType": "pks",
3073
+ "schema": "public",
3074
+ "table": "workspace_conversation_messages"
3075
+ },
3076
+ {
3077
+ "columns": [
3078
+ "workspace_id",
3079
+ "seq"
3080
+ ],
3081
+ "nameExplicit": false,
3082
+ "name": "workspace_logs_pkey",
3083
+ "entityType": "pks",
3084
+ "schema": "public",
3085
+ "table": "workspace_logs"
3086
+ },
3087
+ {
3088
+ "columns": [
3089
+ "workspace_id",
3090
+ "seq"
3091
+ ],
3092
+ "nameExplicit": false,
3093
+ "name": "workspace_outputs_pkey",
3094
+ "entityType": "pks",
3095
+ "schema": "public",
3096
+ "table": "workspace_outputs"
3097
+ },
3098
+ {
3099
+ "columns": [
3100
+ "id"
3101
+ ],
3102
+ "nameExplicit": false,
3103
+ "name": "event_outbox_pkey",
3104
+ "schema": "public",
3105
+ "table": "event_outbox",
3106
+ "entityType": "pks"
3107
+ },
3108
+ {
3109
+ "columns": [
3110
+ "id"
3111
+ ],
3112
+ "nameExplicit": false,
3113
+ "name": "machine_keys_pkey",
3114
+ "schema": "public",
3115
+ "table": "machine_keys",
3116
+ "entityType": "pks"
3117
+ },
3118
+ {
3119
+ "columns": [
3120
+ "id"
3121
+ ],
3122
+ "nameExplicit": false,
3123
+ "name": "principals_pkey",
3124
+ "schema": "public",
3125
+ "table": "principals",
3126
+ "entityType": "pks"
3127
+ },
3128
+ {
3129
+ "columns": [
3130
+ "id"
3131
+ ],
3132
+ "nameExplicit": false,
3133
+ "name": "templates_pkey",
3134
+ "schema": "public",
3135
+ "table": "templates",
3136
+ "entityType": "pks"
3137
+ },
3138
+ {
3139
+ "columns": [
3140
+ "id"
3141
+ ],
3142
+ "nameExplicit": false,
3143
+ "name": "warm_pool_runtimes_pkey",
3144
+ "schema": "public",
3145
+ "table": "warm_pool_runtimes",
3146
+ "entityType": "pks"
3147
+ },
3148
+ {
3149
+ "columns": [
3150
+ "id"
3151
+ ],
3152
+ "nameExplicit": false,
3153
+ "name": "workspace_checkpoints_pkey",
3154
+ "schema": "public",
3155
+ "table": "workspace_checkpoints",
3156
+ "entityType": "pks"
3157
+ },
3158
+ {
3159
+ "columns": [
3160
+ "workspace_id"
3161
+ ],
3162
+ "nameExplicit": false,
3163
+ "name": "workspace_conversations_pkey",
3164
+ "schema": "public",
3165
+ "table": "workspace_conversations",
3166
+ "entityType": "pks"
3167
+ },
3168
+ {
3169
+ "columns": [
3170
+ "id"
3171
+ ],
3172
+ "nameExplicit": false,
3173
+ "name": "workspace_operations_pkey",
3174
+ "schema": "public",
3175
+ "table": "workspace_operations",
3176
+ "entityType": "pks"
3177
+ },
3178
+ {
3179
+ "columns": [
3180
+ "id"
3181
+ ],
3182
+ "nameExplicit": false,
3183
+ "name": "workspace_state_history_pkey",
3184
+ "schema": "public",
3185
+ "table": "workspace_state_history",
3186
+ "entityType": "pks"
3187
+ },
3188
+ {
3189
+ "columns": [
3190
+ "id"
3191
+ ],
3192
+ "nameExplicit": false,
3193
+ "name": "workspace_storage_pkey",
3194
+ "schema": "public",
3195
+ "table": "workspace_storage",
3196
+ "entityType": "pks"
3197
+ },
3198
+ {
3199
+ "columns": [
3200
+ "id"
3201
+ ],
3202
+ "nameExplicit": false,
3203
+ "name": "workspaces_pkey",
3204
+ "schema": "public",
3205
+ "table": "workspaces",
3206
+ "entityType": "pks"
3207
+ },
3208
+ {
3209
+ "nameExplicit": false,
3210
+ "columns": [
3211
+ "name",
3212
+ "version"
3213
+ ],
3214
+ "nullsNotDistinct": false,
3215
+ "name": "templates_name_version_unique",
3216
+ "entityType": "uniques",
3217
+ "schema": "public",
3218
+ "table": "templates"
3219
+ },
3220
+ {
3221
+ "nameExplicit": false,
3222
+ "columns": [
3223
+ "workspace_id",
3224
+ "message_id"
3225
+ ],
3226
+ "nullsNotDistinct": false,
3227
+ "name": "workspace_conversation_messages_workspace_id_message_id_unique",
3228
+ "entityType": "uniques",
3229
+ "schema": "public",
3230
+ "table": "workspace_conversation_messages"
3231
+ },
3232
+ {
3233
+ "nameExplicit": false,
3234
+ "columns": [
3235
+ "principal_id",
3236
+ "kind",
3237
+ "idempotency_key"
3238
+ ],
3239
+ "nullsNotDistinct": false,
3240
+ "name": "workspace_operations_principal_id_kind_idempotency_key_unique",
3241
+ "entityType": "uniques",
3242
+ "schema": "public",
3243
+ "table": "workspace_operations"
3244
+ },
3245
+ {
3246
+ "nameExplicit": false,
3247
+ "columns": [
3248
+ "principal_id",
3249
+ "idempotency_key"
3250
+ ],
3251
+ "nullsNotDistinct": false,
3252
+ "name": "workspaces_principal_id_idempotency_key_unique",
3253
+ "entityType": "uniques",
3254
+ "schema": "public",
3255
+ "table": "workspaces"
3256
+ },
3257
+ {
3258
+ "nameExplicit": false,
3259
+ "columns": [
3260
+ "name"
3261
+ ],
3262
+ "nullsNotDistinct": false,
3263
+ "name": "principals_name_key",
3264
+ "schema": "public",
3265
+ "table": "principals",
3266
+ "entityType": "uniques"
3267
+ },
3268
+ {
3269
+ "nameExplicit": false,
3270
+ "columns": [
3271
+ "digest"
3272
+ ],
3273
+ "nullsNotDistinct": false,
3274
+ "name": "templates_digest_key",
3275
+ "schema": "public",
3276
+ "table": "templates",
3277
+ "entityType": "uniques"
3278
+ }
3279
+ ],
3280
+ "renames": []
3281
+ }