alchemylab-opencode 1.0.26 → 2.0.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.
Files changed (123) hide show
  1. package/NODE_COMPAT.md +23 -174
  2. package/dist/20260127222353_familiar_lady_ursula-KV747FJX.js +14 -0
  3. package/dist/{chunk-LTCXIXYM.js → 20260211171708_add_project_commands-GDOHPDPF.js} +3 -1
  4. package/dist/20260213144116_wakeful_the_professor-ZVDD54AK.js +14 -0
  5. package/dist/20260225215848_workspace-ZMSOZSPA.js +14 -0
  6. package/dist/20260227213759_add_session_workspace_id-ROENWPKA.js +14 -0
  7. package/dist/20260228203230_blue_harpoon-IW3Z4TQZ.js +14 -0
  8. package/dist/20260303231226_add_workspace_fields-OUVZMNAG.js +14 -0
  9. package/dist/20260309230000_move_org_to_state-NOXAPU5V.js +14 -0
  10. package/dist/20260312043431_session_message_cursor-DJ4T3T4R.js +14 -0
  11. package/dist/20260323234822_events-72GIKJ2A.js +14 -0
  12. package/dist/20260410174513_workspace-name-JXSWFBJN.js +14 -0
  13. package/dist/20260413175956_chief_energizer-4HEWZ6U3.js +14 -0
  14. package/dist/20260423070820_add_icon_url_override-X5SHFGTI.js +14 -0
  15. package/dist/20260427172553_slow_nightmare-PS5T2AH2.js +14 -0
  16. package/dist/{chunk-PWFRMDDF.js → 20260428004200_add_session_path-LGW75WYA.js} +3 -0
  17. package/dist/{valibot--1zFm7rT-FSYJNYJ6.js → 20260501142318_next_venus-J3TLVXZ6.js} +3 -1
  18. package/dist/20260504145000_add_sync_owner-3R52GB4C.js +14 -0
  19. package/dist/20260507164347_add_workspace_time-JHDRCZAR.js +14 -0
  20. package/dist/20260510033149_session_usage-UGBVOXZB.js +53 -0
  21. package/dist/20260511000411_data_migration_state-FB4LBFSE.js +14 -0
  22. package/dist/20260511173437_session-metadata-T2XHGWHS.js +14 -0
  23. package/dist/20260601010001_normalize_storage_paths-5MAY5GT3.js +14 -0
  24. package/dist/{chunk-YRY5Y3QL.js → 20260601202201_amazing_prowler-PET224YG.js} +3 -1
  25. package/dist/20260602002951_lowly_union_jack-PG6XDMGL.js +14 -0
  26. package/dist/20260602182828_add_project_directories-ZCH2ACGG.js +14 -0
  27. package/dist/20260603001617_session_message_projection_indexes-XVLJTUF2.js +14 -0
  28. package/dist/20260603040000_session_message_projection_order-XG6RACZQ.js +14 -0
  29. package/dist/20260603141458_session_input_inbox-K2VQ7V6E.js +14 -0
  30. package/dist/20260603160727_jittery_ezekiel_stane-WKJLRDO7.js +14 -0
  31. package/dist/20260604172448_event_sourced_session_input-NTXOECR7.js +14 -0
  32. package/dist/20260605003541_add_session_context_snapshot-DXMQEXMT.js +14 -0
  33. package/dist/{zod-Bwrt9trS-HVDOFWRP.js → 20260605042240_add_context_epoch_agent-W6IQYZXE.js} +3 -1
  34. package/dist/20260611035744_credential-XTMSYTJD.js +14 -0
  35. package/dist/20260611192811_lush_chimera-XPLIQMJD.js +14 -0
  36. package/dist/20260612174303_project_dir_strategy-FR2NGQKK.js +14 -0
  37. package/dist/20260622142730_simplify_session_context_epoch-NTQZR3RE.js +14 -0
  38. package/dist/20260622170816_reset_v2_session_state-5JPHJTZG.js +14 -0
  39. package/dist/20260622202450_simplify_session_input-2EXF2HMV.js +14 -0
  40. package/dist/app-runtime-6NGO2HRS.js +14 -0
  41. package/dist/chunk-4K2RXRZL.js +14 -0
  42. package/dist/chunk-BM2C7NHL.js +41 -0
  43. package/dist/chunk-E47SMIVL.js +186 -0
  44. package/dist/chunk-OMDJ6ZZ2.js +684 -0
  45. package/dist/chunk-PLQOF3WF.js +393 -0
  46. package/dist/chunk-QRABYJKL.js +14 -0
  47. package/dist/chunk-RHIWAYN5.js +14 -0
  48. package/dist/{arktype-aI7TBD0R-TFNARRIP.js → chunk-VURLSDCB.js} +3 -1
  49. package/dist/chunk-Z5TLIUAI.js +28 -0
  50. package/dist/chunk-ZMHNE2MU.js +865 -0
  51. package/dist/chunk-ZWLTE2TM.js +1455 -0
  52. package/dist/code-mode-YFX4N2VN.js +40 -0
  53. package/dist/copilot-provider-TX4YFKJZ.js +14 -0
  54. package/dist/photon-VQS5F5BI.js +14 -0
  55. package/dist/pty.node-Y3N2XKYG.js +14 -0
  56. package/dist/run.js +3 -1
  57. package/dist/serve.js +3 -1
  58. package/dist/server-TI57TGPO.js +17 -0
  59. package/dist/session-6RNXZNG6.js +14 -0
  60. package/dist/{chunk-2ANK3QEN.js → worktree-3RZQEGVC.js} +3 -1
  61. package/package.json +83 -50
  62. package/patches/@ai-sdk%2Famazon-bedrock@4.0.166.patch +164 -0
  63. package/patches/@ai-sdk%2Fanthropic@3.0.111.patch +528 -0
  64. package/patches/@ai-sdk%2Fgoogle@3.0.73.patch +69 -0
  65. package/patches/@ai-sdk%2Fgroq@3.0.31.patch +79 -0
  66. package/patches/@ai-sdk%2Fmistral@3.0.51.patch +714 -0
  67. package/patches/@ai-sdk%2Fopenai-compatible@2.0.41.patch +39 -0
  68. package/patches/@ai-sdk%2Fopenai@3.0.88.patch +280 -0
  69. package/patches/@ai-sdk%2Fxai@3.0.139.patch +296 -0
  70. package/patches/@modelcontextprotocol%2Fsdk@1.29.0.patch +647 -0
  71. package/patches/@npmcli%2Fagent@4.0.2.patch +13 -0
  72. package/patches/@silvia-odwyer%2Fphoton-node@0.3.4.patch +285 -0
  73. package/patches/effect@4.0.0-beta.83.patch +57 -0
  74. package/patches/gcp-metadata@8.1.2.patch +14 -0
  75. package/patches/pacote@21.5.0.patch +18 -0
  76. package/postinstall.cjs +146 -0
  77. package/dist/chunk-5P5WLADX.js +0 -18
  78. package/dist/chunk-7KKA6WBY.js +0 -12
  79. package/dist/chunk-A7EXZZPC.js +0 -12
  80. package/dist/chunk-CZVKIDQZ.js +0 -12
  81. package/dist/chunk-FXLFZ5DL.js +0 -12
  82. package/dist/chunk-G752V4OP.js +0 -2187
  83. package/dist/chunk-GBXMNWYD.js +0 -18
  84. package/dist/chunk-IR6PDN4W.js +0 -13
  85. package/dist/chunk-M4CB72HE.js +0 -13
  86. package/dist/chunk-MBZTOEAD.js +0 -12
  87. package/dist/default-u_dwuiYb-652AQZKX.js +0 -12
  88. package/dist/effect-QlVUlMFu-JVYEXAZL.js +0 -12
  89. package/dist/log-MVJ7H4K5.js +0 -12
  90. package/dist/pty.node-X2EITEZ4.js +0 -12
  91. package/dist/registry-ISXIFNPG.js +0 -12
  92. package/dist/run-AUCA7EKA.js +0 -20
  93. package/dist/run-service-MT3LOWLS.js +0 -12
  94. package/dist/schema-YWIVP7UR.js +0 -12
  95. package/dist/server-PIYRZLBG.js +0 -12
  96. package/dist/session-ACBIJ2VE.js +0 -12
  97. package/dist/share-next-MPGA7EO4.js +0 -12
  98. package/dist/sury-CWZTCd75-3YHH6KVI.js +0 -12
  99. package/dist/typebox-Dei93FPO-GLI7OCTY.js +0 -12
  100. package/dist/valibot-D_HTw1Gn-E5NKVIOV.js +0 -12
  101. package/dist/worktree-E4DGSBLJ.js +0 -12
  102. package/dist/zod-DSgpEGAE-DSH6V7MG.js +0 -12
  103. package/packages/opencode/migration/20260127222353_familiar_lady_ursula/migration.sql +0 -90
  104. package/packages/opencode/migration/20260127222353_familiar_lady_ursula/snapshot.json +0 -796
  105. package/packages/opencode/migration/20260211171708_add_project_commands/migration.sql +0 -1
  106. package/packages/opencode/migration/20260211171708_add_project_commands/snapshot.json +0 -806
  107. package/packages/opencode/migration/20260213144116_wakeful_the_professor/migration.sql +0 -11
  108. package/packages/opencode/migration/20260213144116_wakeful_the_professor/snapshot.json +0 -897
  109. package/packages/opencode/migration/20260225215848_workspace/migration.sql +0 -7
  110. package/packages/opencode/migration/20260225215848_workspace/snapshot.json +0 -959
  111. package/packages/opencode/migration/20260227213759_add_session_workspace_id/migration.sql +0 -2
  112. package/packages/opencode/migration/20260227213759_add_session_workspace_id/snapshot.json +0 -983
  113. package/packages/opencode/migration/20260228203230_blue_harpoon/migration.sql +0 -17
  114. package/packages/opencode/migration/20260228203230_blue_harpoon/snapshot.json +0 -1102
  115. package/packages/opencode/migration/20260303231226_add_workspace_fields/migration.sql +0 -5
  116. package/packages/opencode/migration/20260303231226_add_workspace_fields/snapshot.json +0 -1013
  117. package/packages/opencode/migration/20260309230000_move_org_to_state/migration.sql +0 -3
  118. package/packages/opencode/migration/20260309230000_move_org_to_state/snapshot.json +0 -1156
  119. package/packages/opencode/migration/20260312043431_session_message_cursor/migration.sql +0 -4
  120. package/packages/opencode/migration/20260312043431_session_message_cursor/snapshot.json +0 -1168
  121. package/packages/opencode/migration/20260323234822_events/migration.sql +0 -13
  122. package/packages/opencode/migration/20260323234822_events/snapshot.json +0 -1271
  123. package/packages/opencode/migration/20260409000000_add_session_metadata/migration.sql +0 -1
