@treeport/treeport 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,804 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "9a78893c-4c30-42fb-972c-d8028bc1a79c",
5
+ "prevId": "03dee9a7-243d-4bbb-8131-7b65f287e377",
6
+ "tables": {
7
+ "operations": {
8
+ "name": "operations",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "kind": {
18
+ "name": "kind",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "project_id": {
25
+ "name": "project_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "worktree_id": {
32
+ "name": "worktree_id",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": false,
36
+ "autoincrement": false
37
+ },
38
+ "status": {
39
+ "name": "status",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ },
45
+ "request_json": {
46
+ "name": "request_json",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false
51
+ },
52
+ "result_json": {
53
+ "name": "result_json",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": false,
57
+ "autoincrement": false
58
+ },
59
+ "error": {
60
+ "name": "error",
61
+ "type": "text",
62
+ "primaryKey": false,
63
+ "notNull": false,
64
+ "autoincrement": false
65
+ },
66
+ "created_at": {
67
+ "name": "created_at",
68
+ "type": "text",
69
+ "primaryKey": false,
70
+ "notNull": true,
71
+ "autoincrement": false
72
+ },
73
+ "updated_at": {
74
+ "name": "updated_at",
75
+ "type": "text",
76
+ "primaryKey": false,
77
+ "notNull": true,
78
+ "autoincrement": false
79
+ }
80
+ },
81
+ "indexes": {
82
+ "operations_worktree_idx": {
83
+ "name": "operations_worktree_idx",
84
+ "columns": ["worktree_id"],
85
+ "isUnique": false
86
+ },
87
+ "operations_project_kind_status_idx": {
88
+ "name": "operations_project_kind_status_idx",
89
+ "columns": ["project_id", "kind", "status"],
90
+ "isUnique": false
91
+ }
92
+ },
93
+ "foreignKeys": {
94
+ "operations_project_id_projects_id_fk": {
95
+ "name": "operations_project_id_projects_id_fk",
96
+ "tableFrom": "operations",
97
+ "tableTo": "projects",
98
+ "columnsFrom": ["project_id"],
99
+ "columnsTo": ["id"],
100
+ "onDelete": "set null",
101
+ "onUpdate": "no action"
102
+ },
103
+ "operations_worktree_id_worktrees_id_fk": {
104
+ "name": "operations_worktree_id_worktrees_id_fk",
105
+ "tableFrom": "operations",
106
+ "tableTo": "worktrees",
107
+ "columnsFrom": ["worktree_id"],
108
+ "columnsTo": ["id"],
109
+ "onDelete": "set null",
110
+ "onUpdate": "no action"
111
+ }
112
+ },
113
+ "compositePrimaryKeys": {},
114
+ "uniqueConstraints": {},
115
+ "checkConstraints": {
116
+ "operations_kind_check": {
117
+ "name": "operations_kind_check",
118
+ "value": "\"operations\".\"kind\" IN ('create','finish','discard','project_cleanup','remove','external_remove')"
119
+ },
120
+ "operations_status_check": {
121
+ "name": "operations_status_check",
122
+ "value": "\"operations\".\"status\" IN ('pending','running','completed','failed')"
123
+ }
124
+ }
125
+ },
126
+ "projects": {
127
+ "name": "projects",
128
+ "columns": {
129
+ "id": {
130
+ "name": "id",
131
+ "type": "text",
132
+ "primaryKey": true,
133
+ "notNull": true,
134
+ "autoincrement": false
135
+ },
136
+ "name": {
137
+ "name": "name",
138
+ "type": "text",
139
+ "primaryKey": false,
140
+ "notNull": true,
141
+ "autoincrement": false
142
+ },
143
+ "project_kind": {
144
+ "name": "project_kind",
145
+ "type": "text",
146
+ "primaryKey": false,
147
+ "notNull": true,
148
+ "autoincrement": false,
149
+ "default": "'repository'"
150
+ },
151
+ "repository_path": {
152
+ "name": "repository_path",
153
+ "type": "text",
154
+ "primaryKey": false,
155
+ "notNull": true,
156
+ "autoincrement": false
157
+ },
158
+ "main_worktree_path": {
159
+ "name": "main_worktree_path",
160
+ "type": "text",
161
+ "primaryKey": false,
162
+ "notNull": true,
163
+ "autoincrement": false
164
+ },
165
+ "default_branch": {
166
+ "name": "default_branch",
167
+ "type": "text",
168
+ "primaryKey": false,
169
+ "notNull": true,
170
+ "autoincrement": false
171
+ },
172
+ "color": {
173
+ "name": "color",
174
+ "type": "text",
175
+ "primaryKey": false,
176
+ "notNull": false,
177
+ "autoincrement": false
178
+ },
179
+ "repository_identity": {
180
+ "name": "repository_identity",
181
+ "type": "text",
182
+ "primaryKey": false,
183
+ "notNull": false,
184
+ "autoincrement": false
185
+ },
186
+ "repository_device": {
187
+ "name": "repository_device",
188
+ "type": "text",
189
+ "primaryKey": false,
190
+ "notNull": true,
191
+ "autoincrement": false
192
+ },
193
+ "repository_inode": {
194
+ "name": "repository_inode",
195
+ "type": "text",
196
+ "primaryKey": false,
197
+ "notNull": true,
198
+ "autoincrement": false
199
+ },
200
+ "name_is_custom": {
201
+ "name": "name_is_custom",
202
+ "type": "integer",
203
+ "primaryKey": false,
204
+ "notNull": true,
205
+ "autoincrement": false,
206
+ "default": 0
207
+ },
208
+ "is_open": {
209
+ "name": "is_open",
210
+ "type": "integer",
211
+ "primaryKey": false,
212
+ "notNull": true,
213
+ "autoincrement": false,
214
+ "default": 1
215
+ },
216
+ "show_in_recents": {
217
+ "name": "show_in_recents",
218
+ "type": "integer",
219
+ "primaryKey": false,
220
+ "notNull": true,
221
+ "autoincrement": false,
222
+ "default": 0
223
+ },
224
+ "last_opened_at": {
225
+ "name": "last_opened_at",
226
+ "type": "text",
227
+ "primaryKey": false,
228
+ "notNull": true,
229
+ "autoincrement": false
230
+ },
231
+ "created_at": {
232
+ "name": "created_at",
233
+ "type": "text",
234
+ "primaryKey": false,
235
+ "notNull": true,
236
+ "autoincrement": false
237
+ },
238
+ "updated_at": {
239
+ "name": "updated_at",
240
+ "type": "text",
241
+ "primaryKey": false,
242
+ "notNull": true,
243
+ "autoincrement": false
244
+ }
245
+ },
246
+ "indexes": {
247
+ "projects_repository_path_unique": {
248
+ "name": "projects_repository_path_unique",
249
+ "columns": ["repository_path"],
250
+ "isUnique": true
251
+ },
252
+ "projects_repository_identity_idx": {
253
+ "name": "projects_repository_identity_idx",
254
+ "columns": ["repository_identity"],
255
+ "isUnique": true,
256
+ "where": "\"projects\".\"repository_identity\" IS NOT NULL"
257
+ },
258
+ "projects_recent_idx": {
259
+ "name": "projects_recent_idx",
260
+ "columns": [
261
+ "is_open",
262
+ "show_in_recents",
263
+ "\"last_opened_at\" desc",
264
+ "id"
265
+ ],
266
+ "isUnique": false
267
+ }
268
+ },
269
+ "foreignKeys": {},
270
+ "compositePrimaryKeys": {},
271
+ "uniqueConstraints": {},
272
+ "checkConstraints": {
273
+ "projects_color_check": {
274
+ "name": "projects_color_check",
275
+ "value": "\"projects\".\"color\" IS NULL OR \"projects\".\"color\" IN ('rose','orange','amber','emerald','cyan','blue','violet','pink')"
276
+ },
277
+ "projects_name_is_custom_check": {
278
+ "name": "projects_name_is_custom_check",
279
+ "value": "\"projects\".\"name_is_custom\" IN (0,1)"
280
+ },
281
+ "projects_is_open_check": {
282
+ "name": "projects_is_open_check",
283
+ "value": "\"projects\".\"is_open\" IN (0,1)"
284
+ },
285
+ "projects_kind_check": {
286
+ "name": "projects_kind_check",
287
+ "value": "\"projects\".\"project_kind\" IN ('repository','folder')"
288
+ },
289
+ "projects_show_in_recents_check": {
290
+ "name": "projects_show_in_recents_check",
291
+ "value": "\"projects\".\"show_in_recents\" IN (0,1)"
292
+ }
293
+ }
294
+ },
295
+ "terminal_bell_states": {
296
+ "name": "terminal_bell_states",
297
+ "columns": {
298
+ "terminal_id": {
299
+ "name": "terminal_id",
300
+ "type": "text",
301
+ "primaryKey": true,
302
+ "notNull": true,
303
+ "autoincrement": false
304
+ },
305
+ "worktree_id": {
306
+ "name": "worktree_id",
307
+ "type": "text",
308
+ "primaryKey": false,
309
+ "notNull": true,
310
+ "autoincrement": false
311
+ },
312
+ "sequence": {
313
+ "name": "sequence",
314
+ "type": "integer",
315
+ "primaryKey": false,
316
+ "notNull": true,
317
+ "autoincrement": false
318
+ },
319
+ "occurred_at": {
320
+ "name": "occurred_at",
321
+ "type": "text",
322
+ "primaryKey": false,
323
+ "notNull": true,
324
+ "autoincrement": false
325
+ },
326
+ "unread": {
327
+ "name": "unread",
328
+ "type": "integer",
329
+ "primaryKey": false,
330
+ "notNull": true,
331
+ "autoincrement": false
332
+ }
333
+ },
334
+ "indexes": {},
335
+ "foreignKeys": {
336
+ "terminal_bell_states_worktree_id_worktrees_id_fk": {
337
+ "name": "terminal_bell_states_worktree_id_worktrees_id_fk",
338
+ "tableFrom": "terminal_bell_states",
339
+ "tableTo": "worktrees",
340
+ "columnsFrom": ["worktree_id"],
341
+ "columnsTo": ["id"],
342
+ "onDelete": "cascade",
343
+ "onUpdate": "no action"
344
+ }
345
+ },
346
+ "compositePrimaryKeys": {},
347
+ "uniqueConstraints": {},
348
+ "checkConstraints": {
349
+ "terminal_bell_states_sequence_check": {
350
+ "name": "terminal_bell_states_sequence_check",
351
+ "value": "\"terminal_bell_states\".\"sequence\" > 0"
352
+ },
353
+ "terminal_bell_states_unread_check": {
354
+ "name": "terminal_bell_states_unread_check",
355
+ "value": "\"terminal_bell_states\".\"unread\" IN (0,1)"
356
+ }
357
+ }
358
+ },
359
+ "terminal_presets": {
360
+ "name": "terminal_presets",
361
+ "columns": {
362
+ "id": {
363
+ "name": "id",
364
+ "type": "text",
365
+ "primaryKey": true,
366
+ "notNull": true,
367
+ "autoincrement": false
368
+ },
369
+ "name": {
370
+ "name": "name",
371
+ "type": "text",
372
+ "primaryKey": false,
373
+ "notNull": true,
374
+ "autoincrement": false
375
+ },
376
+ "executable": {
377
+ "name": "executable",
378
+ "type": "text",
379
+ "primaryKey": false,
380
+ "notNull": true,
381
+ "autoincrement": false
382
+ },
383
+ "args_json": {
384
+ "name": "args_json",
385
+ "type": "text",
386
+ "primaryKey": false,
387
+ "notNull": true,
388
+ "autoincrement": false
389
+ },
390
+ "close_on_success": {
391
+ "name": "close_on_success",
392
+ "type": "integer",
393
+ "primaryKey": false,
394
+ "notNull": true,
395
+ "autoincrement": false,
396
+ "default": 0
397
+ },
398
+ "created_at": {
399
+ "name": "created_at",
400
+ "type": "text",
401
+ "primaryKey": false,
402
+ "notNull": true,
403
+ "autoincrement": false
404
+ },
405
+ "updated_at": {
406
+ "name": "updated_at",
407
+ "type": "text",
408
+ "primaryKey": false,
409
+ "notNull": true,
410
+ "autoincrement": false
411
+ }
412
+ },
413
+ "indexes": {
414
+ "terminal_presets_order_idx": {
415
+ "name": "terminal_presets_order_idx",
416
+ "columns": ["created_at", "id"],
417
+ "isUnique": false
418
+ }
419
+ },
420
+ "foreignKeys": {},
421
+ "compositePrimaryKeys": {},
422
+ "uniqueConstraints": {},
423
+ "checkConstraints": {
424
+ "terminal_presets_close_on_success_check": {
425
+ "name": "terminal_presets_close_on_success_check",
426
+ "value": "\"terminal_presets\".\"close_on_success\" IN (0,1)"
427
+ }
428
+ }
429
+ },
430
+ "web_panel_storage": {
431
+ "name": "web_panel_storage",
432
+ "columns": {
433
+ "panel_id": {
434
+ "name": "panel_id",
435
+ "type": "text",
436
+ "primaryKey": false,
437
+ "notNull": true,
438
+ "autoincrement": false
439
+ },
440
+ "key": {
441
+ "name": "key",
442
+ "type": "text",
443
+ "primaryKey": false,
444
+ "notNull": true,
445
+ "autoincrement": false
446
+ },
447
+ "value_json": {
448
+ "name": "value_json",
449
+ "type": "text",
450
+ "primaryKey": false,
451
+ "notNull": true,
452
+ "autoincrement": false
453
+ },
454
+ "updated_at": {
455
+ "name": "updated_at",
456
+ "type": "text",
457
+ "primaryKey": false,
458
+ "notNull": true,
459
+ "autoincrement": false
460
+ }
461
+ },
462
+ "indexes": {
463
+ "web_panel_storage_panel_key_idx": {
464
+ "name": "web_panel_storage_panel_key_idx",
465
+ "columns": ["panel_id", "key"],
466
+ "isUnique": true
467
+ }
468
+ },
469
+ "foreignKeys": {
470
+ "web_panel_storage_panel_id_web_panels_id_fk": {
471
+ "name": "web_panel_storage_panel_id_web_panels_id_fk",
472
+ "tableFrom": "web_panel_storage",
473
+ "tableTo": "web_panels",
474
+ "columnsFrom": ["panel_id"],
475
+ "columnsTo": ["id"],
476
+ "onDelete": "cascade",
477
+ "onUpdate": "no action"
478
+ }
479
+ },
480
+ "compositePrimaryKeys": {},
481
+ "uniqueConstraints": {},
482
+ "checkConstraints": {}
483
+ },
484
+ "web_panels": {
485
+ "name": "web_panels",
486
+ "columns": {
487
+ "id": {
488
+ "name": "id",
489
+ "type": "text",
490
+ "primaryKey": true,
491
+ "notNull": true,
492
+ "autoincrement": false
493
+ },
494
+ "worktree_id": {
495
+ "name": "worktree_id",
496
+ "type": "text",
497
+ "primaryKey": false,
498
+ "notNull": true,
499
+ "autoincrement": false
500
+ },
501
+ "definition_id": {
502
+ "name": "definition_id",
503
+ "type": "text",
504
+ "primaryKey": false,
505
+ "notNull": true,
506
+ "autoincrement": false
507
+ },
508
+ "title": {
509
+ "name": "title",
510
+ "type": "text",
511
+ "primaryKey": false,
512
+ "notNull": true,
513
+ "autoincrement": false
514
+ },
515
+ "input_json": {
516
+ "name": "input_json",
517
+ "type": "text",
518
+ "primaryKey": false,
519
+ "notNull": true,
520
+ "autoincrement": false,
521
+ "default": "'null'"
522
+ },
523
+ "launch_cwd": {
524
+ "name": "launch_cwd",
525
+ "type": "text",
526
+ "primaryKey": false,
527
+ "notNull": false,
528
+ "autoincrement": false
529
+ },
530
+ "created_at": {
531
+ "name": "created_at",
532
+ "type": "text",
533
+ "primaryKey": false,
534
+ "notNull": true,
535
+ "autoincrement": false
536
+ },
537
+ "updated_at": {
538
+ "name": "updated_at",
539
+ "type": "text",
540
+ "primaryKey": false,
541
+ "notNull": true,
542
+ "autoincrement": false
543
+ }
544
+ },
545
+ "indexes": {
546
+ "web_panels_worktree_order_idx": {
547
+ "name": "web_panels_worktree_order_idx",
548
+ "columns": ["worktree_id", "created_at", "id"],
549
+ "isUnique": false
550
+ }
551
+ },
552
+ "foreignKeys": {
553
+ "web_panels_worktree_id_worktrees_id_fk": {
554
+ "name": "web_panels_worktree_id_worktrees_id_fk",
555
+ "tableFrom": "web_panels",
556
+ "tableTo": "worktrees",
557
+ "columnsFrom": ["worktree_id"],
558
+ "columnsTo": ["id"],
559
+ "onDelete": "cascade",
560
+ "onUpdate": "no action"
561
+ }
562
+ },
563
+ "compositePrimaryKeys": {},
564
+ "uniqueConstraints": {},
565
+ "checkConstraints": {}
566
+ },
567
+ "worktrees": {
568
+ "name": "worktrees",
569
+ "columns": {
570
+ "id": {
571
+ "name": "id",
572
+ "type": "text",
573
+ "primaryKey": true,
574
+ "notNull": true,
575
+ "autoincrement": false
576
+ },
577
+ "project_id": {
578
+ "name": "project_id",
579
+ "type": "text",
580
+ "primaryKey": false,
581
+ "notNull": true,
582
+ "autoincrement": false
583
+ },
584
+ "path": {
585
+ "name": "path",
586
+ "type": "text",
587
+ "primaryKey": false,
588
+ "notNull": true,
589
+ "autoincrement": false
590
+ },
591
+ "git_worktree_key": {
592
+ "name": "git_worktree_key",
593
+ "type": "text",
594
+ "primaryKey": false,
595
+ "notNull": false,
596
+ "autoincrement": false
597
+ },
598
+ "head": {
599
+ "name": "head",
600
+ "type": "text",
601
+ "primaryKey": false,
602
+ "notNull": true,
603
+ "autoincrement": false,
604
+ "default": "''"
605
+ },
606
+ "branch": {
607
+ "name": "branch",
608
+ "type": "text",
609
+ "primaryKey": false,
610
+ "notNull": false,
611
+ "autoincrement": false
612
+ },
613
+ "detached": {
614
+ "name": "detached",
615
+ "type": "integer",
616
+ "primaryKey": false,
617
+ "notNull": true,
618
+ "autoincrement": false,
619
+ "default": 0
620
+ },
621
+ "locked": {
622
+ "name": "locked",
623
+ "type": "integer",
624
+ "primaryKey": false,
625
+ "notNull": true,
626
+ "autoincrement": false,
627
+ "default": 0
628
+ },
629
+ "lock_reason": {
630
+ "name": "lock_reason",
631
+ "type": "text",
632
+ "primaryKey": false,
633
+ "notNull": false,
634
+ "autoincrement": false
635
+ },
636
+ "prunable": {
637
+ "name": "prunable",
638
+ "type": "integer",
639
+ "primaryKey": false,
640
+ "notNull": true,
641
+ "autoincrement": false,
642
+ "default": 0
643
+ },
644
+ "kind": {
645
+ "name": "kind",
646
+ "type": "text",
647
+ "primaryKey": false,
648
+ "notNull": true,
649
+ "autoincrement": false
650
+ },
651
+ "tmux_socket_name": {
652
+ "name": "tmux_socket_name",
653
+ "type": "text",
654
+ "primaryKey": false,
655
+ "notNull": true,
656
+ "autoincrement": false
657
+ },
658
+ "managed_wrapper_path": {
659
+ "name": "managed_wrapper_path",
660
+ "type": "text",
661
+ "primaryKey": false,
662
+ "notNull": false,
663
+ "autoincrement": false
664
+ },
665
+ "pr_state": {
666
+ "name": "pr_state",
667
+ "type": "text",
668
+ "primaryKey": false,
669
+ "notNull": true,
670
+ "autoincrement": false,
671
+ "default": "'unknown'"
672
+ },
673
+ "pr_number": {
674
+ "name": "pr_number",
675
+ "type": "integer",
676
+ "primaryKey": false,
677
+ "notNull": false,
678
+ "autoincrement": false
679
+ },
680
+ "pr_url": {
681
+ "name": "pr_url",
682
+ "type": "text",
683
+ "primaryKey": false,
684
+ "notNull": false,
685
+ "autoincrement": false
686
+ },
687
+ "pr_base_branch": {
688
+ "name": "pr_base_branch",
689
+ "type": "text",
690
+ "primaryKey": false,
691
+ "notNull": false,
692
+ "autoincrement": false
693
+ },
694
+ "pr_head_branch": {
695
+ "name": "pr_head_branch",
696
+ "type": "text",
697
+ "primaryKey": false,
698
+ "notNull": false,
699
+ "autoincrement": false
700
+ },
701
+ "pr_merged_at": {
702
+ "name": "pr_merged_at",
703
+ "type": "text",
704
+ "primaryKey": false,
705
+ "notNull": false,
706
+ "autoincrement": false
707
+ },
708
+ "pr_refreshed_at": {
709
+ "name": "pr_refreshed_at",
710
+ "type": "text",
711
+ "primaryKey": false,
712
+ "notNull": false,
713
+ "autoincrement": false
714
+ },
715
+ "created_at": {
716
+ "name": "created_at",
717
+ "type": "text",
718
+ "primaryKey": false,
719
+ "notNull": true,
720
+ "autoincrement": false
721
+ },
722
+ "updated_at": {
723
+ "name": "updated_at",
724
+ "type": "text",
725
+ "primaryKey": false,
726
+ "notNull": true,
727
+ "autoincrement": false
728
+ }
729
+ },
730
+ "indexes": {
731
+ "worktrees_path_unique": {
732
+ "name": "worktrees_path_unique",
733
+ "columns": ["path"],
734
+ "isUnique": true
735
+ },
736
+ "worktrees_tmux_socket_name_unique": {
737
+ "name": "worktrees_tmux_socket_name_unique",
738
+ "columns": ["tmux_socket_name"],
739
+ "isUnique": true
740
+ },
741
+ "worktrees_project_idx": {
742
+ "name": "worktrees_project_idx",
743
+ "columns": ["project_id"],
744
+ "isUnique": false
745
+ },
746
+ "worktrees_git_key_idx": {
747
+ "name": "worktrees_git_key_idx",
748
+ "columns": ["project_id", "git_worktree_key"],
749
+ "isUnique": true,
750
+ "where": "\"worktrees\".\"git_worktree_key\" IS NOT NULL"
751
+ }
752
+ },
753
+ "foreignKeys": {
754
+ "worktrees_project_id_projects_id_fk": {
755
+ "name": "worktrees_project_id_projects_id_fk",
756
+ "tableFrom": "worktrees",
757
+ "tableTo": "projects",
758
+ "columnsFrom": ["project_id"],
759
+ "columnsTo": ["id"],
760
+ "onDelete": "cascade",
761
+ "onUpdate": "no action"
762
+ }
763
+ },
764
+ "compositePrimaryKeys": {},
765
+ "uniqueConstraints": {},
766
+ "checkConstraints": {
767
+ "worktrees_detached_check": {
768
+ "name": "worktrees_detached_check",
769
+ "value": "\"worktrees\".\"detached\" IN (0,1)"
770
+ },
771
+ "worktrees_locked_check": {
772
+ "name": "worktrees_locked_check",
773
+ "value": "\"worktrees\".\"locked\" IN (0,1)"
774
+ },
775
+ "worktrees_prunable_check": {
776
+ "name": "worktrees_prunable_check",
777
+ "value": "\"worktrees\".\"prunable\" IN (0,1)"
778
+ },
779
+ "worktrees_kind_check": {
780
+ "name": "worktrees_kind_check",
781
+ "value": "\"worktrees\".\"kind\" IN ('main','linked','folder')"
782
+ }
783
+ }
784
+ }
785
+ },
786
+ "views": {},
787
+ "enums": {},
788
+ "_meta": {
789
+ "schemas": {},
790
+ "tables": {},
791
+ "columns": {}
792
+ },
793
+ "internal": {
794
+ "indexes": {
795
+ "projects_recent_idx": {
796
+ "columns": {
797
+ "\"last_opened_at\" desc": {
798
+ "isExpression": true
799
+ }
800
+ }
801
+ }
802
+ }
803
+ }
804
+ }