@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,2614 @@
1
+ {
2
+ "version": "8",
3
+ "dialect": "postgres",
4
+ "id": "4edf42d7-8fb8-4755-b86d-79ad036d6379",
5
+ "prevIds": [
6
+ "4528e6f0-1c0a-4409-9657-1340a22befa4"
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": "workspace_checkpoints",
36
+ "entityType": "tables",
37
+ "schema": "public"
38
+ },
39
+ {
40
+ "isRlsEnabled": false,
41
+ "name": "workspace_logs",
42
+ "entityType": "tables",
43
+ "schema": "public"
44
+ },
45
+ {
46
+ "isRlsEnabled": false,
47
+ "name": "workspace_operations",
48
+ "entityType": "tables",
49
+ "schema": "public"
50
+ },
51
+ {
52
+ "isRlsEnabled": false,
53
+ "name": "workspace_outputs",
54
+ "entityType": "tables",
55
+ "schema": "public"
56
+ },
57
+ {
58
+ "isRlsEnabled": false,
59
+ "name": "workspace_state_history",
60
+ "entityType": "tables",
61
+ "schema": "public"
62
+ },
63
+ {
64
+ "isRlsEnabled": false,
65
+ "name": "workspace_storage",
66
+ "entityType": "tables",
67
+ "schema": "public"
68
+ },
69
+ {
70
+ "isRlsEnabled": false,
71
+ "name": "workspaces",
72
+ "entityType": "tables",
73
+ "schema": "public"
74
+ },
75
+ {
76
+ "type": "uuid",
77
+ "typeSchema": null,
78
+ "notNull": true,
79
+ "dimensions": 0,
80
+ "default": null,
81
+ "generated": null,
82
+ "identity": null,
83
+ "name": "id",
84
+ "entityType": "columns",
85
+ "schema": "public",
86
+ "table": "event_outbox"
87
+ },
88
+ {
89
+ "type": "uuid",
90
+ "typeSchema": null,
91
+ "notNull": true,
92
+ "dimensions": 0,
93
+ "default": null,
94
+ "generated": null,
95
+ "identity": null,
96
+ "name": "workspace_id",
97
+ "entityType": "columns",
98
+ "schema": "public",
99
+ "table": "event_outbox"
100
+ },
101
+ {
102
+ "type": "text",
103
+ "typeSchema": null,
104
+ "notNull": true,
105
+ "dimensions": 0,
106
+ "default": null,
107
+ "generated": null,
108
+ "identity": null,
109
+ "name": "event_type",
110
+ "entityType": "columns",
111
+ "schema": "public",
112
+ "table": "event_outbox"
113
+ },
114
+ {
115
+ "type": "jsonb",
116
+ "typeSchema": null,
117
+ "notNull": true,
118
+ "dimensions": 0,
119
+ "default": null,
120
+ "generated": null,
121
+ "identity": null,
122
+ "name": "payload",
123
+ "entityType": "columns",
124
+ "schema": "public",
125
+ "table": "event_outbox"
126
+ },
127
+ {
128
+ "type": "timestamp with time zone",
129
+ "typeSchema": null,
130
+ "notNull": true,
131
+ "dimensions": 0,
132
+ "default": null,
133
+ "generated": null,
134
+ "identity": null,
135
+ "name": "occurred_at",
136
+ "entityType": "columns",
137
+ "schema": "public",
138
+ "table": "event_outbox"
139
+ },
140
+ {
141
+ "type": "timestamp with time zone",
142
+ "typeSchema": null,
143
+ "notNull": true,
144
+ "dimensions": 0,
145
+ "default": null,
146
+ "generated": null,
147
+ "identity": null,
148
+ "name": "next_attempt_at",
149
+ "entityType": "columns",
150
+ "schema": "public",
151
+ "table": "event_outbox"
152
+ },
153
+ {
154
+ "type": "integer",
155
+ "typeSchema": null,
156
+ "notNull": true,
157
+ "dimensions": 0,
158
+ "default": "0",
159
+ "generated": null,
160
+ "identity": null,
161
+ "name": "attempt_count",
162
+ "entityType": "columns",
163
+ "schema": "public",
164
+ "table": "event_outbox"
165
+ },
166
+ {
167
+ "type": "timestamp with time zone",
168
+ "typeSchema": null,
169
+ "notNull": false,
170
+ "dimensions": 0,
171
+ "default": null,
172
+ "generated": null,
173
+ "identity": null,
174
+ "name": "delivered_at",
175
+ "entityType": "columns",
176
+ "schema": "public",
177
+ "table": "event_outbox"
178
+ },
179
+ {
180
+ "type": "text",
181
+ "typeSchema": null,
182
+ "notNull": false,
183
+ "dimensions": 0,
184
+ "default": null,
185
+ "generated": null,
186
+ "identity": null,
187
+ "name": "last_error_code",
188
+ "entityType": "columns",
189
+ "schema": "public",
190
+ "table": "event_outbox"
191
+ },
192
+ {
193
+ "type": "uuid",
194
+ "typeSchema": null,
195
+ "notNull": true,
196
+ "dimensions": 0,
197
+ "default": null,
198
+ "generated": null,
199
+ "identity": null,
200
+ "name": "id",
201
+ "entityType": "columns",
202
+ "schema": "public",
203
+ "table": "machine_keys"
204
+ },
205
+ {
206
+ "type": "uuid",
207
+ "typeSchema": null,
208
+ "notNull": true,
209
+ "dimensions": 0,
210
+ "default": null,
211
+ "generated": null,
212
+ "identity": null,
213
+ "name": "principal_id",
214
+ "entityType": "columns",
215
+ "schema": "public",
216
+ "table": "machine_keys"
217
+ },
218
+ {
219
+ "type": "bytea",
220
+ "typeSchema": null,
221
+ "notNull": true,
222
+ "dimensions": 0,
223
+ "default": null,
224
+ "generated": null,
225
+ "identity": null,
226
+ "name": "secret_digest",
227
+ "entityType": "columns",
228
+ "schema": "public",
229
+ "table": "machine_keys"
230
+ },
231
+ {
232
+ "type": "text",
233
+ "typeSchema": null,
234
+ "notNull": true,
235
+ "dimensions": 1,
236
+ "default": null,
237
+ "generated": null,
238
+ "identity": null,
239
+ "name": "scopes",
240
+ "entityType": "columns",
241
+ "schema": "public",
242
+ "table": "machine_keys"
243
+ },
244
+ {
245
+ "type": "timestamp with time zone",
246
+ "typeSchema": null,
247
+ "notNull": true,
248
+ "dimensions": 0,
249
+ "default": null,
250
+ "generated": null,
251
+ "identity": null,
252
+ "name": "created_at",
253
+ "entityType": "columns",
254
+ "schema": "public",
255
+ "table": "machine_keys"
256
+ },
257
+ {
258
+ "type": "timestamp with time zone",
259
+ "typeSchema": null,
260
+ "notNull": false,
261
+ "dimensions": 0,
262
+ "default": null,
263
+ "generated": null,
264
+ "identity": null,
265
+ "name": "expires_at",
266
+ "entityType": "columns",
267
+ "schema": "public",
268
+ "table": "machine_keys"
269
+ },
270
+ {
271
+ "type": "timestamp with time zone",
272
+ "typeSchema": null,
273
+ "notNull": false,
274
+ "dimensions": 0,
275
+ "default": null,
276
+ "generated": null,
277
+ "identity": null,
278
+ "name": "revoked_at",
279
+ "entityType": "columns",
280
+ "schema": "public",
281
+ "table": "machine_keys"
282
+ },
283
+ {
284
+ "type": "timestamp with time zone",
285
+ "typeSchema": null,
286
+ "notNull": false,
287
+ "dimensions": 0,
288
+ "default": null,
289
+ "generated": null,
290
+ "identity": null,
291
+ "name": "last_used_at",
292
+ "entityType": "columns",
293
+ "schema": "public",
294
+ "table": "machine_keys"
295
+ },
296
+ {
297
+ "type": "uuid",
298
+ "typeSchema": null,
299
+ "notNull": true,
300
+ "dimensions": 0,
301
+ "default": null,
302
+ "generated": null,
303
+ "identity": null,
304
+ "name": "id",
305
+ "entityType": "columns",
306
+ "schema": "public",
307
+ "table": "principals"
308
+ },
309
+ {
310
+ "type": "text",
311
+ "typeSchema": null,
312
+ "notNull": true,
313
+ "dimensions": 0,
314
+ "default": null,
315
+ "generated": null,
316
+ "identity": null,
317
+ "name": "name",
318
+ "entityType": "columns",
319
+ "schema": "public",
320
+ "table": "principals"
321
+ },
322
+ {
323
+ "type": "text",
324
+ "typeSchema": null,
325
+ "notNull": true,
326
+ "dimensions": 1,
327
+ "default": null,
328
+ "generated": null,
329
+ "identity": null,
330
+ "name": "scopes",
331
+ "entityType": "columns",
332
+ "schema": "public",
333
+ "table": "principals"
334
+ },
335
+ {
336
+ "type": "text",
337
+ "typeSchema": null,
338
+ "notNull": true,
339
+ "dimensions": 1,
340
+ "default": null,
341
+ "generated": null,
342
+ "identity": null,
343
+ "name": "template_names",
344
+ "entityType": "columns",
345
+ "schema": "public",
346
+ "table": "principals"
347
+ },
348
+ {
349
+ "type": "timestamp with time zone",
350
+ "typeSchema": null,
351
+ "notNull": false,
352
+ "dimensions": 0,
353
+ "default": null,
354
+ "generated": null,
355
+ "identity": null,
356
+ "name": "disabled_at",
357
+ "entityType": "columns",
358
+ "schema": "public",
359
+ "table": "principals"
360
+ },
361
+ {
362
+ "type": "timestamp with time zone",
363
+ "typeSchema": null,
364
+ "notNull": true,
365
+ "dimensions": 0,
366
+ "default": null,
367
+ "generated": null,
368
+ "identity": null,
369
+ "name": "created_at",
370
+ "entityType": "columns",
371
+ "schema": "public",
372
+ "table": "principals"
373
+ },
374
+ {
375
+ "type": "uuid",
376
+ "typeSchema": null,
377
+ "notNull": true,
378
+ "dimensions": 0,
379
+ "default": null,
380
+ "generated": null,
381
+ "identity": null,
382
+ "name": "id",
383
+ "entityType": "columns",
384
+ "schema": "public",
385
+ "table": "templates"
386
+ },
387
+ {
388
+ "type": "text",
389
+ "typeSchema": null,
390
+ "notNull": true,
391
+ "dimensions": 0,
392
+ "default": null,
393
+ "generated": null,
394
+ "identity": null,
395
+ "name": "name",
396
+ "entityType": "columns",
397
+ "schema": "public",
398
+ "table": "templates"
399
+ },
400
+ {
401
+ "type": "text",
402
+ "typeSchema": null,
403
+ "notNull": true,
404
+ "dimensions": 0,
405
+ "default": null,
406
+ "generated": null,
407
+ "identity": null,
408
+ "name": "version",
409
+ "entityType": "columns",
410
+ "schema": "public",
411
+ "table": "templates"
412
+ },
413
+ {
414
+ "type": "text",
415
+ "typeSchema": null,
416
+ "notNull": true,
417
+ "dimensions": 0,
418
+ "default": null,
419
+ "generated": null,
420
+ "identity": null,
421
+ "name": "digest",
422
+ "entityType": "columns",
423
+ "schema": "public",
424
+ "table": "templates"
425
+ },
426
+ {
427
+ "type": "text",
428
+ "typeSchema": null,
429
+ "notNull": false,
430
+ "dimensions": 0,
431
+ "default": null,
432
+ "generated": null,
433
+ "identity": null,
434
+ "name": "description",
435
+ "entityType": "columns",
436
+ "schema": "public",
437
+ "table": "templates"
438
+ },
439
+ {
440
+ "type": "jsonb",
441
+ "typeSchema": null,
442
+ "notNull": true,
443
+ "dimensions": 0,
444
+ "default": null,
445
+ "generated": null,
446
+ "identity": null,
447
+ "name": "spec",
448
+ "entityType": "columns",
449
+ "schema": "public",
450
+ "table": "templates"
451
+ },
452
+ {
453
+ "type": "text",
454
+ "typeSchema": null,
455
+ "notNull": true,
456
+ "dimensions": 0,
457
+ "default": null,
458
+ "generated": null,
459
+ "identity": null,
460
+ "name": "status",
461
+ "entityType": "columns",
462
+ "schema": "public",
463
+ "table": "templates"
464
+ },
465
+ {
466
+ "type": "timestamp with time zone",
467
+ "typeSchema": null,
468
+ "notNull": true,
469
+ "dimensions": 0,
470
+ "default": null,
471
+ "generated": null,
472
+ "identity": null,
473
+ "name": "created_at",
474
+ "entityType": "columns",
475
+ "schema": "public",
476
+ "table": "templates"
477
+ },
478
+ {
479
+ "type": "timestamp with time zone",
480
+ "typeSchema": null,
481
+ "notNull": false,
482
+ "dimensions": 0,
483
+ "default": null,
484
+ "generated": null,
485
+ "identity": null,
486
+ "name": "retired_at",
487
+ "entityType": "columns",
488
+ "schema": "public",
489
+ "table": "templates"
490
+ },
491
+ {
492
+ "type": "uuid",
493
+ "typeSchema": null,
494
+ "notNull": true,
495
+ "dimensions": 0,
496
+ "default": null,
497
+ "generated": null,
498
+ "identity": null,
499
+ "name": "id",
500
+ "entityType": "columns",
501
+ "schema": "public",
502
+ "table": "workspace_checkpoints"
503
+ },
504
+ {
505
+ "type": "uuid",
506
+ "typeSchema": null,
507
+ "notNull": true,
508
+ "dimensions": 0,
509
+ "default": null,
510
+ "generated": null,
511
+ "identity": null,
512
+ "name": "workspace_id",
513
+ "entityType": "columns",
514
+ "schema": "public",
515
+ "table": "workspace_checkpoints"
516
+ },
517
+ {
518
+ "type": "uuid",
519
+ "typeSchema": null,
520
+ "notNull": true,
521
+ "dimensions": 0,
522
+ "default": null,
523
+ "generated": null,
524
+ "identity": null,
525
+ "name": "principal_id",
526
+ "entityType": "columns",
527
+ "schema": "public",
528
+ "table": "workspace_checkpoints"
529
+ },
530
+ {
531
+ "type": "uuid",
532
+ "typeSchema": null,
533
+ "notNull": true,
534
+ "dimensions": 0,
535
+ "default": null,
536
+ "generated": null,
537
+ "identity": null,
538
+ "name": "storage_id",
539
+ "entityType": "columns",
540
+ "schema": "public",
541
+ "table": "workspace_checkpoints"
542
+ },
543
+ {
544
+ "type": "uuid",
545
+ "typeSchema": null,
546
+ "notNull": false,
547
+ "dimensions": 0,
548
+ "default": null,
549
+ "generated": null,
550
+ "identity": null,
551
+ "name": "parent_checkpoint_id",
552
+ "entityType": "columns",
553
+ "schema": "public",
554
+ "table": "workspace_checkpoints"
555
+ },
556
+ {
557
+ "type": "text",
558
+ "typeSchema": null,
559
+ "notNull": true,
560
+ "dimensions": 0,
561
+ "default": null,
562
+ "generated": null,
563
+ "identity": null,
564
+ "name": "state",
565
+ "entityType": "columns",
566
+ "schema": "public",
567
+ "table": "workspace_checkpoints"
568
+ },
569
+ {
570
+ "type": "text",
571
+ "typeSchema": null,
572
+ "notNull": false,
573
+ "dimensions": 0,
574
+ "default": null,
575
+ "generated": null,
576
+ "identity": null,
577
+ "name": "reason_code",
578
+ "entityType": "columns",
579
+ "schema": "public",
580
+ "table": "workspace_checkpoints"
581
+ },
582
+ {
583
+ "type": "text",
584
+ "typeSchema": null,
585
+ "notNull": true,
586
+ "dimensions": 0,
587
+ "default": null,
588
+ "generated": null,
589
+ "identity": null,
590
+ "name": "provider_kind",
591
+ "entityType": "columns",
592
+ "schema": "public",
593
+ "table": "workspace_checkpoints"
594
+ },
595
+ {
596
+ "type": "jsonb",
597
+ "typeSchema": null,
598
+ "notNull": false,
599
+ "dimensions": 0,
600
+ "default": null,
601
+ "generated": null,
602
+ "identity": null,
603
+ "name": "provider_ref",
604
+ "entityType": "columns",
605
+ "schema": "public",
606
+ "table": "workspace_checkpoints"
607
+ },
608
+ {
609
+ "type": "jsonb",
610
+ "typeSchema": null,
611
+ "notNull": true,
612
+ "dimensions": 0,
613
+ "default": null,
614
+ "generated": null,
615
+ "identity": null,
616
+ "name": "template_snapshot",
617
+ "entityType": "columns",
618
+ "schema": "public",
619
+ "table": "workspace_checkpoints"
620
+ },
621
+ {
622
+ "type": "text",
623
+ "typeSchema": null,
624
+ "notNull": true,
625
+ "dimensions": 0,
626
+ "default": null,
627
+ "generated": null,
628
+ "identity": null,
629
+ "name": "template_digest",
630
+ "entityType": "columns",
631
+ "schema": "public",
632
+ "table": "workspace_checkpoints"
633
+ },
634
+ {
635
+ "type": "jsonb",
636
+ "typeSchema": null,
637
+ "notNull": false,
638
+ "dimensions": 0,
639
+ "default": null,
640
+ "generated": null,
641
+ "identity": null,
642
+ "name": "source_provenance",
643
+ "entityType": "columns",
644
+ "schema": "public",
645
+ "table": "workspace_checkpoints"
646
+ },
647
+ {
648
+ "type": "jsonb",
649
+ "typeSchema": null,
650
+ "notNull": false,
651
+ "dimensions": 0,
652
+ "default": null,
653
+ "generated": null,
654
+ "identity": null,
655
+ "name": "manifest",
656
+ "entityType": "columns",
657
+ "schema": "public",
658
+ "table": "workspace_checkpoints"
659
+ },
660
+ {
661
+ "type": "text",
662
+ "typeSchema": null,
663
+ "notNull": false,
664
+ "dimensions": 0,
665
+ "default": null,
666
+ "generated": null,
667
+ "identity": null,
668
+ "name": "manifest_digest",
669
+ "entityType": "columns",
670
+ "schema": "public",
671
+ "table": "workspace_checkpoints"
672
+ },
673
+ {
674
+ "type": "bigint",
675
+ "typeSchema": null,
676
+ "notNull": false,
677
+ "dimensions": 0,
678
+ "default": null,
679
+ "generated": null,
680
+ "identity": null,
681
+ "name": "logical_bytes",
682
+ "entityType": "columns",
683
+ "schema": "public",
684
+ "table": "workspace_checkpoints"
685
+ },
686
+ {
687
+ "type": "bigint",
688
+ "typeSchema": null,
689
+ "notNull": false,
690
+ "dimensions": 0,
691
+ "default": null,
692
+ "generated": null,
693
+ "identity": null,
694
+ "name": "stored_bytes",
695
+ "entityType": "columns",
696
+ "schema": "public",
697
+ "table": "workspace_checkpoints"
698
+ },
699
+ {
700
+ "type": "bigint",
701
+ "typeSchema": null,
702
+ "notNull": false,
703
+ "dimensions": 0,
704
+ "default": null,
705
+ "generated": null,
706
+ "identity": null,
707
+ "name": "file_count",
708
+ "entityType": "columns",
709
+ "schema": "public",
710
+ "table": "workspace_checkpoints"
711
+ },
712
+ {
713
+ "type": "text",
714
+ "typeSchema": null,
715
+ "notNull": true,
716
+ "dimensions": 0,
717
+ "default": null,
718
+ "generated": null,
719
+ "identity": null,
720
+ "name": "conversation_restore",
721
+ "entityType": "columns",
722
+ "schema": "public",
723
+ "table": "workspace_checkpoints"
724
+ },
725
+ {
726
+ "type": "text",
727
+ "typeSchema": null,
728
+ "notNull": false,
729
+ "dimensions": 0,
730
+ "default": null,
731
+ "generated": null,
732
+ "identity": null,
733
+ "name": "label",
734
+ "entityType": "columns",
735
+ "schema": "public",
736
+ "table": "workspace_checkpoints"
737
+ },
738
+ {
739
+ "type": "timestamp with time zone",
740
+ "typeSchema": null,
741
+ "notNull": true,
742
+ "dimensions": 0,
743
+ "default": null,
744
+ "generated": null,
745
+ "identity": null,
746
+ "name": "created_at",
747
+ "entityType": "columns",
748
+ "schema": "public",
749
+ "table": "workspace_checkpoints"
750
+ },
751
+ {
752
+ "type": "timestamp with time zone",
753
+ "typeSchema": null,
754
+ "notNull": true,
755
+ "dimensions": 0,
756
+ "default": null,
757
+ "generated": null,
758
+ "identity": null,
759
+ "name": "updated_at",
760
+ "entityType": "columns",
761
+ "schema": "public",
762
+ "table": "workspace_checkpoints"
763
+ },
764
+ {
765
+ "type": "timestamp with time zone",
766
+ "typeSchema": null,
767
+ "notNull": false,
768
+ "dimensions": 0,
769
+ "default": null,
770
+ "generated": null,
771
+ "identity": null,
772
+ "name": "ready_at",
773
+ "entityType": "columns",
774
+ "schema": "public",
775
+ "table": "workspace_checkpoints"
776
+ },
777
+ {
778
+ "type": "timestamp with time zone",
779
+ "typeSchema": null,
780
+ "notNull": false,
781
+ "dimensions": 0,
782
+ "default": null,
783
+ "generated": null,
784
+ "identity": null,
785
+ "name": "expires_at",
786
+ "entityType": "columns",
787
+ "schema": "public",
788
+ "table": "workspace_checkpoints"
789
+ },
790
+ {
791
+ "type": "timestamp with time zone",
792
+ "typeSchema": null,
793
+ "notNull": false,
794
+ "dimensions": 0,
795
+ "default": null,
796
+ "generated": null,
797
+ "identity": null,
798
+ "name": "deleted_at",
799
+ "entityType": "columns",
800
+ "schema": "public",
801
+ "table": "workspace_checkpoints"
802
+ },
803
+ {
804
+ "type": "uuid",
805
+ "typeSchema": null,
806
+ "notNull": true,
807
+ "dimensions": 0,
808
+ "default": null,
809
+ "generated": null,
810
+ "identity": null,
811
+ "name": "workspace_id",
812
+ "entityType": "columns",
813
+ "schema": "public",
814
+ "table": "workspace_logs"
815
+ },
816
+ {
817
+ "type": "bigint",
818
+ "typeSchema": null,
819
+ "notNull": true,
820
+ "dimensions": 0,
821
+ "default": null,
822
+ "generated": null,
823
+ "identity": null,
824
+ "name": "seq",
825
+ "entityType": "columns",
826
+ "schema": "public",
827
+ "table": "workspace_logs"
828
+ },
829
+ {
830
+ "type": "text",
831
+ "typeSchema": null,
832
+ "notNull": true,
833
+ "dimensions": 0,
834
+ "default": null,
835
+ "generated": null,
836
+ "identity": null,
837
+ "name": "stream",
838
+ "entityType": "columns",
839
+ "schema": "public",
840
+ "table": "workspace_logs"
841
+ },
842
+ {
843
+ "type": "timestamp with time zone",
844
+ "typeSchema": null,
845
+ "notNull": true,
846
+ "dimensions": 0,
847
+ "default": null,
848
+ "generated": null,
849
+ "identity": null,
850
+ "name": "occurred_at",
851
+ "entityType": "columns",
852
+ "schema": "public",
853
+ "table": "workspace_logs"
854
+ },
855
+ {
856
+ "type": "bytea",
857
+ "typeSchema": null,
858
+ "notNull": true,
859
+ "dimensions": 0,
860
+ "default": null,
861
+ "generated": null,
862
+ "identity": null,
863
+ "name": "content",
864
+ "entityType": "columns",
865
+ "schema": "public",
866
+ "table": "workspace_logs"
867
+ },
868
+ {
869
+ "type": "uuid",
870
+ "typeSchema": null,
871
+ "notNull": true,
872
+ "dimensions": 0,
873
+ "default": null,
874
+ "generated": null,
875
+ "identity": null,
876
+ "name": "id",
877
+ "entityType": "columns",
878
+ "schema": "public",
879
+ "table": "workspace_operations"
880
+ },
881
+ {
882
+ "type": "uuid",
883
+ "typeSchema": null,
884
+ "notNull": true,
885
+ "dimensions": 0,
886
+ "default": null,
887
+ "generated": null,
888
+ "identity": null,
889
+ "name": "principal_id",
890
+ "entityType": "columns",
891
+ "schema": "public",
892
+ "table": "workspace_operations"
893
+ },
894
+ {
895
+ "type": "text",
896
+ "typeSchema": null,
897
+ "notNull": true,
898
+ "dimensions": 0,
899
+ "default": null,
900
+ "generated": null,
901
+ "identity": null,
902
+ "name": "kind",
903
+ "entityType": "columns",
904
+ "schema": "public",
905
+ "table": "workspace_operations"
906
+ },
907
+ {
908
+ "type": "text",
909
+ "typeSchema": null,
910
+ "notNull": true,
911
+ "dimensions": 0,
912
+ "default": null,
913
+ "generated": null,
914
+ "identity": null,
915
+ "name": "state",
916
+ "entityType": "columns",
917
+ "schema": "public",
918
+ "table": "workspace_operations"
919
+ },
920
+ {
921
+ "type": "text",
922
+ "typeSchema": null,
923
+ "notNull": true,
924
+ "dimensions": 0,
925
+ "default": null,
926
+ "generated": null,
927
+ "identity": null,
928
+ "name": "idempotency_key",
929
+ "entityType": "columns",
930
+ "schema": "public",
931
+ "table": "workspace_operations"
932
+ },
933
+ {
934
+ "type": "text",
935
+ "typeSchema": null,
936
+ "notNull": true,
937
+ "dimensions": 0,
938
+ "default": null,
939
+ "generated": null,
940
+ "identity": null,
941
+ "name": "request_digest",
942
+ "entityType": "columns",
943
+ "schema": "public",
944
+ "table": "workspace_operations"
945
+ },
946
+ {
947
+ "type": "uuid",
948
+ "typeSchema": null,
949
+ "notNull": false,
950
+ "dimensions": 0,
951
+ "default": null,
952
+ "generated": null,
953
+ "identity": null,
954
+ "name": "workspace_id",
955
+ "entityType": "columns",
956
+ "schema": "public",
957
+ "table": "workspace_operations"
958
+ },
959
+ {
960
+ "type": "uuid",
961
+ "typeSchema": null,
962
+ "notNull": false,
963
+ "dimensions": 0,
964
+ "default": null,
965
+ "generated": null,
966
+ "identity": null,
967
+ "name": "checkpoint_id",
968
+ "entityType": "columns",
969
+ "schema": "public",
970
+ "table": "workspace_operations"
971
+ },
972
+ {
973
+ "type": "uuid",
974
+ "typeSchema": null,
975
+ "notNull": false,
976
+ "dimensions": 0,
977
+ "default": null,
978
+ "generated": null,
979
+ "identity": null,
980
+ "name": "result_workspace_id",
981
+ "entityType": "columns",
982
+ "schema": "public",
983
+ "table": "workspace_operations"
984
+ },
985
+ {
986
+ "type": "text",
987
+ "typeSchema": null,
988
+ "notNull": false,
989
+ "dimensions": 0,
990
+ "default": null,
991
+ "generated": null,
992
+ "identity": null,
993
+ "name": "reason_code",
994
+ "entityType": "columns",
995
+ "schema": "public",
996
+ "table": "workspace_operations"
997
+ },
998
+ {
999
+ "type": "integer",
1000
+ "typeSchema": null,
1001
+ "notNull": true,
1002
+ "dimensions": 0,
1003
+ "default": "0",
1004
+ "generated": null,
1005
+ "identity": null,
1006
+ "name": "attempt_count",
1007
+ "entityType": "columns",
1008
+ "schema": "public",
1009
+ "table": "workspace_operations"
1010
+ },
1011
+ {
1012
+ "type": "timestamp with time zone",
1013
+ "typeSchema": null,
1014
+ "notNull": true,
1015
+ "dimensions": 0,
1016
+ "default": null,
1017
+ "generated": null,
1018
+ "identity": null,
1019
+ "name": "created_at",
1020
+ "entityType": "columns",
1021
+ "schema": "public",
1022
+ "table": "workspace_operations"
1023
+ },
1024
+ {
1025
+ "type": "timestamp with time zone",
1026
+ "typeSchema": null,
1027
+ "notNull": true,
1028
+ "dimensions": 0,
1029
+ "default": null,
1030
+ "generated": null,
1031
+ "identity": null,
1032
+ "name": "updated_at",
1033
+ "entityType": "columns",
1034
+ "schema": "public",
1035
+ "table": "workspace_operations"
1036
+ },
1037
+ {
1038
+ "type": "timestamp with time zone",
1039
+ "typeSchema": null,
1040
+ "notNull": false,
1041
+ "dimensions": 0,
1042
+ "default": null,
1043
+ "generated": null,
1044
+ "identity": null,
1045
+ "name": "completed_at",
1046
+ "entityType": "columns",
1047
+ "schema": "public",
1048
+ "table": "workspace_operations"
1049
+ },
1050
+ {
1051
+ "type": "uuid",
1052
+ "typeSchema": null,
1053
+ "notNull": true,
1054
+ "dimensions": 0,
1055
+ "default": null,
1056
+ "generated": null,
1057
+ "identity": null,
1058
+ "name": "workspace_id",
1059
+ "entityType": "columns",
1060
+ "schema": "public",
1061
+ "table": "workspace_outputs"
1062
+ },
1063
+ {
1064
+ "type": "bigint",
1065
+ "typeSchema": null,
1066
+ "notNull": true,
1067
+ "dimensions": 0,
1068
+ "default": null,
1069
+ "generated": null,
1070
+ "identity": null,
1071
+ "name": "seq",
1072
+ "entityType": "columns",
1073
+ "schema": "public",
1074
+ "table": "workspace_outputs"
1075
+ },
1076
+ {
1077
+ "type": "text",
1078
+ "typeSchema": null,
1079
+ "notNull": true,
1080
+ "dimensions": 0,
1081
+ "default": null,
1082
+ "generated": null,
1083
+ "identity": null,
1084
+ "name": "name",
1085
+ "entityType": "columns",
1086
+ "schema": "public",
1087
+ "table": "workspace_outputs"
1088
+ },
1089
+ {
1090
+ "type": "jsonb",
1091
+ "typeSchema": null,
1092
+ "notNull": true,
1093
+ "dimensions": 0,
1094
+ "default": null,
1095
+ "generated": null,
1096
+ "identity": null,
1097
+ "name": "value",
1098
+ "entityType": "columns",
1099
+ "schema": "public",
1100
+ "table": "workspace_outputs"
1101
+ },
1102
+ {
1103
+ "type": "timestamp with time zone",
1104
+ "typeSchema": null,
1105
+ "notNull": true,
1106
+ "dimensions": 0,
1107
+ "default": null,
1108
+ "generated": null,
1109
+ "identity": null,
1110
+ "name": "occurred_at",
1111
+ "entityType": "columns",
1112
+ "schema": "public",
1113
+ "table": "workspace_outputs"
1114
+ },
1115
+ {
1116
+ "type": "uuid",
1117
+ "typeSchema": null,
1118
+ "notNull": true,
1119
+ "dimensions": 0,
1120
+ "default": null,
1121
+ "generated": null,
1122
+ "identity": null,
1123
+ "name": "id",
1124
+ "entityType": "columns",
1125
+ "schema": "public",
1126
+ "table": "workspace_state_history"
1127
+ },
1128
+ {
1129
+ "type": "uuid",
1130
+ "typeSchema": null,
1131
+ "notNull": true,
1132
+ "dimensions": 0,
1133
+ "default": null,
1134
+ "generated": null,
1135
+ "identity": null,
1136
+ "name": "workspace_id",
1137
+ "entityType": "columns",
1138
+ "schema": "public",
1139
+ "table": "workspace_state_history"
1140
+ },
1141
+ {
1142
+ "type": "text",
1143
+ "typeSchema": null,
1144
+ "notNull": false,
1145
+ "dimensions": 0,
1146
+ "default": null,
1147
+ "generated": null,
1148
+ "identity": null,
1149
+ "name": "from_state",
1150
+ "entityType": "columns",
1151
+ "schema": "public",
1152
+ "table": "workspace_state_history"
1153
+ },
1154
+ {
1155
+ "type": "text",
1156
+ "typeSchema": null,
1157
+ "notNull": true,
1158
+ "dimensions": 0,
1159
+ "default": null,
1160
+ "generated": null,
1161
+ "identity": null,
1162
+ "name": "to_state",
1163
+ "entityType": "columns",
1164
+ "schema": "public",
1165
+ "table": "workspace_state_history"
1166
+ },
1167
+ {
1168
+ "type": "text",
1169
+ "typeSchema": null,
1170
+ "notNull": false,
1171
+ "dimensions": 0,
1172
+ "default": null,
1173
+ "generated": null,
1174
+ "identity": null,
1175
+ "name": "reason_code",
1176
+ "entityType": "columns",
1177
+ "schema": "public",
1178
+ "table": "workspace_state_history"
1179
+ },
1180
+ {
1181
+ "type": "timestamp with time zone",
1182
+ "typeSchema": null,
1183
+ "notNull": true,
1184
+ "dimensions": 0,
1185
+ "default": null,
1186
+ "generated": null,
1187
+ "identity": null,
1188
+ "name": "occurred_at",
1189
+ "entityType": "columns",
1190
+ "schema": "public",
1191
+ "table": "workspace_state_history"
1192
+ },
1193
+ {
1194
+ "type": "uuid",
1195
+ "typeSchema": null,
1196
+ "notNull": true,
1197
+ "dimensions": 0,
1198
+ "default": null,
1199
+ "generated": null,
1200
+ "identity": null,
1201
+ "name": "id",
1202
+ "entityType": "columns",
1203
+ "schema": "public",
1204
+ "table": "workspace_storage"
1205
+ },
1206
+ {
1207
+ "type": "uuid",
1208
+ "typeSchema": null,
1209
+ "notNull": true,
1210
+ "dimensions": 0,
1211
+ "default": null,
1212
+ "generated": null,
1213
+ "identity": null,
1214
+ "name": "workspace_id",
1215
+ "entityType": "columns",
1216
+ "schema": "public",
1217
+ "table": "workspace_storage"
1218
+ },
1219
+ {
1220
+ "type": "uuid",
1221
+ "typeSchema": null,
1222
+ "notNull": true,
1223
+ "dimensions": 0,
1224
+ "default": null,
1225
+ "generated": null,
1226
+ "identity": null,
1227
+ "name": "principal_id",
1228
+ "entityType": "columns",
1229
+ "schema": "public",
1230
+ "table": "workspace_storage"
1231
+ },
1232
+ {
1233
+ "type": "text",
1234
+ "typeSchema": null,
1235
+ "notNull": true,
1236
+ "dimensions": 0,
1237
+ "default": null,
1238
+ "generated": null,
1239
+ "identity": null,
1240
+ "name": "provider_kind",
1241
+ "entityType": "columns",
1242
+ "schema": "public",
1243
+ "table": "workspace_storage"
1244
+ },
1245
+ {
1246
+ "type": "jsonb",
1247
+ "typeSchema": null,
1248
+ "notNull": true,
1249
+ "dimensions": 0,
1250
+ "default": null,
1251
+ "generated": null,
1252
+ "identity": null,
1253
+ "name": "provider_ref",
1254
+ "entityType": "columns",
1255
+ "schema": "public",
1256
+ "table": "workspace_storage"
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "typeSchema": null,
1261
+ "notNull": true,
1262
+ "dimensions": 0,
1263
+ "default": null,
1264
+ "generated": null,
1265
+ "identity": null,
1266
+ "name": "state",
1267
+ "entityType": "columns",
1268
+ "schema": "public",
1269
+ "table": "workspace_storage"
1270
+ },
1271
+ {
1272
+ "type": "jsonb",
1273
+ "typeSchema": null,
1274
+ "notNull": true,
1275
+ "dimensions": 0,
1276
+ "default": null,
1277
+ "generated": null,
1278
+ "identity": null,
1279
+ "name": "mount_manifest",
1280
+ "entityType": "columns",
1281
+ "schema": "public",
1282
+ "table": "workspace_storage"
1283
+ },
1284
+ {
1285
+ "type": "bigint",
1286
+ "typeSchema": null,
1287
+ "notNull": false,
1288
+ "dimensions": 0,
1289
+ "default": null,
1290
+ "generated": null,
1291
+ "identity": null,
1292
+ "name": "logical_bytes",
1293
+ "entityType": "columns",
1294
+ "schema": "public",
1295
+ "table": "workspace_storage"
1296
+ },
1297
+ {
1298
+ "type": "bigint",
1299
+ "typeSchema": null,
1300
+ "notNull": false,
1301
+ "dimensions": 0,
1302
+ "default": null,
1303
+ "generated": null,
1304
+ "identity": null,
1305
+ "name": "file_count",
1306
+ "entityType": "columns",
1307
+ "schema": "public",
1308
+ "table": "workspace_storage"
1309
+ },
1310
+ {
1311
+ "type": "timestamp with time zone",
1312
+ "typeSchema": null,
1313
+ "notNull": false,
1314
+ "dimensions": 0,
1315
+ "default": null,
1316
+ "generated": null,
1317
+ "identity": null,
1318
+ "name": "retained_until",
1319
+ "entityType": "columns",
1320
+ "schema": "public",
1321
+ "table": "workspace_storage"
1322
+ },
1323
+ {
1324
+ "type": "timestamp with time zone",
1325
+ "typeSchema": null,
1326
+ "notNull": true,
1327
+ "dimensions": 0,
1328
+ "default": null,
1329
+ "generated": null,
1330
+ "identity": null,
1331
+ "name": "created_at",
1332
+ "entityType": "columns",
1333
+ "schema": "public",
1334
+ "table": "workspace_storage"
1335
+ },
1336
+ {
1337
+ "type": "timestamp with time zone",
1338
+ "typeSchema": null,
1339
+ "notNull": true,
1340
+ "dimensions": 0,
1341
+ "default": null,
1342
+ "generated": null,
1343
+ "identity": null,
1344
+ "name": "updated_at",
1345
+ "entityType": "columns",
1346
+ "schema": "public",
1347
+ "table": "workspace_storage"
1348
+ },
1349
+ {
1350
+ "type": "timestamp with time zone",
1351
+ "typeSchema": null,
1352
+ "notNull": false,
1353
+ "dimensions": 0,
1354
+ "default": null,
1355
+ "generated": null,
1356
+ "identity": null,
1357
+ "name": "deleted_at",
1358
+ "entityType": "columns",
1359
+ "schema": "public",
1360
+ "table": "workspace_storage"
1361
+ },
1362
+ {
1363
+ "type": "text",
1364
+ "typeSchema": null,
1365
+ "notNull": false,
1366
+ "dimensions": 0,
1367
+ "default": null,
1368
+ "generated": null,
1369
+ "identity": null,
1370
+ "name": "last_error_code",
1371
+ "entityType": "columns",
1372
+ "schema": "public",
1373
+ "table": "workspace_storage"
1374
+ },
1375
+ {
1376
+ "type": "uuid",
1377
+ "typeSchema": null,
1378
+ "notNull": true,
1379
+ "dimensions": 0,
1380
+ "default": null,
1381
+ "generated": null,
1382
+ "identity": null,
1383
+ "name": "id",
1384
+ "entityType": "columns",
1385
+ "schema": "public",
1386
+ "table": "workspaces"
1387
+ },
1388
+ {
1389
+ "type": "uuid",
1390
+ "typeSchema": null,
1391
+ "notNull": true,
1392
+ "dimensions": 0,
1393
+ "default": null,
1394
+ "generated": null,
1395
+ "identity": null,
1396
+ "name": "principal_id",
1397
+ "entityType": "columns",
1398
+ "schema": "public",
1399
+ "table": "workspaces"
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "typeSchema": null,
1404
+ "notNull": true,
1405
+ "dimensions": 0,
1406
+ "default": null,
1407
+ "generated": null,
1408
+ "identity": null,
1409
+ "name": "external_id",
1410
+ "entityType": "columns",
1411
+ "schema": "public",
1412
+ "table": "workspaces"
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "typeSchema": null,
1417
+ "notNull": true,
1418
+ "dimensions": 0,
1419
+ "default": null,
1420
+ "generated": null,
1421
+ "identity": null,
1422
+ "name": "idempotency_key",
1423
+ "entityType": "columns",
1424
+ "schema": "public",
1425
+ "table": "workspaces"
1426
+ },
1427
+ {
1428
+ "type": "text",
1429
+ "typeSchema": null,
1430
+ "notNull": true,
1431
+ "dimensions": 0,
1432
+ "default": null,
1433
+ "generated": null,
1434
+ "identity": null,
1435
+ "name": "request_digest",
1436
+ "entityType": "columns",
1437
+ "schema": "public",
1438
+ "table": "workspaces"
1439
+ },
1440
+ {
1441
+ "type": "uuid",
1442
+ "typeSchema": null,
1443
+ "notNull": true,
1444
+ "dimensions": 0,
1445
+ "default": null,
1446
+ "generated": null,
1447
+ "identity": null,
1448
+ "name": "template_id",
1449
+ "entityType": "columns",
1450
+ "schema": "public",
1451
+ "table": "workspaces"
1452
+ },
1453
+ {
1454
+ "type": "text",
1455
+ "typeSchema": null,
1456
+ "notNull": true,
1457
+ "dimensions": 0,
1458
+ "default": null,
1459
+ "generated": null,
1460
+ "identity": null,
1461
+ "name": "template_name",
1462
+ "entityType": "columns",
1463
+ "schema": "public",
1464
+ "table": "workspaces"
1465
+ },
1466
+ {
1467
+ "type": "text",
1468
+ "typeSchema": null,
1469
+ "notNull": true,
1470
+ "dimensions": 0,
1471
+ "default": null,
1472
+ "generated": null,
1473
+ "identity": null,
1474
+ "name": "template_version",
1475
+ "entityType": "columns",
1476
+ "schema": "public",
1477
+ "table": "workspaces"
1478
+ },
1479
+ {
1480
+ "type": "text",
1481
+ "typeSchema": null,
1482
+ "notNull": true,
1483
+ "dimensions": 0,
1484
+ "default": null,
1485
+ "generated": null,
1486
+ "identity": null,
1487
+ "name": "template_digest",
1488
+ "entityType": "columns",
1489
+ "schema": "public",
1490
+ "table": "workspaces"
1491
+ },
1492
+ {
1493
+ "type": "jsonb",
1494
+ "typeSchema": null,
1495
+ "notNull": true,
1496
+ "dimensions": 0,
1497
+ "default": null,
1498
+ "generated": null,
1499
+ "identity": null,
1500
+ "name": "template_snapshot",
1501
+ "entityType": "columns",
1502
+ "schema": "public",
1503
+ "table": "workspaces"
1504
+ },
1505
+ {
1506
+ "type": "text",
1507
+ "typeSchema": null,
1508
+ "notNull": true,
1509
+ "dimensions": 0,
1510
+ "default": null,
1511
+ "generated": null,
1512
+ "identity": null,
1513
+ "name": "state",
1514
+ "entityType": "columns",
1515
+ "schema": "public",
1516
+ "table": "workspaces"
1517
+ },
1518
+ {
1519
+ "type": "text",
1520
+ "typeSchema": null,
1521
+ "notNull": false,
1522
+ "dimensions": 0,
1523
+ "default": null,
1524
+ "generated": null,
1525
+ "identity": null,
1526
+ "name": "reason_code",
1527
+ "entityType": "columns",
1528
+ "schema": "public",
1529
+ "table": "workspaces"
1530
+ },
1531
+ {
1532
+ "type": "text",
1533
+ "typeSchema": null,
1534
+ "notNull": false,
1535
+ "dimensions": 0,
1536
+ "default": null,
1537
+ "generated": null,
1538
+ "identity": null,
1539
+ "name": "terminal_intent",
1540
+ "entityType": "columns",
1541
+ "schema": "public",
1542
+ "table": "workspaces"
1543
+ },
1544
+ {
1545
+ "type": "jsonb",
1546
+ "typeSchema": null,
1547
+ "notNull": false,
1548
+ "dimensions": 0,
1549
+ "default": null,
1550
+ "generated": null,
1551
+ "identity": null,
1552
+ "name": "launch_input",
1553
+ "entityType": "columns",
1554
+ "schema": "public",
1555
+ "table": "workspaces"
1556
+ },
1557
+ {
1558
+ "type": "text",
1559
+ "typeSchema": null,
1560
+ "notNull": false,
1561
+ "dimensions": 0,
1562
+ "default": null,
1563
+ "generated": null,
1564
+ "identity": null,
1565
+ "name": "provider_kind",
1566
+ "entityType": "columns",
1567
+ "schema": "public",
1568
+ "table": "workspaces"
1569
+ },
1570
+ {
1571
+ "type": "jsonb",
1572
+ "typeSchema": null,
1573
+ "notNull": false,
1574
+ "dimensions": 0,
1575
+ "default": null,
1576
+ "generated": null,
1577
+ "identity": null,
1578
+ "name": "provider_ref",
1579
+ "entityType": "columns",
1580
+ "schema": "public",
1581
+ "table": "workspaces"
1582
+ },
1583
+ {
1584
+ "type": "bytea",
1585
+ "typeSchema": null,
1586
+ "notNull": false,
1587
+ "dimensions": 0,
1588
+ "default": null,
1589
+ "generated": null,
1590
+ "identity": null,
1591
+ "name": "registration_digest",
1592
+ "entityType": "columns",
1593
+ "schema": "public",
1594
+ "table": "workspaces"
1595
+ },
1596
+ {
1597
+ "type": "timestamp with time zone",
1598
+ "typeSchema": null,
1599
+ "notNull": false,
1600
+ "dimensions": 0,
1601
+ "default": null,
1602
+ "generated": null,
1603
+ "identity": null,
1604
+ "name": "registration_expires_at",
1605
+ "entityType": "columns",
1606
+ "schema": "public",
1607
+ "table": "workspaces"
1608
+ },
1609
+ {
1610
+ "type": "bytea",
1611
+ "typeSchema": null,
1612
+ "notNull": false,
1613
+ "dimensions": 0,
1614
+ "default": null,
1615
+ "generated": null,
1616
+ "identity": null,
1617
+ "name": "reconnect_digest",
1618
+ "entityType": "columns",
1619
+ "schema": "public",
1620
+ "table": "workspaces"
1621
+ },
1622
+ {
1623
+ "type": "integer",
1624
+ "typeSchema": null,
1625
+ "notNull": true,
1626
+ "dimensions": 0,
1627
+ "default": "0",
1628
+ "generated": null,
1629
+ "identity": null,
1630
+ "name": "connection_epoch",
1631
+ "entityType": "columns",
1632
+ "schema": "public",
1633
+ "table": "workspaces"
1634
+ },
1635
+ {
1636
+ "type": "timestamp with time zone",
1637
+ "typeSchema": null,
1638
+ "notNull": false,
1639
+ "dimensions": 0,
1640
+ "default": null,
1641
+ "generated": null,
1642
+ "identity": null,
1643
+ "name": "connected_at",
1644
+ "entityType": "columns",
1645
+ "schema": "public",
1646
+ "table": "workspaces"
1647
+ },
1648
+ {
1649
+ "type": "timestamp with time zone",
1650
+ "typeSchema": null,
1651
+ "notNull": false,
1652
+ "dimensions": 0,
1653
+ "default": null,
1654
+ "generated": null,
1655
+ "identity": null,
1656
+ "name": "disconnected_at",
1657
+ "entityType": "columns",
1658
+ "schema": "public",
1659
+ "table": "workspaces"
1660
+ },
1661
+ {
1662
+ "type": "timestamp with time zone",
1663
+ "typeSchema": null,
1664
+ "notNull": false,
1665
+ "dimensions": 0,
1666
+ "default": null,
1667
+ "generated": null,
1668
+ "identity": null,
1669
+ "name": "ready_at",
1670
+ "entityType": "columns",
1671
+ "schema": "public",
1672
+ "table": "workspaces"
1673
+ },
1674
+ {
1675
+ "type": "timestamp with time zone",
1676
+ "typeSchema": null,
1677
+ "notNull": false,
1678
+ "dimensions": 0,
1679
+ "default": null,
1680
+ "generated": null,
1681
+ "identity": null,
1682
+ "name": "last_activity_at",
1683
+ "entityType": "columns",
1684
+ "schema": "public",
1685
+ "table": "workspaces"
1686
+ },
1687
+ {
1688
+ "type": "integer",
1689
+ "typeSchema": null,
1690
+ "notNull": true,
1691
+ "dimensions": 0,
1692
+ "default": "0",
1693
+ "generated": null,
1694
+ "identity": null,
1695
+ "name": "launch_attempts",
1696
+ "entityType": "columns",
1697
+ "schema": "public",
1698
+ "table": "workspaces"
1699
+ },
1700
+ {
1701
+ "type": "jsonb",
1702
+ "typeSchema": null,
1703
+ "notNull": true,
1704
+ "dimensions": 0,
1705
+ "default": "'{}'",
1706
+ "generated": null,
1707
+ "identity": null,
1708
+ "name": "health",
1709
+ "entityType": "columns",
1710
+ "schema": "public",
1711
+ "table": "workspaces"
1712
+ },
1713
+ {
1714
+ "type": "jsonb",
1715
+ "typeSchema": null,
1716
+ "notNull": true,
1717
+ "dimensions": 0,
1718
+ "default": "'{}'",
1719
+ "generated": null,
1720
+ "identity": null,
1721
+ "name": "metadata",
1722
+ "entityType": "columns",
1723
+ "schema": "public",
1724
+ "table": "workspaces"
1725
+ },
1726
+ {
1727
+ "type": "timestamp with time zone",
1728
+ "typeSchema": null,
1729
+ "notNull": true,
1730
+ "dimensions": 0,
1731
+ "default": null,
1732
+ "generated": null,
1733
+ "identity": null,
1734
+ "name": "deadline_at",
1735
+ "entityType": "columns",
1736
+ "schema": "public",
1737
+ "table": "workspaces"
1738
+ },
1739
+ {
1740
+ "type": "timestamp with time zone",
1741
+ "typeSchema": null,
1742
+ "notNull": true,
1743
+ "dimensions": 0,
1744
+ "default": null,
1745
+ "generated": null,
1746
+ "identity": null,
1747
+ "name": "created_at",
1748
+ "entityType": "columns",
1749
+ "schema": "public",
1750
+ "table": "workspaces"
1751
+ },
1752
+ {
1753
+ "type": "timestamp with time zone",
1754
+ "typeSchema": null,
1755
+ "notNull": true,
1756
+ "dimensions": 0,
1757
+ "default": null,
1758
+ "generated": null,
1759
+ "identity": null,
1760
+ "name": "updated_at",
1761
+ "entityType": "columns",
1762
+ "schema": "public",
1763
+ "table": "workspaces"
1764
+ },
1765
+ {
1766
+ "type": "timestamp with time zone",
1767
+ "typeSchema": null,
1768
+ "notNull": false,
1769
+ "dimensions": 0,
1770
+ "default": null,
1771
+ "generated": null,
1772
+ "identity": null,
1773
+ "name": "terminal_at",
1774
+ "entityType": "columns",
1775
+ "schema": "public",
1776
+ "table": "workspaces"
1777
+ },
1778
+ {
1779
+ "type": "uuid",
1780
+ "typeSchema": null,
1781
+ "notNull": false,
1782
+ "dimensions": 0,
1783
+ "default": null,
1784
+ "generated": null,
1785
+ "identity": null,
1786
+ "name": "origin_workspace_id",
1787
+ "entityType": "columns",
1788
+ "schema": "public",
1789
+ "table": "workspaces"
1790
+ },
1791
+ {
1792
+ "type": "uuid",
1793
+ "typeSchema": null,
1794
+ "notNull": false,
1795
+ "dimensions": 0,
1796
+ "default": null,
1797
+ "generated": null,
1798
+ "identity": null,
1799
+ "name": "restored_from_checkpoint_id",
1800
+ "entityType": "columns",
1801
+ "schema": "public",
1802
+ "table": "workspaces"
1803
+ },
1804
+ {
1805
+ "type": "jsonb",
1806
+ "typeSchema": null,
1807
+ "notNull": false,
1808
+ "dimensions": 0,
1809
+ "default": null,
1810
+ "generated": null,
1811
+ "identity": null,
1812
+ "name": "source_descriptor",
1813
+ "entityType": "columns",
1814
+ "schema": "public",
1815
+ "table": "workspaces"
1816
+ },
1817
+ {
1818
+ "type": "jsonb",
1819
+ "typeSchema": null,
1820
+ "notNull": false,
1821
+ "dimensions": 0,
1822
+ "default": null,
1823
+ "generated": null,
1824
+ "identity": null,
1825
+ "name": "resolved_source",
1826
+ "entityType": "columns",
1827
+ "schema": "public",
1828
+ "table": "workspaces"
1829
+ },
1830
+ {
1831
+ "type": "text",
1832
+ "typeSchema": null,
1833
+ "notNull": true,
1834
+ "dimensions": 0,
1835
+ "default": "'filesystem_only'",
1836
+ "generated": null,
1837
+ "identity": null,
1838
+ "name": "persistence_capability",
1839
+ "entityType": "columns",
1840
+ "schema": "public",
1841
+ "table": "workspaces"
1842
+ },
1843
+ {
1844
+ "type": "uuid",
1845
+ "typeSchema": null,
1846
+ "notNull": false,
1847
+ "dimensions": 0,
1848
+ "default": null,
1849
+ "generated": null,
1850
+ "identity": null,
1851
+ "name": "latest_checkpoint_id",
1852
+ "entityType": "columns",
1853
+ "schema": "public",
1854
+ "table": "workspaces"
1855
+ },
1856
+ {
1857
+ "type": "text",
1858
+ "typeSchema": null,
1859
+ "notNull": true,
1860
+ "dimensions": 0,
1861
+ "default": "'create'",
1862
+ "generated": null,
1863
+ "identity": null,
1864
+ "name": "launch_mode",
1865
+ "entityType": "columns",
1866
+ "schema": "public",
1867
+ "table": "workspaces"
1868
+ },
1869
+ {
1870
+ "type": "jsonb",
1871
+ "typeSchema": null,
1872
+ "notNull": true,
1873
+ "dimensions": 0,
1874
+ "default": "'{}'",
1875
+ "generated": null,
1876
+ "identity": null,
1877
+ "name": "outputs",
1878
+ "entityType": "columns",
1879
+ "schema": "public",
1880
+ "table": "workspaces"
1881
+ },
1882
+ {
1883
+ "nameExplicit": true,
1884
+ "columns": [
1885
+ {
1886
+ "value": "next_attempt_at",
1887
+ "isExpression": false,
1888
+ "asc": true,
1889
+ "nullsFirst": false,
1890
+ "opclass": null
1891
+ }
1892
+ ],
1893
+ "isUnique": false,
1894
+ "where": "\"delivered_at\" IS NULL",
1895
+ "with": "",
1896
+ "method": "btree",
1897
+ "concurrently": false,
1898
+ "name": "event_outbox_due",
1899
+ "entityType": "indexes",
1900
+ "schema": "public",
1901
+ "table": "event_outbox"
1902
+ },
1903
+ {
1904
+ "nameExplicit": true,
1905
+ "columns": [
1906
+ {
1907
+ "value": "principal_id",
1908
+ "isExpression": false,
1909
+ "asc": true,
1910
+ "nullsFirst": false,
1911
+ "opclass": null
1912
+ },
1913
+ {
1914
+ "value": "state",
1915
+ "isExpression": false,
1916
+ "asc": true,
1917
+ "nullsFirst": false,
1918
+ "opclass": null
1919
+ },
1920
+ {
1921
+ "value": "created_at",
1922
+ "isExpression": false,
1923
+ "asc": true,
1924
+ "nullsFirst": false,
1925
+ "opclass": null
1926
+ }
1927
+ ],
1928
+ "isUnique": false,
1929
+ "where": null,
1930
+ "with": "",
1931
+ "method": "btree",
1932
+ "concurrently": false,
1933
+ "name": "workspace_checkpoints_principal_state",
1934
+ "entityType": "indexes",
1935
+ "schema": "public",
1936
+ "table": "workspace_checkpoints"
1937
+ },
1938
+ {
1939
+ "nameExplicit": true,
1940
+ "columns": [
1941
+ {
1942
+ "value": "state",
1943
+ "isExpression": false,
1944
+ "asc": true,
1945
+ "nullsFirst": false,
1946
+ "opclass": null
1947
+ },
1948
+ {
1949
+ "value": "expires_at",
1950
+ "isExpression": false,
1951
+ "asc": true,
1952
+ "nullsFirst": false,
1953
+ "opclass": null
1954
+ }
1955
+ ],
1956
+ "isUnique": false,
1957
+ "where": null,
1958
+ "with": "",
1959
+ "method": "btree",
1960
+ "concurrently": false,
1961
+ "name": "workspace_checkpoints_gc",
1962
+ "entityType": "indexes",
1963
+ "schema": "public",
1964
+ "table": "workspace_checkpoints"
1965
+ },
1966
+ {
1967
+ "nameExplicit": true,
1968
+ "columns": [
1969
+ {
1970
+ "value": "state",
1971
+ "isExpression": false,
1972
+ "asc": true,
1973
+ "nullsFirst": false,
1974
+ "opclass": null
1975
+ },
1976
+ {
1977
+ "value": "updated_at",
1978
+ "isExpression": false,
1979
+ "asc": true,
1980
+ "nullsFirst": false,
1981
+ "opclass": null
1982
+ }
1983
+ ],
1984
+ "isUnique": false,
1985
+ "where": null,
1986
+ "with": "",
1987
+ "method": "btree",
1988
+ "concurrently": false,
1989
+ "name": "workspace_operations_due",
1990
+ "entityType": "indexes",
1991
+ "schema": "public",
1992
+ "table": "workspace_operations"
1993
+ },
1994
+ {
1995
+ "nameExplicit": true,
1996
+ "columns": [
1997
+ {
1998
+ "value": "workspace_id",
1999
+ "isExpression": false,
2000
+ "asc": true,
2001
+ "nullsFirst": false,
2002
+ "opclass": null
2003
+ },
2004
+ {
2005
+ "value": "occurred_at",
2006
+ "isExpression": false,
2007
+ "asc": true,
2008
+ "nullsFirst": false,
2009
+ "opclass": null
2010
+ }
2011
+ ],
2012
+ "isUnique": false,
2013
+ "where": null,
2014
+ "with": "",
2015
+ "method": "btree",
2016
+ "concurrently": false,
2017
+ "name": "workspace_state_history_ws",
2018
+ "entityType": "indexes",
2019
+ "schema": "public",
2020
+ "table": "workspace_state_history"
2021
+ },
2022
+ {
2023
+ "nameExplicit": true,
2024
+ "columns": [
2025
+ {
2026
+ "value": "workspace_id",
2027
+ "isExpression": false,
2028
+ "asc": true,
2029
+ "nullsFirst": false,
2030
+ "opclass": null
2031
+ }
2032
+ ],
2033
+ "isUnique": true,
2034
+ "where": "\"state\" NOT IN ('deleted', 'lost', 'quarantined')",
2035
+ "with": "",
2036
+ "method": "btree",
2037
+ "concurrently": false,
2038
+ "name": "workspace_storage_one_live",
2039
+ "entityType": "indexes",
2040
+ "schema": "public",
2041
+ "table": "workspace_storage"
2042
+ },
2043
+ {
2044
+ "nameExplicit": true,
2045
+ "columns": [
2046
+ {
2047
+ "value": "state",
2048
+ "isExpression": false,
2049
+ "asc": true,
2050
+ "nullsFirst": false,
2051
+ "opclass": null
2052
+ },
2053
+ {
2054
+ "value": "retained_until",
2055
+ "isExpression": false,
2056
+ "asc": true,
2057
+ "nullsFirst": false,
2058
+ "opclass": null
2059
+ }
2060
+ ],
2061
+ "isUnique": false,
2062
+ "where": null,
2063
+ "with": "",
2064
+ "method": "btree",
2065
+ "concurrently": false,
2066
+ "name": "workspace_storage_gc",
2067
+ "entityType": "indexes",
2068
+ "schema": "public",
2069
+ "table": "workspace_storage"
2070
+ },
2071
+ {
2072
+ "nameExplicit": true,
2073
+ "columns": [
2074
+ {
2075
+ "value": "principal_id",
2076
+ "isExpression": false,
2077
+ "asc": true,
2078
+ "nullsFirst": false,
2079
+ "opclass": null
2080
+ }
2081
+ ],
2082
+ "isUnique": false,
2083
+ "where": null,
2084
+ "with": "",
2085
+ "method": "btree",
2086
+ "concurrently": false,
2087
+ "name": "workspace_storage_principal",
2088
+ "entityType": "indexes",
2089
+ "schema": "public",
2090
+ "table": "workspace_storage"
2091
+ },
2092
+ {
2093
+ "nameExplicit": true,
2094
+ "columns": [
2095
+ {
2096
+ "value": "principal_id",
2097
+ "isExpression": false,
2098
+ "asc": true,
2099
+ "nullsFirst": false,
2100
+ "opclass": null
2101
+ },
2102
+ {
2103
+ "value": "external_id",
2104
+ "isExpression": false,
2105
+ "asc": true,
2106
+ "nullsFirst": false,
2107
+ "opclass": null
2108
+ }
2109
+ ],
2110
+ "isUnique": true,
2111
+ "where": "\"state\" NOT IN ('succeeded', 'failed', 'canceled', 'expired', 'preserved')",
2112
+ "with": "",
2113
+ "method": "btree",
2114
+ "concurrently": false,
2115
+ "name": "workspaces_principal_external_active",
2116
+ "entityType": "indexes",
2117
+ "schema": "public",
2118
+ "table": "workspaces"
2119
+ },
2120
+ {
2121
+ "nameExplicit": true,
2122
+ "columns": [
2123
+ {
2124
+ "value": "state",
2125
+ "isExpression": false,
2126
+ "asc": true,
2127
+ "nullsFirst": false,
2128
+ "opclass": null
2129
+ },
2130
+ {
2131
+ "value": "created_at",
2132
+ "isExpression": false,
2133
+ "asc": true,
2134
+ "nullsFirst": false,
2135
+ "opclass": null
2136
+ }
2137
+ ],
2138
+ "isUnique": false,
2139
+ "where": null,
2140
+ "with": "",
2141
+ "method": "btree",
2142
+ "concurrently": false,
2143
+ "name": "workspaces_state_created",
2144
+ "entityType": "indexes",
2145
+ "schema": "public",
2146
+ "table": "workspaces"
2147
+ },
2148
+ {
2149
+ "nameExplicit": true,
2150
+ "columns": [
2151
+ {
2152
+ "value": "deadline_at",
2153
+ "isExpression": false,
2154
+ "asc": true,
2155
+ "nullsFirst": false,
2156
+ "opclass": null
2157
+ }
2158
+ ],
2159
+ "isUnique": false,
2160
+ "where": "\"state\" NOT IN ('succeeded', 'failed', 'canceled', 'expired', 'preserved')",
2161
+ "with": "",
2162
+ "method": "btree",
2163
+ "concurrently": false,
2164
+ "name": "workspaces_deadline",
2165
+ "entityType": "indexes",
2166
+ "schema": "public",
2167
+ "table": "workspaces"
2168
+ },
2169
+ {
2170
+ "nameExplicit": false,
2171
+ "columns": [
2172
+ "workspace_id"
2173
+ ],
2174
+ "schemaTo": "public",
2175
+ "tableTo": "workspaces",
2176
+ "columnsTo": [
2177
+ "id"
2178
+ ],
2179
+ "onUpdate": "NO ACTION",
2180
+ "onDelete": "NO ACTION",
2181
+ "name": "event_outbox_workspace_id_workspaces_id_fkey",
2182
+ "entityType": "fks",
2183
+ "schema": "public",
2184
+ "table": "event_outbox"
2185
+ },
2186
+ {
2187
+ "nameExplicit": false,
2188
+ "columns": [
2189
+ "principal_id"
2190
+ ],
2191
+ "schemaTo": "public",
2192
+ "tableTo": "principals",
2193
+ "columnsTo": [
2194
+ "id"
2195
+ ],
2196
+ "onUpdate": "NO ACTION",
2197
+ "onDelete": "NO ACTION",
2198
+ "name": "machine_keys_principal_id_principals_id_fkey",
2199
+ "entityType": "fks",
2200
+ "schema": "public",
2201
+ "table": "machine_keys"
2202
+ },
2203
+ {
2204
+ "nameExplicit": false,
2205
+ "columns": [
2206
+ "workspace_id"
2207
+ ],
2208
+ "schemaTo": "public",
2209
+ "tableTo": "workspaces",
2210
+ "columnsTo": [
2211
+ "id"
2212
+ ],
2213
+ "onUpdate": "NO ACTION",
2214
+ "onDelete": "NO ACTION",
2215
+ "name": "workspace_checkpoints_workspace_id_workspaces_id_fkey",
2216
+ "entityType": "fks",
2217
+ "schema": "public",
2218
+ "table": "workspace_checkpoints"
2219
+ },
2220
+ {
2221
+ "nameExplicit": false,
2222
+ "columns": [
2223
+ "principal_id"
2224
+ ],
2225
+ "schemaTo": "public",
2226
+ "tableTo": "principals",
2227
+ "columnsTo": [
2228
+ "id"
2229
+ ],
2230
+ "onUpdate": "NO ACTION",
2231
+ "onDelete": "NO ACTION",
2232
+ "name": "workspace_checkpoints_principal_id_principals_id_fkey",
2233
+ "entityType": "fks",
2234
+ "schema": "public",
2235
+ "table": "workspace_checkpoints"
2236
+ },
2237
+ {
2238
+ "nameExplicit": false,
2239
+ "columns": [
2240
+ "storage_id"
2241
+ ],
2242
+ "schemaTo": "public",
2243
+ "tableTo": "workspace_storage",
2244
+ "columnsTo": [
2245
+ "id"
2246
+ ],
2247
+ "onUpdate": "NO ACTION",
2248
+ "onDelete": "NO ACTION",
2249
+ "name": "workspace_checkpoints_storage_id_workspace_storage_id_fkey",
2250
+ "entityType": "fks",
2251
+ "schema": "public",
2252
+ "table": "workspace_checkpoints"
2253
+ },
2254
+ {
2255
+ "nameExplicit": false,
2256
+ "columns": [
2257
+ "workspace_id"
2258
+ ],
2259
+ "schemaTo": "public",
2260
+ "tableTo": "workspaces",
2261
+ "columnsTo": [
2262
+ "id"
2263
+ ],
2264
+ "onUpdate": "NO ACTION",
2265
+ "onDelete": "NO ACTION",
2266
+ "name": "workspace_logs_workspace_id_workspaces_id_fkey",
2267
+ "entityType": "fks",
2268
+ "schema": "public",
2269
+ "table": "workspace_logs"
2270
+ },
2271
+ {
2272
+ "nameExplicit": false,
2273
+ "columns": [
2274
+ "principal_id"
2275
+ ],
2276
+ "schemaTo": "public",
2277
+ "tableTo": "principals",
2278
+ "columnsTo": [
2279
+ "id"
2280
+ ],
2281
+ "onUpdate": "NO ACTION",
2282
+ "onDelete": "NO ACTION",
2283
+ "name": "workspace_operations_principal_id_principals_id_fkey",
2284
+ "entityType": "fks",
2285
+ "schema": "public",
2286
+ "table": "workspace_operations"
2287
+ },
2288
+ {
2289
+ "nameExplicit": false,
2290
+ "columns": [
2291
+ "workspace_id"
2292
+ ],
2293
+ "schemaTo": "public",
2294
+ "tableTo": "workspaces",
2295
+ "columnsTo": [
2296
+ "id"
2297
+ ],
2298
+ "onUpdate": "NO ACTION",
2299
+ "onDelete": "NO ACTION",
2300
+ "name": "workspace_operations_workspace_id_workspaces_id_fkey",
2301
+ "entityType": "fks",
2302
+ "schema": "public",
2303
+ "table": "workspace_operations"
2304
+ },
2305
+ {
2306
+ "nameExplicit": false,
2307
+ "columns": [
2308
+ "checkpoint_id"
2309
+ ],
2310
+ "schemaTo": "public",
2311
+ "tableTo": "workspace_checkpoints",
2312
+ "columnsTo": [
2313
+ "id"
2314
+ ],
2315
+ "onUpdate": "NO ACTION",
2316
+ "onDelete": "NO ACTION",
2317
+ "name": "workspace_operations_fBJ1lkBRI011_fkey",
2318
+ "entityType": "fks",
2319
+ "schema": "public",
2320
+ "table": "workspace_operations"
2321
+ },
2322
+ {
2323
+ "nameExplicit": false,
2324
+ "columns": [
2325
+ "result_workspace_id"
2326
+ ],
2327
+ "schemaTo": "public",
2328
+ "tableTo": "workspaces",
2329
+ "columnsTo": [
2330
+ "id"
2331
+ ],
2332
+ "onUpdate": "NO ACTION",
2333
+ "onDelete": "NO ACTION",
2334
+ "name": "workspace_operations_result_workspace_id_workspaces_id_fkey",
2335
+ "entityType": "fks",
2336
+ "schema": "public",
2337
+ "table": "workspace_operations"
2338
+ },
2339
+ {
2340
+ "nameExplicit": false,
2341
+ "columns": [
2342
+ "workspace_id"
2343
+ ],
2344
+ "schemaTo": "public",
2345
+ "tableTo": "workspaces",
2346
+ "columnsTo": [
2347
+ "id"
2348
+ ],
2349
+ "onUpdate": "NO ACTION",
2350
+ "onDelete": "NO ACTION",
2351
+ "name": "workspace_outputs_workspace_id_workspaces_id_fkey",
2352
+ "entityType": "fks",
2353
+ "schema": "public",
2354
+ "table": "workspace_outputs"
2355
+ },
2356
+ {
2357
+ "nameExplicit": false,
2358
+ "columns": [
2359
+ "workspace_id"
2360
+ ],
2361
+ "schemaTo": "public",
2362
+ "tableTo": "workspaces",
2363
+ "columnsTo": [
2364
+ "id"
2365
+ ],
2366
+ "onUpdate": "NO ACTION",
2367
+ "onDelete": "NO ACTION",
2368
+ "name": "workspace_state_history_workspace_id_workspaces_id_fkey",
2369
+ "entityType": "fks",
2370
+ "schema": "public",
2371
+ "table": "workspace_state_history"
2372
+ },
2373
+ {
2374
+ "nameExplicit": false,
2375
+ "columns": [
2376
+ "workspace_id"
2377
+ ],
2378
+ "schemaTo": "public",
2379
+ "tableTo": "workspaces",
2380
+ "columnsTo": [
2381
+ "id"
2382
+ ],
2383
+ "onUpdate": "NO ACTION",
2384
+ "onDelete": "NO ACTION",
2385
+ "name": "workspace_storage_workspace_id_workspaces_id_fkey",
2386
+ "entityType": "fks",
2387
+ "schema": "public",
2388
+ "table": "workspace_storage"
2389
+ },
2390
+ {
2391
+ "nameExplicit": false,
2392
+ "columns": [
2393
+ "principal_id"
2394
+ ],
2395
+ "schemaTo": "public",
2396
+ "tableTo": "principals",
2397
+ "columnsTo": [
2398
+ "id"
2399
+ ],
2400
+ "onUpdate": "NO ACTION",
2401
+ "onDelete": "NO ACTION",
2402
+ "name": "workspace_storage_principal_id_principals_id_fkey",
2403
+ "entityType": "fks",
2404
+ "schema": "public",
2405
+ "table": "workspace_storage"
2406
+ },
2407
+ {
2408
+ "nameExplicit": false,
2409
+ "columns": [
2410
+ "principal_id"
2411
+ ],
2412
+ "schemaTo": "public",
2413
+ "tableTo": "principals",
2414
+ "columnsTo": [
2415
+ "id"
2416
+ ],
2417
+ "onUpdate": "NO ACTION",
2418
+ "onDelete": "NO ACTION",
2419
+ "name": "workspaces_principal_id_principals_id_fkey",
2420
+ "entityType": "fks",
2421
+ "schema": "public",
2422
+ "table": "workspaces"
2423
+ },
2424
+ {
2425
+ "nameExplicit": false,
2426
+ "columns": [
2427
+ "template_id"
2428
+ ],
2429
+ "schemaTo": "public",
2430
+ "tableTo": "templates",
2431
+ "columnsTo": [
2432
+ "id"
2433
+ ],
2434
+ "onUpdate": "NO ACTION",
2435
+ "onDelete": "NO ACTION",
2436
+ "name": "workspaces_template_id_templates_id_fkey",
2437
+ "entityType": "fks",
2438
+ "schema": "public",
2439
+ "table": "workspaces"
2440
+ },
2441
+ {
2442
+ "columns": [
2443
+ "workspace_id",
2444
+ "seq"
2445
+ ],
2446
+ "nameExplicit": false,
2447
+ "name": "workspace_logs_pkey",
2448
+ "entityType": "pks",
2449
+ "schema": "public",
2450
+ "table": "workspace_logs"
2451
+ },
2452
+ {
2453
+ "columns": [
2454
+ "workspace_id",
2455
+ "seq"
2456
+ ],
2457
+ "nameExplicit": false,
2458
+ "name": "workspace_outputs_pkey",
2459
+ "entityType": "pks",
2460
+ "schema": "public",
2461
+ "table": "workspace_outputs"
2462
+ },
2463
+ {
2464
+ "columns": [
2465
+ "id"
2466
+ ],
2467
+ "nameExplicit": false,
2468
+ "name": "event_outbox_pkey",
2469
+ "schema": "public",
2470
+ "table": "event_outbox",
2471
+ "entityType": "pks"
2472
+ },
2473
+ {
2474
+ "columns": [
2475
+ "id"
2476
+ ],
2477
+ "nameExplicit": false,
2478
+ "name": "machine_keys_pkey",
2479
+ "schema": "public",
2480
+ "table": "machine_keys",
2481
+ "entityType": "pks"
2482
+ },
2483
+ {
2484
+ "columns": [
2485
+ "id"
2486
+ ],
2487
+ "nameExplicit": false,
2488
+ "name": "principals_pkey",
2489
+ "schema": "public",
2490
+ "table": "principals",
2491
+ "entityType": "pks"
2492
+ },
2493
+ {
2494
+ "columns": [
2495
+ "id"
2496
+ ],
2497
+ "nameExplicit": false,
2498
+ "name": "templates_pkey",
2499
+ "schema": "public",
2500
+ "table": "templates",
2501
+ "entityType": "pks"
2502
+ },
2503
+ {
2504
+ "columns": [
2505
+ "id"
2506
+ ],
2507
+ "nameExplicit": false,
2508
+ "name": "workspace_checkpoints_pkey",
2509
+ "schema": "public",
2510
+ "table": "workspace_checkpoints",
2511
+ "entityType": "pks"
2512
+ },
2513
+ {
2514
+ "columns": [
2515
+ "id"
2516
+ ],
2517
+ "nameExplicit": false,
2518
+ "name": "workspace_operations_pkey",
2519
+ "schema": "public",
2520
+ "table": "workspace_operations",
2521
+ "entityType": "pks"
2522
+ },
2523
+ {
2524
+ "columns": [
2525
+ "id"
2526
+ ],
2527
+ "nameExplicit": false,
2528
+ "name": "workspace_state_history_pkey",
2529
+ "schema": "public",
2530
+ "table": "workspace_state_history",
2531
+ "entityType": "pks"
2532
+ },
2533
+ {
2534
+ "columns": [
2535
+ "id"
2536
+ ],
2537
+ "nameExplicit": false,
2538
+ "name": "workspace_storage_pkey",
2539
+ "schema": "public",
2540
+ "table": "workspace_storage",
2541
+ "entityType": "pks"
2542
+ },
2543
+ {
2544
+ "columns": [
2545
+ "id"
2546
+ ],
2547
+ "nameExplicit": false,
2548
+ "name": "workspaces_pkey",
2549
+ "schema": "public",
2550
+ "table": "workspaces",
2551
+ "entityType": "pks"
2552
+ },
2553
+ {
2554
+ "nameExplicit": false,
2555
+ "columns": [
2556
+ "name",
2557
+ "version"
2558
+ ],
2559
+ "nullsNotDistinct": false,
2560
+ "name": "templates_name_version_unique",
2561
+ "entityType": "uniques",
2562
+ "schema": "public",
2563
+ "table": "templates"
2564
+ },
2565
+ {
2566
+ "nameExplicit": false,
2567
+ "columns": [
2568
+ "principal_id",
2569
+ "kind",
2570
+ "idempotency_key"
2571
+ ],
2572
+ "nullsNotDistinct": false,
2573
+ "name": "workspace_operations_principal_id_kind_idempotency_key_unique",
2574
+ "entityType": "uniques",
2575
+ "schema": "public",
2576
+ "table": "workspace_operations"
2577
+ },
2578
+ {
2579
+ "nameExplicit": false,
2580
+ "columns": [
2581
+ "principal_id",
2582
+ "idempotency_key"
2583
+ ],
2584
+ "nullsNotDistinct": false,
2585
+ "name": "workspaces_principal_id_idempotency_key_unique",
2586
+ "entityType": "uniques",
2587
+ "schema": "public",
2588
+ "table": "workspaces"
2589
+ },
2590
+ {
2591
+ "nameExplicit": false,
2592
+ "columns": [
2593
+ "name"
2594
+ ],
2595
+ "nullsNotDistinct": false,
2596
+ "name": "principals_name_key",
2597
+ "schema": "public",
2598
+ "table": "principals",
2599
+ "entityType": "uniques"
2600
+ },
2601
+ {
2602
+ "nameExplicit": false,
2603
+ "columns": [
2604
+ "digest"
2605
+ ],
2606
+ "nullsNotDistinct": false,
2607
+ "name": "templates_digest_key",
2608
+ "schema": "public",
2609
+ "table": "templates",
2610
+ "entityType": "uniques"
2611
+ }
2612
+ ],
2613
+ "renames": []
2614
+ }