@@ -1,796 +0,0 @@
1
- {
2
- "version": "7",
3
- "dialect": "sqlite",
4
- "id": "068758ed-a97a-46f6-8a59-6c639ae7c20c",
5
- "prevIds": ["00000000-0000-0000-0000-000000000000"],
6
- "ddl": [
7
- {
8
- "name": "project",
9
- "entityType": "tables"
10
- },
11
- {
12
- "name": "message",
13
- "entityType": "tables"
14
- },
15
- {
16
- "name": "part",
17
- "entityType": "tables"
18
- },
19
- {
20
- "name": "permission",
21
- "entityType": "tables"
22
- },
23
- {
24
- "name": "session",
25
- "entityType": "tables"
26
- },
27
- {
28
- "name": "todo",
29
- "entityType": "tables"
30
- },
31
- {
32
- "name": "session_share",
33
- "entityType": "tables"
34
- },
35
- {
36
- "type": "text",
37
- "notNull": false,
38
- "autoincrement": false,
39
- "default": null,
40
- "generated": null,
41
- "name": "id",
42
- "entityType": "columns",
43
- "table": "project"
44
- },
45
- {
46
- "type": "text",
47
- "notNull": true,
48
- "autoincrement": false,
49
- "default": null,
50
- "generated": null,
51
- "name": "worktree",
52
- "entityType": "columns",
53
- "table": "project"
54
- },
55
- {
56
- "type": "text",
57
- "notNull": false,
58
- "autoincrement": false,
59
- "default": null,
60
- "generated": null,
61
- "name": "vcs",
62
- "entityType": "columns",
63
- "table": "project"
64
- },
65
- {
66
- "type": "text",
67
- "notNull": false,
68
- "autoincrement": false,
69
- "default": null,
70
- "generated": null,
71
- "name": "name",
72
- "entityType": "columns",
73
- "table": "project"
74
- },
75
- {
76
- "type": "text",
77
- "notNull": false,
78
- "autoincrement": false,
79
- "default": null,
80
- "generated": null,
81
- "name": "icon_url",
82
- "entityType": "columns",
83
- "table": "project"
84
- },
85
- {
86
- "type": "text",
87
- "notNull": false,
88
- "autoincrement": false,
89
- "default": null,
90
- "generated": null,
91
- "name": "icon_color",
92
- "entityType": "columns",
93
- "table": "project"
94
- },
95
- {
96
- "type": "integer",
97
- "notNull": true,
98
- "autoincrement": false,
99
- "default": null,
100
- "generated": null,
101
- "name": "time_created",
102
- "entityType": "columns",
103
- "table": "project"
104
- },
105
- {
106
- "type": "integer",
107
- "notNull": true,
108
- "autoincrement": false,
109
- "default": null,
110
- "generated": null,
111
- "name": "time_updated",
112
- "entityType": "columns",
113
- "table": "project"
114
- },
115
- {
116
- "type": "integer",
117
- "notNull": false,
118
- "autoincrement": false,
119
- "default": null,
120
- "generated": null,
121
- "name": "time_initialized",
122
- "entityType": "columns",
123
- "table": "project"
124
- },
125
- {
126
- "type": "text",
127
- "notNull": true,
128
- "autoincrement": false,
129
- "default": null,
130
- "generated": null,
131
- "name": "sandboxes",
132
- "entityType": "columns",
133
- "table": "project"
134
- },
135
- {
136
- "type": "text",
137
- "notNull": false,
138
- "autoincrement": false,
139
- "default": null,
140
- "generated": null,
141
- "name": "id",
142
- "entityType": "columns",
143
- "table": "message"
144
- },
145
- {
146
- "type": "text",
147
- "notNull": true,
148
- "autoincrement": false,
149
- "default": null,
150
- "generated": null,
151
- "name": "session_id",
152
- "entityType": "columns",
153
- "table": "message"
154
- },
155
- {
156
- "type": "integer",
157
- "notNull": true,
158
- "autoincrement": false,
159
- "default": null,
160
- "generated": null,
161
- "name": "time_created",
162
- "entityType": "columns",
163
- "table": "message"
164
- },
165
- {
166
- "type": "integer",
167
- "notNull": true,
168
- "autoincrement": false,
169
- "default": null,
170
- "generated": null,
171
- "name": "time_updated",
172
- "entityType": "columns",
173
- "table": "message"
174
- },
175
- {
176
- "type": "text",
177
- "notNull": true,
178
- "autoincrement": false,
179
- "default": null,
180
- "generated": null,
181
- "name": "data",
182
- "entityType": "columns",
183
- "table": "message"
184
- },
185
- {
186
- "type": "text",
187
- "notNull": false,
188
- "autoincrement": false,
189
- "default": null,
190
- "generated": null,
191
- "name": "id",
192
- "entityType": "columns",
193
- "table": "part"
194
- },
195
- {
196
- "type": "text",
197
- "notNull": true,
198
- "autoincrement": false,
199
- "default": null,
200
- "generated": null,
201
- "name": "message_id",
202
- "entityType": "columns",
203
- "table": "part"
204
- },
205
- {
206
- "type": "text",
207
- "notNull": true,
208
- "autoincrement": false,
209
- "default": null,
210
- "generated": null,
211
- "name": "session_id",
212
- "entityType": "columns",
213
- "table": "part"
214
- },
215
- {
216
- "type": "integer",
217
- "notNull": true,
218
- "autoincrement": false,
219
- "default": null,
220
- "generated": null,
221
- "name": "time_created",
222
- "entityType": "columns",
223
- "table": "part"
224
- },
225
- {
226
- "type": "integer",
227
- "notNull": true,
228
- "autoincrement": false,
229
- "default": null,
230
- "generated": null,
231
- "name": "time_updated",
232
- "entityType": "columns",
233
- "table": "part"
234
- },
235
- {
236
- "type": "text",
237
- "notNull": true,
238
- "autoincrement": false,
239
- "default": null,
240
- "generated": null,
241
- "name": "data",
242
- "entityType": "columns",
243
- "table": "part"
244
- },
245
- {
246
- "type": "text",
247
- "notNull": false,
248
- "autoincrement": false,
249
- "default": null,
250
- "generated": null,
251
- "name": "project_id",
252
- "entityType": "columns",
253
- "table": "permission"
254
- },
255
- {
256
- "type": "integer",
257
- "notNull": true,
258
- "autoincrement": false,
259
- "default": null,
260
- "generated": null,
261
- "name": "time_created",
262
- "entityType": "columns",
263
- "table": "permission"
264
- },
265
- {
266
- "type": "integer",
267
- "notNull": true,
268
- "autoincrement": false,
269
- "default": null,
270
- "generated": null,
271
- "name": "time_updated",
272
- "entityType": "columns",
273
- "table": "permission"
274
- },
275
- {
276
- "type": "text",
277
- "notNull": true,
278
- "autoincrement": false,
279
- "default": null,
280
- "generated": null,
281
- "name": "data",
282
- "entityType": "columns",
283
- "table": "permission"
284
- },
285
- {
286
- "type": "text",
287
- "notNull": false,
288
- "autoincrement": false,
289
- "default": null,
290
- "generated": null,
291
- "name": "id",
292
- "entityType": "columns",
293
- "table": "session"
294
- },
295
- {
296
- "type": "text",
297
- "notNull": true,
298
- "autoincrement": false,
299
- "default": null,
300
- "generated": null,
301
- "name": "project_id",
302
- "entityType": "columns",
303
- "table": "session"
304
- },
305
- {
306
- "type": "text",
307
- "notNull": false,
308
- "autoincrement": false,
309
- "default": null,
310
- "generated": null,
311
- "name": "parent_id",
312
- "entityType": "columns",
313
- "table": "session"
314
- },
315
- {
316
- "type": "text",
317
- "notNull": true,
318
- "autoincrement": false,
319
- "default": null,
320
- "generated": null,
321
- "name": "slug",
322
- "entityType": "columns",
323
- "table": "session"
324
- },
325
- {
326
- "type": "text",
327
- "notNull": true,
328
- "autoincrement": false,
329
- "default": null,
330
- "generated": null,
331
- "name": "directory",
332
- "entityType": "columns",
333
- "table": "session"
334
- },
335
- {
336
- "type": "text",
337
- "notNull": true,
338
- "autoincrement": false,
339
- "default": null,
340
- "generated": null,
341
- "name": "title",
342
- "entityType": "columns",
343
- "table": "session"
344
- },
345
- {
346
- "type": "text",
347
- "notNull": true,
348
- "autoincrement": false,
349
- "default": null,
350
- "generated": null,
351
- "name": "version",
352
- "entityType": "columns",
353
- "table": "session"
354
- },
355
- {
356
- "type": "text",
357
- "notNull": false,
358
- "autoincrement": false,
359
- "default": null,
360
- "generated": null,
361
- "name": "share_url",
362
- "entityType": "columns",
363
- "table": "session"
364
- },
365
- {
366
- "type": "integer",
367
- "notNull": false,
368
- "autoincrement": false,
369
- "default": null,
370
- "generated": null,
371
- "name": "summary_additions",
372
- "entityType": "columns",
373
- "table": "session"
374
- },
375
- {
376
- "type": "integer",
377
- "notNull": false,
378
- "autoincrement": false,
379
- "default": null,
380
- "generated": null,
381
- "name": "summary_deletions",
382
- "entityType": "columns",
383
- "table": "session"
384
- },
385
- {
386
- "type": "integer",
387
- "notNull": false,
388
- "autoincrement": false,
389
- "default": null,
390
- "generated": null,
391
- "name": "summary_files",
392
- "entityType": "columns",
393
- "table": "session"
394
- },
395
- {
396
- "type": "text",
397
- "notNull": false,
398
- "autoincrement": false,
399
- "default": null,
400
- "generated": null,
401
- "name": "summary_diffs",
402
- "entityType": "columns",
403
- "table": "session"
404
- },
405
- {
406
- "type": "text",
407
- "notNull": false,
408
- "autoincrement": false,
409
- "default": null,
410
- "generated": null,
411
- "name": "revert",
412
- "entityType": "columns",
413
- "table": "session"
414
- },
415
- {
416
- "type": "text",
417
- "notNull": false,
418
- "autoincrement": false,
419
- "default": null,
420
- "generated": null,
421
- "name": "permission",
422
- "entityType": "columns",
423
- "table": "session"
424
- },
425
- {
426
- "type": "integer",
427
- "notNull": true,
428
- "autoincrement": false,
429
- "default": null,
430
- "generated": null,
431
- "name": "time_created",
432
- "entityType": "columns",
433
- "table": "session"
434
- },
435
- {
436
- "type": "integer",
437
- "notNull": true,
438
- "autoincrement": false,
439
- "default": null,
440
- "generated": null,
441
- "name": "time_updated",
442
- "entityType": "columns",
443
- "table": "session"
444
- },
445
- {
446
- "type": "integer",
447
- "notNull": false,
448
- "autoincrement": false,
449
- "default": null,
450
- "generated": null,
451
- "name": "time_compacting",
452
- "entityType": "columns",
453
- "table": "session"
454
- },
455
- {
456
- "type": "integer",
457
- "notNull": false,
458
- "autoincrement": false,
459
- "default": null,
460
- "generated": null,
461
- "name": "time_archived",
462
- "entityType": "columns",
463
- "table": "session"
464
- },
465
- {
466
- "type": "text",
467
- "notNull": true,
468
- "autoincrement": false,
469
- "default": null,
470
- "generated": null,
471
- "name": "session_id",
472
- "entityType": "columns",
473
- "table": "todo"
474
- },
475
- {
476
- "type": "text",
477
- "notNull": true,
478
- "autoincrement": false,
479
- "default": null,
480
- "generated": null,
481
- "name": "content",
482
- "entityType": "columns",
483
- "table": "todo"
484
- },
485
- {
486
- "type": "text",
487
- "notNull": true,
488
- "autoincrement": false,
489
- "default": null,
490
- "generated": null,
491
- "name": "status",
492
- "entityType": "columns",
493
- "table": "todo"
494
- },
495
- {
496
- "type": "text",
497
- "notNull": true,
498
- "autoincrement": false,
499
- "default": null,
500
- "generated": null,
501
- "name": "priority",
502
- "entityType": "columns",
503
- "table": "todo"
504
- },
505
- {
506
- "type": "integer",
507
- "notNull": true,
508
- "autoincrement": false,
509
- "default": null,
510
- "generated": null,
511
- "name": "position",
512
- "entityType": "columns",
513
- "table": "todo"
514
- },
515
- {
516
- "type": "integer",
517
- "notNull": true,
518
- "autoincrement": false,
519
- "default": null,
520
- "generated": null,
521
- "name": "time_created",
522
- "entityType": "columns",
523
- "table": "todo"
524
- },
525
- {
526
- "type": "integer",
527
- "notNull": true,
528
- "autoincrement": false,
529
- "default": null,
530
- "generated": null,
531
- "name": "time_updated",
532
- "entityType": "columns",
533
- "table": "todo"
534
- },
535
- {
536
- "type": "text",
537
- "notNull": false,
538
- "autoincrement": false,
539
- "default": null,
540
- "generated": null,
541
- "name": "session_id",
542
- "entityType": "columns",
543
- "table": "session_share"
544
- },
545
- {
546
- "type": "text",
547
- "notNull": true,
548
- "autoincrement": false,
549
- "default": null,
550
- "generated": null,
551
- "name": "id",
552
- "entityType": "columns",
553
- "table": "session_share"
554
- },
555
- {
556
- "type": "text",
557
- "notNull": true,
558
- "autoincrement": false,
559
- "default": null,
560
- "generated": null,
561
- "name": "secret",
562
- "entityType": "columns",
563
- "table": "session_share"
564
- },
565
- {
566
- "type": "text",
567
- "notNull": true,
568
- "autoincrement": false,
569
- "default": null,
570
- "generated": null,
571
- "name": "url",
572
- "entityType": "columns",
573
- "table": "session_share"
574
- },
575
- {
576
- "type": "integer",
577
- "notNull": true,
578
- "autoincrement": false,
579
- "default": null,
580
- "generated": null,
581
- "name": "time_created",
582
- "entityType": "columns",
583
- "table": "session_share"
584
- },
585
- {
586
- "type": "integer",
587
- "notNull": true,
588
- "autoincrement": false,
589
- "default": null,
590
- "generated": null,
591
- "name": "time_updated",
592
- "entityType": "columns",
593
- "table": "session_share"
594
- },
595
- {
596
- "columns": ["session_id"],
597
- "tableTo": "session",
598
- "columnsTo": ["id"],
599
- "onUpdate": "NO ACTION",
600
- "onDelete": "CASCADE",
601
- "nameExplicit": false,
602
- "name": "fk_message_session_id_session_id_fk",
603
- "entityType": "fks",
604
- "table": "message"
605
- },
606
- {
607
- "columns": ["message_id"],
608
- "tableTo": "message",
609
- "columnsTo": ["id"],
610
- "onUpdate": "NO ACTION",
611
- "onDelete": "CASCADE",
612
- "nameExplicit": false,
613
- "name": "fk_part_message_id_message_id_fk",
614
- "entityType": "fks",
615
- "table": "part"
616
- },
617
- {
618
- "columns": ["project_id"],
619
- "tableTo": "project",
620
- "columnsTo": ["id"],
621
- "onUpdate": "NO ACTION",
622
- "onDelete": "CASCADE",
623
- "nameExplicit": false,
624
- "name": "fk_permission_project_id_project_id_fk",
625
- "entityType": "fks",
626
- "table": "permission"
627
- },
628
- {
629
- "columns": ["project_id"],
630
- "tableTo": "project",
631
- "columnsTo": ["id"],
632
- "onUpdate": "NO ACTION",
633
- "onDelete": "CASCADE",
634
- "nameExplicit": false,
635
- "name": "fk_session_project_id_project_id_fk",
636
- "entityType": "fks",
637
- "table": "session"
638
- },
639
- {
640
- "columns": ["session_id"],
641
- "tableTo": "session",
642
- "columnsTo": ["id"],
643
- "onUpdate": "NO ACTION",
644
- "onDelete": "CASCADE",
645
- "nameExplicit": false,
646
- "name": "fk_todo_session_id_session_id_fk",
647
- "entityType": "fks",
648
- "table": "todo"
649
- },
650
- {
651
- "columns": ["session_id"],
652
- "tableTo": "session",
653
- "columnsTo": ["id"],
654
- "onUpdate": "NO ACTION",
655
- "onDelete": "CASCADE",
656
- "nameExplicit": false,
657
- "name": "fk_session_share_session_id_session_id_fk",
658
- "entityType": "fks",
659
- "table": "session_share"
660
- },
661
- {
662
- "columns": ["session_id", "position"],
663
- "nameExplicit": false,
664
- "name": "todo_pk",
665
- "entityType": "pks",
666
- "table": "todo"
667
- },
668
- {
669
- "columns": ["id"],
670
- "nameExplicit": false,
671
- "name": "project_pk",
672
- "table": "project",
673
- "entityType": "pks"
674
- },
675
- {
676
- "columns": ["id"],
677
- "nameExplicit": false,
678
- "name": "message_pk",
679
- "table": "message",
680
- "entityType": "pks"
681
- },
682
- {
683
- "columns": ["id"],
684
- "nameExplicit": false,
685
- "name": "part_pk",
686
- "table": "part",
687
- "entityType": "pks"
688
- },
689
- {
690
- "columns": ["project_id"],
691
- "nameExplicit": false,
692
- "name": "permission_pk",
693
- "table": "permission",
694
- "entityType": "pks"
695
- },
696
- {
697
- "columns": ["id"],
698
- "nameExplicit": false,
699
- "name": "session_pk",
700
- "table": "session",
701
- "entityType": "pks"
702
- },
703
- {
704
- "columns": ["session_id"],
705
- "nameExplicit": false,
706
- "name": "session_share_pk",
707
- "table": "session_share",
708
- "entityType": "pks"
709
- },
710
- {
711
- "columns": [
712
- {
713
- "value": "session_id",
714
- "isExpression": false
715
- }
716
- ],
717
- "isUnique": false,
718
- "where": null,
719
- "origin": "manual",
720
- "name": "message_session_idx",
721
- "entityType": "indexes",
722
- "table": "message"
723
- },
724
- {
725
- "columns": [
726
- {
727
- "value": "message_id",
728
- "isExpression": false
729
- }
730
- ],
731
- "isUnique": false,
732
- "where": null,
733
- "origin": "manual",
734
- "name": "part_message_idx",
735
- "entityType": "indexes",
736
- "table": "part"
737
- },
738
- {
739
- "columns": [
740
- {
741
- "value": "session_id",
742
- "isExpression": false
743
- }
744
- ],
745
- "isUnique": false,
746
- "where": null,
747
- "origin": "manual",
748
- "name": "part_session_idx",
749
- "entityType": "indexes",
750
- "table": "part"
751
- },
752
- {
753
- "columns": [
754
- {
755
- "value": "project_id",
756
- "isExpression": false
757
- }
758
- ],
759
- "isUnique": false,
760
- "where": null,
761
- "origin": "manual",
762
- "name": "session_project_idx",
763
- "entityType": "indexes",
764
- "table": "session"
765
- },
766
- {
767
- "columns": [
768
- {
769
- "value": "parent_id",
770
- "isExpression": false
771
- }
772
- ],
773
- "isUnique": false,
774
- "where": null,
775
- "origin": "manual",
776
- "name": "session_parent_idx",
777
- "entityType": "indexes",
778
- "table": "session"
779
- },
780
- {
781
- "columns": [
782
- {
783
- "value": "session_id",
784
- "isExpression": false
785
- }
786
- ],
787
- "isUnique": false,
788
- "where": null,
789
- "origin": "manual",
790
- "name": "todo_session_idx",
791
- "entityType": "indexes",
792
- "table": "todo"
793
- }
794
- ],
795
- "renames": []
796
- }