wizards 0.2.25 → 0.2.27

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 (126) hide show
  1. package/apps/runtime/dist/agents/architect.js +5 -0
  2. package/apps/runtime/dist/agents/project-assistant.js +10 -1
  3. package/apps/runtime/dist/authoring/guide.js +61 -8
  4. package/apps/runtime/dist/connectors/builtin.js +17 -1
  5. package/apps/runtime/dist/connectors/index.js +43 -14
  6. package/apps/runtime/dist/connectors/plugin-connections.js +248 -0
  7. package/apps/runtime/dist/connectors/via-account.js +63 -0
  8. package/apps/runtime/dist/credits/estimate.js +12 -2
  9. package/apps/runtime/dist/db/migrations/tenant/0010_plugin_connection.sql +15 -0
  10. package/apps/runtime/dist/db/migrations/tenant/meta/0010_snapshot.json +2942 -0
  11. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +7 -0
  12. package/apps/runtime/dist/db/schema.js +21 -0
  13. package/apps/runtime/dist/engenty/connections-google/connectors/calendar.js +25 -3
  14. package/apps/runtime/dist/engenty/connections-microsoft/outlook.js +29 -1
  15. package/apps/runtime/dist/engine/decide.js +82 -0
  16. package/apps/runtime/dist/engine/input.js +21 -5
  17. package/apps/runtime/dist/engine/requirements.js +80 -15
  18. package/apps/runtime/dist/engine/runner.js +252 -6
  19. package/apps/runtime/dist/engine/steps.js +206 -18
  20. package/apps/runtime/dist/engine/surface.js +90 -0
  21. package/apps/runtime/dist/mcp/tools.js +3 -2
  22. package/apps/runtime/dist/plugins/loader.js +22 -1
  23. package/apps/runtime/dist/plugins/registry.js +10 -0
  24. package/apps/runtime/dist/render/downloads.js +7 -0
  25. package/apps/runtime/dist/routes/runs.js +28 -7
  26. package/apps/runtime/dist/routes/studio.js +3 -1
  27. package/apps/runtime/dist/services/marketplace.js +134 -3
  28. package/apps/runtime/dist/services/relevance.js +17 -49
  29. package/apps/runtime/dist/services/runs.js +43 -15
  30. package/apps/runtime/dist/services/wizards.js +4 -2
  31. package/apps/runtime/dist/tools/pages.js +31 -6
  32. package/apps/runtime/dist/tools/plugin.js +29 -1
  33. package/apps/web/dist/assets/Account-DW396ig5.js +1 -0
  34. package/apps/web/dist/assets/{ChangelogDialog-B7C0r9dF.js → ChangelogDialog-BdZ1SmEd.js} +1 -1
  35. package/apps/web/dist/assets/CreditsDialog-fOYdoev3.js +1 -0
  36. package/apps/web/dist/assets/EditorPage-CAARFsaI.js +3 -0
  37. package/apps/web/dist/assets/{FlowPreview-D0m5Qk6S.js → FlowPreview-U2AEnKlX.js} +1 -1
  38. package/apps/web/dist/assets/{Harness-bIL3pHB_.js → Harness-CtDlm_2b.js} +2 -2
  39. package/apps/web/dist/assets/HomePage-Bd-mkLxW.js +1 -0
  40. package/apps/web/dist/assets/ImportWizard-BMPGjd_t.js +1 -0
  41. package/apps/web/dist/assets/LocalRuntime-DjSNCRnV.js +1 -0
  42. package/apps/web/dist/assets/NewWizardPage-DZPcDR9i.js +2 -0
  43. package/apps/web/dist/assets/ProjectPage-_LAtG3tn.js +2 -0
  44. package/apps/web/dist/assets/PublicRunner-6Iqp0DmU.js +1 -0
  45. package/apps/web/dist/assets/RunDrawer-CtQoY3Ha.js +4 -0
  46. package/apps/web/dist/assets/RunnerView-BLOCNZaZ.js +2 -0
  47. package/apps/web/dist/assets/SettingsPage-Z6skBf6I.js +1 -0
  48. package/apps/web/dist/assets/SetupPage-4-Lic4pT.js +1 -0
  49. package/apps/web/dist/assets/SharePage-DfdhXxZm.js +1 -0
  50. package/apps/web/dist/assets/arrow-right-BOtqnsA1.js +1 -0
  51. package/apps/web/dist/assets/brand-CCAI9p0f.js +2 -0
  52. package/apps/web/dist/assets/changelog-DQM0oz9S.js +1 -0
  53. package/apps/web/dist/assets/circle-alert-BC6xmJ9r.js +1 -0
  54. package/apps/web/dist/assets/definition-D5V79jHA.js +1 -0
  55. package/apps/web/dist/assets/esm-FEWi61F_.js +7 -0
  56. package/apps/web/dist/assets/external-link-wKL1HE6G.js +1 -0
  57. package/apps/web/dist/assets/image-BMdSChOR.js +1 -0
  58. package/apps/web/dist/assets/index-BOp2fz-2.css +1 -0
  59. package/apps/web/dist/assets/index-YJMooz0J.js +132 -0
  60. package/apps/web/dist/assets/lock-BpqzLMuv.js +1 -0
  61. package/apps/web/dist/assets/meta-BqZ7SlZz.js +1 -0
  62. package/apps/web/dist/assets/pen-line-DM-u0dES.js +1 -0
  63. package/apps/web/dist/assets/refresh-cw-Bk7HkOIM.js +1 -0
  64. package/apps/web/dist/assets/settings-menu-BM_NfZfn.js +1 -0
  65. package/apps/web/dist/assets/star-JHzYYl5R.js +1 -0
  66. package/apps/web/dist/assets/trash-CdLg-Ela.js +1 -0
  67. package/apps/web/dist/assets/ui-8QmvuC9u.js +9 -0
  68. package/apps/web/dist/assets/upload-CL1R6shM.js +1 -0
  69. package/apps/web/dist/assets/video-BioLmXNO.js +1 -0
  70. package/apps/web/dist/assets/volume-2-_IOfPNCv.js +1 -0
  71. package/apps/web/dist/assets/wand-sparkles-DYtDQSJZ.js +1 -0
  72. package/apps/web/dist/index.html +4 -5
  73. package/apps/web/dist/mcp/flow.html +61 -61
  74. package/node_modules/@engenty-wizards/plugin-sdk/dist/index.d.ts +85 -0
  75. package/node_modules/@engenty-wizards/plugin-sdk/dist/studio.d.ts +23 -0
  76. package/node_modules/@engenty-wizards/shared/dist/decision.d.ts +76 -0
  77. package/node_modules/@engenty-wizards/shared/dist/decision.js +147 -0
  78. package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +1076 -51
  79. package/node_modules/@engenty-wizards/shared/dist/definition.js +597 -44
  80. package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.js +19 -2
  81. package/node_modules/@engenty-wizards/shared/dist/marketplace.d.ts +6 -1
  82. package/node_modules/@engenty-wizards/shared/dist/run.d.ts +55 -0
  83. package/node_modules/@engenty-wizards/shared/dist/run.js +3 -0
  84. package/node_modules/@engenty-wizards/shared/dist/surface.d.ts +89 -0
  85. package/node_modules/@engenty-wizards/shared/dist/surface.js +198 -0
  86. package/package.json +1 -1
  87. package/apps/web/dist/assets/Account-CpxsROpe.js +0 -1
  88. package/apps/web/dist/assets/CreditsDialog-Com2Y3g8.js +0 -1
  89. package/apps/web/dist/assets/EditorPage-BCagWjrz.js +0 -2
  90. package/apps/web/dist/assets/HomePage-DPE_Z9HB.js +0 -1
  91. package/apps/web/dist/assets/ImportWizard-Dz2uKznp.js +0 -1
  92. package/apps/web/dist/assets/LocalRuntime-wMKUVZOu.js +0 -1
  93. package/apps/web/dist/assets/NewWizardPage-BOxU2jWq.js +0 -2
  94. package/apps/web/dist/assets/ProjectPage-BJp2wqIk.js +0 -5
  95. package/apps/web/dist/assets/PublicRunner-BsrqVK0J.js +0 -1
  96. package/apps/web/dist/assets/RunDrawer-CLfJ0W_V.js +0 -1
  97. package/apps/web/dist/assets/RunnerView-BXMELFC4.js +0 -70
  98. package/apps/web/dist/assets/SettingsPage-BkuUm-bf.js +0 -1
  99. package/apps/web/dist/assets/SetupPage-CoyXpcvS.js +0 -1
  100. package/apps/web/dist/assets/SharePage-BuR-he1L.js +0 -1
  101. package/apps/web/dist/assets/api-rJBQEu1G.js +0 -10
  102. package/apps/web/dist/assets/arrow-right-6FyN3e7D.js +0 -1
  103. package/apps/web/dist/assets/changelog-Bmw6dg-T.js +0 -1
  104. package/apps/web/dist/assets/check-CUpby_J9.js +0 -1
  105. package/apps/web/dist/assets/chevron-down-DymW-2BP.js +0 -1
  106. package/apps/web/dist/assets/circle-alert-D2SCwFT-.js +0 -1
  107. package/apps/web/dist/assets/createLucideIcon-q3MZMmnf.js +0 -1
  108. package/apps/web/dist/assets/definition-BznNdlhf.js +0 -55
  109. package/apps/web/dist/assets/esm-BrGYYg2h.js +0 -7
  110. package/apps/web/dist/assets/external-link-MAL7vJYj.js +0 -1
  111. package/apps/web/dist/assets/image-CC_2mJd6.js +0 -1
  112. package/apps/web/dist/assets/index-BZs1IxAk.css +0 -1
  113. package/apps/web/dist/assets/index-Co5QOA9_.js +0 -10
  114. package/apps/web/dist/assets/lock-DZL2N67v.js +0 -1
  115. package/apps/web/dist/assets/meta-B3jzXP27.js +0 -1
  116. package/apps/web/dist/assets/pen-line-NK46C_nG.js +0 -1
  117. package/apps/web/dist/assets/plus-Du-Jx8aI.js +0 -1
  118. package/apps/web/dist/assets/refresh-cw-BNtHis1x.js +0 -1
  119. package/apps/web/dist/assets/settings-menu-CCNUb0Fd.js +0 -1
  120. package/apps/web/dist/assets/table-2-BdDuBcF2.js +0 -1
  121. package/apps/web/dist/assets/trash-0IafyhZB.js +0 -1
  122. package/apps/web/dist/assets/ui-DJOZSSKo.js +0 -1
  123. package/apps/web/dist/assets/upload-DNRENWzQ.js +0 -1
  124. package/apps/web/dist/assets/video-9fDPRPCv.js +0 -1
  125. package/apps/web/dist/assets/volume-2-DE67_rue.js +0 -1
  126. package/apps/web/dist/assets/wand-sparkles-Clj3VRB5.js +0 -1
@@ -0,0 +1,2942 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "591b27a2-f122-4349-bda6-172eb94eb579",
5
+ "prevId": "7f3d2325-e0aa-45e0-9a6f-a63e6bd948d3",
6
+ "tables": {
7
+ "asset": {
8
+ "name": "asset",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "tenant_id": {
18
+ "name": "tenant_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "run_id": {
25
+ "name": "run_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "step_id": {
32
+ "name": "step_id",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": false,
36
+ "autoincrement": false
37
+ },
38
+ "kind": {
39
+ "name": "kind",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ },
45
+ "mime": {
46
+ "name": "mime",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false
51
+ },
52
+ "name": {
53
+ "name": "name",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": true,
57
+ "autoincrement": false
58
+ },
59
+ "path": {
60
+ "name": "path",
61
+ "type": "text",
62
+ "primaryKey": false,
63
+ "notNull": true,
64
+ "autoincrement": false
65
+ },
66
+ "size": {
67
+ "name": "size",
68
+ "type": "integer",
69
+ "primaryKey": false,
70
+ "notNull": true,
71
+ "autoincrement": false
72
+ },
73
+ "created_at": {
74
+ "name": "created_at",
75
+ "type": "integer",
76
+ "primaryKey": false,
77
+ "notNull": true,
78
+ "autoincrement": false,
79
+ "default": "(unixepoch() * 1000)"
80
+ }
81
+ },
82
+ "indexes": {
83
+ "asset_run": {
84
+ "name": "asset_run",
85
+ "columns": [
86
+ "run_id"
87
+ ],
88
+ "isUnique": false
89
+ }
90
+ },
91
+ "foreignKeys": {},
92
+ "compositePrimaryKeys": {},
93
+ "uniqueConstraints": {},
94
+ "checkConstraints": {}
95
+ },
96
+ "marketplace_star": {
97
+ "name": "marketplace_star",
98
+ "columns": {
99
+ "tenant_id": {
100
+ "name": "tenant_id",
101
+ "type": "text",
102
+ "primaryKey": false,
103
+ "notNull": true,
104
+ "autoincrement": false
105
+ },
106
+ "entry_id": {
107
+ "name": "entry_id",
108
+ "type": "text",
109
+ "primaryKey": false,
110
+ "notNull": true,
111
+ "autoincrement": false
112
+ },
113
+ "created_at": {
114
+ "name": "created_at",
115
+ "type": "integer",
116
+ "primaryKey": false,
117
+ "notNull": true,
118
+ "autoincrement": false,
119
+ "default": "(unixepoch() * 1000)"
120
+ }
121
+ },
122
+ "indexes": {},
123
+ "foreignKeys": {},
124
+ "compositePrimaryKeys": {
125
+ "marketplace_star_tenant_id_entry_id_pk": {
126
+ "columns": [
127
+ "tenant_id",
128
+ "entry_id"
129
+ ],
130
+ "name": "marketplace_star_tenant_id_entry_id_pk"
131
+ }
132
+ },
133
+ "uniqueConstraints": {},
134
+ "checkConstraints": {}
135
+ },
136
+ "plugin_connection": {
137
+ "name": "plugin_connection",
138
+ "columns": {
139
+ "id": {
140
+ "name": "id",
141
+ "type": "text",
142
+ "primaryKey": true,
143
+ "notNull": true,
144
+ "autoincrement": false
145
+ },
146
+ "plugin": {
147
+ "name": "plugin",
148
+ "type": "text",
149
+ "primaryKey": false,
150
+ "notNull": true,
151
+ "autoincrement": false
152
+ },
153
+ "project_id": {
154
+ "name": "project_id",
155
+ "type": "text",
156
+ "primaryKey": false,
157
+ "notNull": true,
158
+ "autoincrement": false
159
+ },
160
+ "connector": {
161
+ "name": "connector",
162
+ "type": "text",
163
+ "primaryKey": false,
164
+ "notNull": true,
165
+ "autoincrement": false
166
+ },
167
+ "label": {
168
+ "name": "label",
169
+ "type": "text",
170
+ "primaryKey": false,
171
+ "notNull": true,
172
+ "autoincrement": false
173
+ },
174
+ "actions": {
175
+ "name": "actions",
176
+ "type": "text",
177
+ "primaryKey": false,
178
+ "notNull": true,
179
+ "autoincrement": false
180
+ },
181
+ "data": {
182
+ "name": "data",
183
+ "type": "text",
184
+ "primaryKey": false,
185
+ "notNull": true,
186
+ "autoincrement": false
187
+ },
188
+ "created_by": {
189
+ "name": "created_by",
190
+ "type": "text",
191
+ "primaryKey": false,
192
+ "notNull": false,
193
+ "autoincrement": false
194
+ },
195
+ "created_at": {
196
+ "name": "created_at",
197
+ "type": "integer",
198
+ "primaryKey": false,
199
+ "notNull": true,
200
+ "autoincrement": false,
201
+ "default": "(unixepoch() * 1000)"
202
+ },
203
+ "updated_at": {
204
+ "name": "updated_at",
205
+ "type": "integer",
206
+ "primaryKey": false,
207
+ "notNull": true,
208
+ "autoincrement": false,
209
+ "default": "(unixepoch() * 1000)"
210
+ }
211
+ },
212
+ "indexes": {
213
+ "plugin_connection_space": {
214
+ "name": "plugin_connection_space",
215
+ "columns": [
216
+ "plugin",
217
+ "project_id"
218
+ ],
219
+ "isUnique": false
220
+ }
221
+ },
222
+ "foreignKeys": {
223
+ "plugin_connection_project_id_project_id_fk": {
224
+ "name": "plugin_connection_project_id_project_id_fk",
225
+ "tableFrom": "plugin_connection",
226
+ "tableTo": "project",
227
+ "columnsFrom": [
228
+ "project_id"
229
+ ],
230
+ "columnsTo": [
231
+ "id"
232
+ ],
233
+ "onDelete": "cascade",
234
+ "onUpdate": "no action"
235
+ }
236
+ },
237
+ "compositePrimaryKeys": {},
238
+ "uniqueConstraints": {},
239
+ "checkConstraints": {}
240
+ },
241
+ "project": {
242
+ "name": "project",
243
+ "columns": {
244
+ "id": {
245
+ "name": "id",
246
+ "type": "text",
247
+ "primaryKey": true,
248
+ "notNull": true,
249
+ "autoincrement": false
250
+ },
251
+ "tenant_id": {
252
+ "name": "tenant_id",
253
+ "type": "text",
254
+ "primaryKey": false,
255
+ "notNull": true,
256
+ "autoincrement": false
257
+ },
258
+ "name": {
259
+ "name": "name",
260
+ "type": "text",
261
+ "primaryKey": false,
262
+ "notNull": true,
263
+ "autoincrement": false
264
+ },
265
+ "brand": {
266
+ "name": "brand",
267
+ "type": "text",
268
+ "primaryKey": false,
269
+ "notNull": true,
270
+ "autoincrement": false,
271
+ "default": "'{}'"
272
+ },
273
+ "facts": {
274
+ "name": "facts",
275
+ "type": "text",
276
+ "primaryKey": false,
277
+ "notNull": true,
278
+ "autoincrement": false,
279
+ "default": "'[]'"
280
+ },
281
+ "mcp_servers": {
282
+ "name": "mcp_servers",
283
+ "type": "text",
284
+ "primaryKey": false,
285
+ "notNull": true,
286
+ "autoincrement": false,
287
+ "default": "'[]'"
288
+ },
289
+ "origin": {
290
+ "name": "origin",
291
+ "type": "text",
292
+ "primaryKey": false,
293
+ "notNull": false,
294
+ "autoincrement": false
295
+ },
296
+ "synced_at": {
297
+ "name": "synced_at",
298
+ "type": "integer",
299
+ "primaryKey": false,
300
+ "notNull": false,
301
+ "autoincrement": false
302
+ },
303
+ "created_at": {
304
+ "name": "created_at",
305
+ "type": "integer",
306
+ "primaryKey": false,
307
+ "notNull": true,
308
+ "autoincrement": false,
309
+ "default": "(unixepoch() * 1000)"
310
+ },
311
+ "updated_at": {
312
+ "name": "updated_at",
313
+ "type": "integer",
314
+ "primaryKey": false,
315
+ "notNull": true,
316
+ "autoincrement": false,
317
+ "default": "(unixepoch() * 1000)"
318
+ }
319
+ },
320
+ "indexes": {
321
+ "project_tenant": {
322
+ "name": "project_tenant",
323
+ "columns": [
324
+ "tenant_id"
325
+ ],
326
+ "isUnique": false
327
+ }
328
+ },
329
+ "foreignKeys": {},
330
+ "compositePrimaryKeys": {},
331
+ "uniqueConstraints": {},
332
+ "checkConstraints": {}
333
+ },
334
+ "project_chunk": {
335
+ "name": "project_chunk",
336
+ "columns": {
337
+ "id": {
338
+ "name": "id",
339
+ "type": "integer",
340
+ "primaryKey": true,
341
+ "notNull": true,
342
+ "autoincrement": true
343
+ },
344
+ "project_id": {
345
+ "name": "project_id",
346
+ "type": "text",
347
+ "primaryKey": false,
348
+ "notNull": true,
349
+ "autoincrement": false
350
+ },
351
+ "file_id": {
352
+ "name": "file_id",
353
+ "type": "text",
354
+ "primaryKey": false,
355
+ "notNull": false,
356
+ "autoincrement": false
357
+ },
358
+ "page_id": {
359
+ "name": "page_id",
360
+ "type": "text",
361
+ "primaryKey": false,
362
+ "notNull": false,
363
+ "autoincrement": false
364
+ },
365
+ "row_id": {
366
+ "name": "row_id",
367
+ "type": "text",
368
+ "primaryKey": false,
369
+ "notNull": false,
370
+ "autoincrement": false
371
+ },
372
+ "table_id": {
373
+ "name": "table_id",
374
+ "type": "text",
375
+ "primaryKey": false,
376
+ "notNull": false,
377
+ "autoincrement": false
378
+ },
379
+ "value_id": {
380
+ "name": "value_id",
381
+ "type": "text",
382
+ "primaryKey": false,
383
+ "notNull": false,
384
+ "autoincrement": false
385
+ },
386
+ "heading": {
387
+ "name": "heading",
388
+ "type": "text",
389
+ "primaryKey": false,
390
+ "notNull": false,
391
+ "autoincrement": false
392
+ },
393
+ "sheet": {
394
+ "name": "sheet",
395
+ "type": "integer",
396
+ "primaryKey": false,
397
+ "notNull": false,
398
+ "autoincrement": false
399
+ },
400
+ "plugin": {
401
+ "name": "plugin",
402
+ "type": "text",
403
+ "primaryKey": false,
404
+ "notNull": false,
405
+ "autoincrement": false
406
+ },
407
+ "ref": {
408
+ "name": "ref",
409
+ "type": "text",
410
+ "primaryKey": false,
411
+ "notNull": false,
412
+ "autoincrement": false
413
+ },
414
+ "title": {
415
+ "name": "title",
416
+ "type": "text",
417
+ "primaryKey": false,
418
+ "notNull": false,
419
+ "autoincrement": false
420
+ },
421
+ "link": {
422
+ "name": "link",
423
+ "type": "text",
424
+ "primaryKey": false,
425
+ "notNull": false,
426
+ "autoincrement": false
427
+ },
428
+ "idx": {
429
+ "name": "idx",
430
+ "type": "integer",
431
+ "primaryKey": false,
432
+ "notNull": true,
433
+ "autoincrement": false
434
+ },
435
+ "text": {
436
+ "name": "text",
437
+ "type": "text",
438
+ "primaryKey": false,
439
+ "notNull": true,
440
+ "autoincrement": false
441
+ },
442
+ "embedding": {
443
+ "name": "embedding",
444
+ "type": "blob",
445
+ "primaryKey": false,
446
+ "notNull": false,
447
+ "autoincrement": false
448
+ },
449
+ "model": {
450
+ "name": "model",
451
+ "type": "text",
452
+ "primaryKey": false,
453
+ "notNull": false,
454
+ "autoincrement": false
455
+ }
456
+ },
457
+ "indexes": {
458
+ "project_chunk_project": {
459
+ "name": "project_chunk_project",
460
+ "columns": [
461
+ "project_id",
462
+ "model"
463
+ ],
464
+ "isUnique": false
465
+ },
466
+ "project_chunk_file": {
467
+ "name": "project_chunk_file",
468
+ "columns": [
469
+ "file_id"
470
+ ],
471
+ "isUnique": false
472
+ },
473
+ "project_chunk_ref": {
474
+ "name": "project_chunk_ref",
475
+ "columns": [
476
+ "project_id",
477
+ "plugin",
478
+ "ref"
479
+ ],
480
+ "isUnique": false
481
+ },
482
+ "project_chunk_page": {
483
+ "name": "project_chunk_page",
484
+ "columns": [
485
+ "page_id"
486
+ ],
487
+ "isUnique": false
488
+ },
489
+ "project_chunk_row": {
490
+ "name": "project_chunk_row",
491
+ "columns": [
492
+ "row_id"
493
+ ],
494
+ "isUnique": false
495
+ },
496
+ "project_chunk_table": {
497
+ "name": "project_chunk_table",
498
+ "columns": [
499
+ "table_id"
500
+ ],
501
+ "isUnique": false
502
+ },
503
+ "project_chunk_value": {
504
+ "name": "project_chunk_value",
505
+ "columns": [
506
+ "value_id"
507
+ ],
508
+ "isUnique": false
509
+ }
510
+ },
511
+ "foreignKeys": {
512
+ "project_chunk_project_id_project_id_fk": {
513
+ "name": "project_chunk_project_id_project_id_fk",
514
+ "tableFrom": "project_chunk",
515
+ "tableTo": "project",
516
+ "columnsFrom": [
517
+ "project_id"
518
+ ],
519
+ "columnsTo": [
520
+ "id"
521
+ ],
522
+ "onDelete": "cascade",
523
+ "onUpdate": "no action"
524
+ },
525
+ "project_chunk_file_id_project_file_id_fk": {
526
+ "name": "project_chunk_file_id_project_file_id_fk",
527
+ "tableFrom": "project_chunk",
528
+ "tableTo": "project_file",
529
+ "columnsFrom": [
530
+ "file_id"
531
+ ],
532
+ "columnsTo": [
533
+ "id"
534
+ ],
535
+ "onDelete": "cascade",
536
+ "onUpdate": "no action"
537
+ },
538
+ "project_chunk_page_id_space_page_id_fk": {
539
+ "name": "project_chunk_page_id_space_page_id_fk",
540
+ "tableFrom": "project_chunk",
541
+ "tableTo": "space_page",
542
+ "columnsFrom": [
543
+ "page_id"
544
+ ],
545
+ "columnsTo": [
546
+ "id"
547
+ ],
548
+ "onDelete": "cascade",
549
+ "onUpdate": "no action"
550
+ },
551
+ "project_chunk_row_id_space_table_row_id_fk": {
552
+ "name": "project_chunk_row_id_space_table_row_id_fk",
553
+ "tableFrom": "project_chunk",
554
+ "tableTo": "space_table_row",
555
+ "columnsFrom": [
556
+ "row_id"
557
+ ],
558
+ "columnsTo": [
559
+ "id"
560
+ ],
561
+ "onDelete": "cascade",
562
+ "onUpdate": "no action"
563
+ },
564
+ "project_chunk_table_id_space_table_id_fk": {
565
+ "name": "project_chunk_table_id_space_table_id_fk",
566
+ "tableFrom": "project_chunk",
567
+ "tableTo": "space_table",
568
+ "columnsFrom": [
569
+ "table_id"
570
+ ],
571
+ "columnsTo": [
572
+ "id"
573
+ ],
574
+ "onDelete": "cascade",
575
+ "onUpdate": "no action"
576
+ },
577
+ "project_chunk_value_id_space_category_value_id_fk": {
578
+ "name": "project_chunk_value_id_space_category_value_id_fk",
579
+ "tableFrom": "project_chunk",
580
+ "tableTo": "space_category_value",
581
+ "columnsFrom": [
582
+ "value_id"
583
+ ],
584
+ "columnsTo": [
585
+ "id"
586
+ ],
587
+ "onDelete": "cascade",
588
+ "onUpdate": "no action"
589
+ }
590
+ },
591
+ "compositePrimaryKeys": {},
592
+ "uniqueConstraints": {},
593
+ "checkConstraints": {}
594
+ },
595
+ "project_connector": {
596
+ "name": "project_connector",
597
+ "columns": {
598
+ "project_id": {
599
+ "name": "project_id",
600
+ "type": "text",
601
+ "primaryKey": false,
602
+ "notNull": true,
603
+ "autoincrement": false
604
+ },
605
+ "id": {
606
+ "name": "id",
607
+ "type": "text",
608
+ "primaryKey": false,
609
+ "notNull": true,
610
+ "autoincrement": false
611
+ },
612
+ "record": {
613
+ "name": "record",
614
+ "type": "text",
615
+ "primaryKey": false,
616
+ "notNull": true,
617
+ "autoincrement": false
618
+ },
619
+ "created_at": {
620
+ "name": "created_at",
621
+ "type": "integer",
622
+ "primaryKey": false,
623
+ "notNull": true,
624
+ "autoincrement": false,
625
+ "default": "(unixepoch() * 1000)"
626
+ },
627
+ "updated_at": {
628
+ "name": "updated_at",
629
+ "type": "integer",
630
+ "primaryKey": false,
631
+ "notNull": true,
632
+ "autoincrement": false,
633
+ "default": "(unixepoch() * 1000)"
634
+ }
635
+ },
636
+ "indexes": {},
637
+ "foreignKeys": {
638
+ "project_connector_project_id_project_id_fk": {
639
+ "name": "project_connector_project_id_project_id_fk",
640
+ "tableFrom": "project_connector",
641
+ "tableTo": "project",
642
+ "columnsFrom": [
643
+ "project_id"
644
+ ],
645
+ "columnsTo": [
646
+ "id"
647
+ ],
648
+ "onDelete": "cascade",
649
+ "onUpdate": "no action"
650
+ }
651
+ },
652
+ "compositePrimaryKeys": {
653
+ "project_connector_project_id_id_pk": {
654
+ "columns": [
655
+ "project_id",
656
+ "id"
657
+ ],
658
+ "name": "project_connector_project_id_id_pk"
659
+ }
660
+ },
661
+ "uniqueConstraints": {},
662
+ "checkConstraints": {}
663
+ },
664
+ "project_file": {
665
+ "name": "project_file",
666
+ "columns": {
667
+ "id": {
668
+ "name": "id",
669
+ "type": "text",
670
+ "primaryKey": true,
671
+ "notNull": true,
672
+ "autoincrement": false
673
+ },
674
+ "project_id": {
675
+ "name": "project_id",
676
+ "type": "text",
677
+ "primaryKey": false,
678
+ "notNull": true,
679
+ "autoincrement": false
680
+ },
681
+ "kind": {
682
+ "name": "kind",
683
+ "type": "text",
684
+ "primaryKey": false,
685
+ "notNull": true,
686
+ "autoincrement": false
687
+ },
688
+ "name": {
689
+ "name": "name",
690
+ "type": "text",
691
+ "primaryKey": false,
692
+ "notNull": true,
693
+ "autoincrement": false
694
+ },
695
+ "mime": {
696
+ "name": "mime",
697
+ "type": "text",
698
+ "primaryKey": false,
699
+ "notNull": true,
700
+ "autoincrement": false
701
+ },
702
+ "size": {
703
+ "name": "size",
704
+ "type": "integer",
705
+ "primaryKey": false,
706
+ "notNull": true,
707
+ "autoincrement": false
708
+ },
709
+ "description": {
710
+ "name": "description",
711
+ "type": "text",
712
+ "primaryKey": false,
713
+ "notNull": true,
714
+ "autoincrement": false,
715
+ "default": "''"
716
+ },
717
+ "source": {
718
+ "name": "source",
719
+ "type": "text",
720
+ "primaryKey": false,
721
+ "notNull": false,
722
+ "autoincrement": false
723
+ },
724
+ "position": {
725
+ "name": "position",
726
+ "type": "integer",
727
+ "primaryKey": false,
728
+ "notNull": true,
729
+ "autoincrement": false,
730
+ "default": 0
731
+ },
732
+ "status": {
733
+ "name": "status",
734
+ "type": "text",
735
+ "primaryKey": false,
736
+ "notNull": true,
737
+ "autoincrement": false,
738
+ "default": "'ready'"
739
+ },
740
+ "error": {
741
+ "name": "error",
742
+ "type": "text",
743
+ "primaryKey": false,
744
+ "notNull": false,
745
+ "autoincrement": false
746
+ },
747
+ "text_hash": {
748
+ "name": "text_hash",
749
+ "type": "text",
750
+ "primaryKey": false,
751
+ "notNull": false,
752
+ "autoincrement": false
753
+ },
754
+ "pages": {
755
+ "name": "pages",
756
+ "type": "integer",
757
+ "primaryKey": false,
758
+ "notNull": false,
759
+ "autoincrement": false
760
+ },
761
+ "chars": {
762
+ "name": "chars",
763
+ "type": "integer",
764
+ "primaryKey": false,
765
+ "notNull": false,
766
+ "autoincrement": false
767
+ },
768
+ "indexed": {
769
+ "name": "indexed",
770
+ "type": "text",
771
+ "primaryKey": false,
772
+ "notNull": false,
773
+ "autoincrement": false
774
+ },
775
+ "origin": {
776
+ "name": "origin",
777
+ "type": "text",
778
+ "primaryKey": false,
779
+ "notNull": false,
780
+ "autoincrement": false
781
+ },
782
+ "origin_key": {
783
+ "name": "origin_key",
784
+ "type": "text",
785
+ "primaryKey": false,
786
+ "notNull": false,
787
+ "autoincrement": false
788
+ },
789
+ "origin_label": {
790
+ "name": "origin_label",
791
+ "type": "text",
792
+ "primaryKey": false,
793
+ "notNull": false,
794
+ "autoincrement": false
795
+ },
796
+ "created_at": {
797
+ "name": "created_at",
798
+ "type": "integer",
799
+ "primaryKey": false,
800
+ "notNull": true,
801
+ "autoincrement": false,
802
+ "default": "(unixepoch() * 1000)"
803
+ },
804
+ "updated_at": {
805
+ "name": "updated_at",
806
+ "type": "integer",
807
+ "primaryKey": false,
808
+ "notNull": true,
809
+ "autoincrement": false,
810
+ "default": "(unixepoch() * 1000)"
811
+ }
812
+ },
813
+ "indexes": {
814
+ "project_file_project": {
815
+ "name": "project_file_project",
816
+ "columns": [
817
+ "project_id",
818
+ "kind",
819
+ "position"
820
+ ],
821
+ "isUnique": false
822
+ },
823
+ "project_file_origin": {
824
+ "name": "project_file_origin",
825
+ "columns": [
826
+ "project_id",
827
+ "origin",
828
+ "origin_key"
829
+ ],
830
+ "isUnique": true
831
+ }
832
+ },
833
+ "foreignKeys": {
834
+ "project_file_project_id_project_id_fk": {
835
+ "name": "project_file_project_id_project_id_fk",
836
+ "tableFrom": "project_file",
837
+ "tableTo": "project",
838
+ "columnsFrom": [
839
+ "project_id"
840
+ ],
841
+ "columnsTo": [
842
+ "id"
843
+ ],
844
+ "onDelete": "cascade",
845
+ "onUpdate": "no action"
846
+ }
847
+ },
848
+ "compositePrimaryKeys": {},
849
+ "uniqueConstraints": {},
850
+ "checkConstraints": {}
851
+ },
852
+ "run": {
853
+ "name": "run",
854
+ "columns": {
855
+ "id": {
856
+ "name": "id",
857
+ "type": "text",
858
+ "primaryKey": true,
859
+ "notNull": true,
860
+ "autoincrement": false
861
+ },
862
+ "wizard_id": {
863
+ "name": "wizard_id",
864
+ "type": "text",
865
+ "primaryKey": false,
866
+ "notNull": true,
867
+ "autoincrement": false
868
+ },
869
+ "tenant_id": {
870
+ "name": "tenant_id",
871
+ "type": "text",
872
+ "primaryKey": false,
873
+ "notNull": true,
874
+ "autoincrement": false
875
+ },
876
+ "definition": {
877
+ "name": "definition",
878
+ "type": "text",
879
+ "primaryKey": false,
880
+ "notNull": true,
881
+ "autoincrement": false
882
+ },
883
+ "files": {
884
+ "name": "files",
885
+ "type": "text",
886
+ "primaryKey": false,
887
+ "notNull": true,
888
+ "autoincrement": false,
889
+ "default": "'[]'"
890
+ },
891
+ "version": {
892
+ "name": "version",
893
+ "type": "integer",
894
+ "primaryKey": false,
895
+ "notNull": false,
896
+ "autoincrement": false
897
+ },
898
+ "mode": {
899
+ "name": "mode",
900
+ "type": "text",
901
+ "primaryKey": false,
902
+ "notNull": true,
903
+ "autoincrement": false
904
+ },
905
+ "visitor_id": {
906
+ "name": "visitor_id",
907
+ "type": "text",
908
+ "primaryKey": false,
909
+ "notNull": false,
910
+ "autoincrement": false
911
+ },
912
+ "user_id": {
913
+ "name": "user_id",
914
+ "type": "text",
915
+ "primaryKey": false,
916
+ "notNull": false,
917
+ "autoincrement": false
918
+ },
919
+ "ip_hash": {
920
+ "name": "ip_hash",
921
+ "type": "text",
922
+ "primaryKey": false,
923
+ "notNull": false,
924
+ "autoincrement": false
925
+ },
926
+ "status": {
927
+ "name": "status",
928
+ "type": "text",
929
+ "primaryKey": false,
930
+ "notNull": true,
931
+ "autoincrement": false
932
+ },
933
+ "cursor": {
934
+ "name": "cursor",
935
+ "type": "text",
936
+ "primaryKey": false,
937
+ "notNull": false,
938
+ "autoincrement": false
939
+ },
940
+ "state": {
941
+ "name": "state",
942
+ "type": "text",
943
+ "primaryKey": false,
944
+ "notNull": true,
945
+ "autoincrement": false
946
+ },
947
+ "error": {
948
+ "name": "error",
949
+ "type": "text",
950
+ "primaryKey": false,
951
+ "notNull": false,
952
+ "autoincrement": false
953
+ },
954
+ "ask": {
955
+ "name": "ask",
956
+ "type": "text",
957
+ "primaryKey": false,
958
+ "notNull": false,
959
+ "autoincrement": false
960
+ },
961
+ "cost_micros": {
962
+ "name": "cost_micros",
963
+ "type": "integer",
964
+ "primaryKey": false,
965
+ "notNull": true,
966
+ "autoincrement": false,
967
+ "default": 0
968
+ },
969
+ "share_token": {
970
+ "name": "share_token",
971
+ "type": "text",
972
+ "primaryKey": false,
973
+ "notNull": false,
974
+ "autoincrement": false
975
+ },
976
+ "shared_at": {
977
+ "name": "shared_at",
978
+ "type": "integer",
979
+ "primaryKey": false,
980
+ "notNull": false,
981
+ "autoincrement": false
982
+ },
983
+ "expires_at": {
984
+ "name": "expires_at",
985
+ "type": "integer",
986
+ "primaryKey": false,
987
+ "notNull": false,
988
+ "autoincrement": false
989
+ },
990
+ "created_at": {
991
+ "name": "created_at",
992
+ "type": "integer",
993
+ "primaryKey": false,
994
+ "notNull": true,
995
+ "autoincrement": false,
996
+ "default": "(unixepoch() * 1000)"
997
+ },
998
+ "updated_at": {
999
+ "name": "updated_at",
1000
+ "type": "integer",
1001
+ "primaryKey": false,
1002
+ "notNull": true,
1003
+ "autoincrement": false,
1004
+ "default": "(unixepoch() * 1000)"
1005
+ }
1006
+ },
1007
+ "indexes": {
1008
+ "run_share_token": {
1009
+ "name": "run_share_token",
1010
+ "columns": [
1011
+ "share_token"
1012
+ ],
1013
+ "isUnique": true
1014
+ },
1015
+ "run_expires": {
1016
+ "name": "run_expires",
1017
+ "columns": [
1018
+ "expires_at"
1019
+ ],
1020
+ "isUnique": false
1021
+ },
1022
+ "run_wizard": {
1023
+ "name": "run_wizard",
1024
+ "columns": [
1025
+ "wizard_id",
1026
+ "created_at"
1027
+ ],
1028
+ "isUnique": false
1029
+ },
1030
+ "run_visitor": {
1031
+ "name": "run_visitor",
1032
+ "columns": [
1033
+ "visitor_id",
1034
+ "created_at"
1035
+ ],
1036
+ "isUnique": false
1037
+ },
1038
+ "run_status": {
1039
+ "name": "run_status",
1040
+ "columns": [
1041
+ "status"
1042
+ ],
1043
+ "isUnique": false
1044
+ }
1045
+ },
1046
+ "foreignKeys": {
1047
+ "run_wizard_id_wizard_id_fk": {
1048
+ "name": "run_wizard_id_wizard_id_fk",
1049
+ "tableFrom": "run",
1050
+ "tableTo": "wizard",
1051
+ "columnsFrom": [
1052
+ "wizard_id"
1053
+ ],
1054
+ "columnsTo": [
1055
+ "id"
1056
+ ],
1057
+ "onDelete": "cascade",
1058
+ "onUpdate": "no action"
1059
+ }
1060
+ },
1061
+ "compositePrimaryKeys": {},
1062
+ "uniqueConstraints": {},
1063
+ "checkConstraints": {}
1064
+ },
1065
+ "run_cost": {
1066
+ "name": "run_cost",
1067
+ "columns": {
1068
+ "run_id": {
1069
+ "name": "run_id",
1070
+ "type": "text",
1071
+ "primaryKey": false,
1072
+ "notNull": true,
1073
+ "autoincrement": false
1074
+ },
1075
+ "step_id": {
1076
+ "name": "step_id",
1077
+ "type": "text",
1078
+ "primaryKey": false,
1079
+ "notNull": true,
1080
+ "autoincrement": false
1081
+ },
1082
+ "micros": {
1083
+ "name": "micros",
1084
+ "type": "integer",
1085
+ "primaryKey": false,
1086
+ "notNull": true,
1087
+ "autoincrement": false,
1088
+ "default": 0
1089
+ }
1090
+ },
1091
+ "indexes": {},
1092
+ "foreignKeys": {
1093
+ "run_cost_run_id_run_id_fk": {
1094
+ "name": "run_cost_run_id_run_id_fk",
1095
+ "tableFrom": "run_cost",
1096
+ "tableTo": "run",
1097
+ "columnsFrom": [
1098
+ "run_id"
1099
+ ],
1100
+ "columnsTo": [
1101
+ "id"
1102
+ ],
1103
+ "onDelete": "cascade",
1104
+ "onUpdate": "no action"
1105
+ }
1106
+ },
1107
+ "compositePrimaryKeys": {
1108
+ "run_cost_run_id_step_id_pk": {
1109
+ "columns": [
1110
+ "run_id",
1111
+ "step_id"
1112
+ ],
1113
+ "name": "run_cost_run_id_step_id_pk"
1114
+ }
1115
+ },
1116
+ "uniqueConstraints": {},
1117
+ "checkConstraints": {}
1118
+ },
1119
+ "run_event": {
1120
+ "name": "run_event",
1121
+ "columns": {
1122
+ "id": {
1123
+ "name": "id",
1124
+ "type": "integer",
1125
+ "primaryKey": true,
1126
+ "notNull": true,
1127
+ "autoincrement": true
1128
+ },
1129
+ "run_id": {
1130
+ "name": "run_id",
1131
+ "type": "text",
1132
+ "primaryKey": false,
1133
+ "notNull": true,
1134
+ "autoincrement": false
1135
+ },
1136
+ "step_id": {
1137
+ "name": "step_id",
1138
+ "type": "text",
1139
+ "primaryKey": false,
1140
+ "notNull": false,
1141
+ "autoincrement": false
1142
+ },
1143
+ "type": {
1144
+ "name": "type",
1145
+ "type": "text",
1146
+ "primaryKey": false,
1147
+ "notNull": true,
1148
+ "autoincrement": false
1149
+ },
1150
+ "message": {
1151
+ "name": "message",
1152
+ "type": "text",
1153
+ "primaryKey": false,
1154
+ "notNull": true,
1155
+ "autoincrement": false
1156
+ },
1157
+ "note": {
1158
+ "name": "note",
1159
+ "type": "text",
1160
+ "primaryKey": false,
1161
+ "notNull": false,
1162
+ "autoincrement": false
1163
+ },
1164
+ "asset_id": {
1165
+ "name": "asset_id",
1166
+ "type": "text",
1167
+ "primaryKey": false,
1168
+ "notNull": false,
1169
+ "autoincrement": false
1170
+ },
1171
+ "created_at": {
1172
+ "name": "created_at",
1173
+ "type": "integer",
1174
+ "primaryKey": false,
1175
+ "notNull": true,
1176
+ "autoincrement": false,
1177
+ "default": "(unixepoch() * 1000)"
1178
+ }
1179
+ },
1180
+ "indexes": {
1181
+ "run_event_run": {
1182
+ "name": "run_event_run",
1183
+ "columns": [
1184
+ "run_id",
1185
+ "id"
1186
+ ],
1187
+ "isUnique": false
1188
+ }
1189
+ },
1190
+ "foreignKeys": {
1191
+ "run_event_run_id_run_id_fk": {
1192
+ "name": "run_event_run_id_run_id_fk",
1193
+ "tableFrom": "run_event",
1194
+ "tableTo": "run",
1195
+ "columnsFrom": [
1196
+ "run_id"
1197
+ ],
1198
+ "columnsTo": [
1199
+ "id"
1200
+ ],
1201
+ "onDelete": "cascade",
1202
+ "onUpdate": "no action"
1203
+ }
1204
+ },
1205
+ "compositePrimaryKeys": {},
1206
+ "uniqueConstraints": {},
1207
+ "checkConstraints": {}
1208
+ },
1209
+ "space_category": {
1210
+ "name": "space_category",
1211
+ "columns": {
1212
+ "id": {
1213
+ "name": "id",
1214
+ "type": "text",
1215
+ "primaryKey": true,
1216
+ "notNull": true,
1217
+ "autoincrement": false
1218
+ },
1219
+ "tenant_id": {
1220
+ "name": "tenant_id",
1221
+ "type": "text",
1222
+ "primaryKey": false,
1223
+ "notNull": true,
1224
+ "autoincrement": false
1225
+ },
1226
+ "project_id": {
1227
+ "name": "project_id",
1228
+ "type": "text",
1229
+ "primaryKey": false,
1230
+ "notNull": true,
1231
+ "autoincrement": false
1232
+ },
1233
+ "name": {
1234
+ "name": "name",
1235
+ "type": "text",
1236
+ "primaryKey": false,
1237
+ "notNull": true,
1238
+ "autoincrement": false
1239
+ },
1240
+ "type": {
1241
+ "name": "type",
1242
+ "type": "text",
1243
+ "primaryKey": false,
1244
+ "notNull": true,
1245
+ "autoincrement": false
1246
+ },
1247
+ "unit": {
1248
+ "name": "unit",
1249
+ "type": "text",
1250
+ "primaryKey": false,
1251
+ "notNull": false,
1252
+ "autoincrement": false
1253
+ },
1254
+ "multiple": {
1255
+ "name": "multiple",
1256
+ "type": "integer",
1257
+ "primaryKey": false,
1258
+ "notNull": true,
1259
+ "autoincrement": false,
1260
+ "default": false
1261
+ },
1262
+ "ordered": {
1263
+ "name": "ordered",
1264
+ "type": "integer",
1265
+ "primaryKey": false,
1266
+ "notNull": true,
1267
+ "autoincrement": false,
1268
+ "default": false
1269
+ },
1270
+ "hint": {
1271
+ "name": "hint",
1272
+ "type": "text",
1273
+ "primaryKey": false,
1274
+ "notNull": false,
1275
+ "autoincrement": false
1276
+ },
1277
+ "origin": {
1278
+ "name": "origin",
1279
+ "type": "text",
1280
+ "primaryKey": false,
1281
+ "notNull": false,
1282
+ "autoincrement": false
1283
+ },
1284
+ "proposed": {
1285
+ "name": "proposed",
1286
+ "type": "integer",
1287
+ "primaryKey": false,
1288
+ "notNull": true,
1289
+ "autoincrement": false,
1290
+ "default": false
1291
+ },
1292
+ "table_id": {
1293
+ "name": "table_id",
1294
+ "type": "text",
1295
+ "primaryKey": false,
1296
+ "notNull": false,
1297
+ "autoincrement": false
1298
+ },
1299
+ "column_id": {
1300
+ "name": "column_id",
1301
+ "type": "text",
1302
+ "primaryKey": false,
1303
+ "notNull": false,
1304
+ "autoincrement": false
1305
+ },
1306
+ "position": {
1307
+ "name": "position",
1308
+ "type": "integer",
1309
+ "primaryKey": false,
1310
+ "notNull": true,
1311
+ "autoincrement": false,
1312
+ "default": 0
1313
+ },
1314
+ "created_at": {
1315
+ "name": "created_at",
1316
+ "type": "integer",
1317
+ "primaryKey": false,
1318
+ "notNull": true,
1319
+ "autoincrement": false,
1320
+ "default": "(unixepoch() * 1000)"
1321
+ },
1322
+ "updated_at": {
1323
+ "name": "updated_at",
1324
+ "type": "integer",
1325
+ "primaryKey": false,
1326
+ "notNull": true,
1327
+ "autoincrement": false,
1328
+ "default": "(unixepoch() * 1000)"
1329
+ }
1330
+ },
1331
+ "indexes": {
1332
+ "space_category_name": {
1333
+ "name": "space_category_name",
1334
+ "columns": [
1335
+ "project_id",
1336
+ "name"
1337
+ ],
1338
+ "isUnique": true
1339
+ }
1340
+ },
1341
+ "foreignKeys": {
1342
+ "space_category_project_id_project_id_fk": {
1343
+ "name": "space_category_project_id_project_id_fk",
1344
+ "tableFrom": "space_category",
1345
+ "tableTo": "project",
1346
+ "columnsFrom": [
1347
+ "project_id"
1348
+ ],
1349
+ "columnsTo": [
1350
+ "id"
1351
+ ],
1352
+ "onDelete": "cascade",
1353
+ "onUpdate": "no action"
1354
+ },
1355
+ "space_category_table_id_space_table_id_fk": {
1356
+ "name": "space_category_table_id_space_table_id_fk",
1357
+ "tableFrom": "space_category",
1358
+ "tableTo": "space_table",
1359
+ "columnsFrom": [
1360
+ "table_id"
1361
+ ],
1362
+ "columnsTo": [
1363
+ "id"
1364
+ ],
1365
+ "onDelete": "set null",
1366
+ "onUpdate": "no action"
1367
+ }
1368
+ },
1369
+ "compositePrimaryKeys": {},
1370
+ "uniqueConstraints": {},
1371
+ "checkConstraints": {}
1372
+ },
1373
+ "space_category_value": {
1374
+ "name": "space_category_value",
1375
+ "columns": {
1376
+ "id": {
1377
+ "name": "id",
1378
+ "type": "text",
1379
+ "primaryKey": true,
1380
+ "notNull": true,
1381
+ "autoincrement": false
1382
+ },
1383
+ "category_id": {
1384
+ "name": "category_id",
1385
+ "type": "text",
1386
+ "primaryKey": false,
1387
+ "notNull": true,
1388
+ "autoincrement": false
1389
+ },
1390
+ "value": {
1391
+ "name": "value",
1392
+ "type": "text",
1393
+ "primaryKey": false,
1394
+ "notNull": true,
1395
+ "autoincrement": false
1396
+ },
1397
+ "position": {
1398
+ "name": "position",
1399
+ "type": "integer",
1400
+ "primaryKey": false,
1401
+ "notNull": true,
1402
+ "autoincrement": false,
1403
+ "default": 0
1404
+ },
1405
+ "summary": {
1406
+ "name": "summary",
1407
+ "type": "text",
1408
+ "primaryKey": false,
1409
+ "notNull": false,
1410
+ "autoincrement": false
1411
+ },
1412
+ "summary_at": {
1413
+ "name": "summary_at",
1414
+ "type": "integer",
1415
+ "primaryKey": false,
1416
+ "notNull": false,
1417
+ "autoincrement": false
1418
+ },
1419
+ "created_at": {
1420
+ "name": "created_at",
1421
+ "type": "integer",
1422
+ "primaryKey": false,
1423
+ "notNull": true,
1424
+ "autoincrement": false,
1425
+ "default": "(unixepoch() * 1000)"
1426
+ }
1427
+ },
1428
+ "indexes": {
1429
+ "space_category_value_value": {
1430
+ "name": "space_category_value_value",
1431
+ "columns": [
1432
+ "category_id",
1433
+ "value"
1434
+ ],
1435
+ "isUnique": true
1436
+ }
1437
+ },
1438
+ "foreignKeys": {
1439
+ "space_category_value_category_id_space_category_id_fk": {
1440
+ "name": "space_category_value_category_id_space_category_id_fk",
1441
+ "tableFrom": "space_category_value",
1442
+ "tableTo": "space_category",
1443
+ "columnsFrom": [
1444
+ "category_id"
1445
+ ],
1446
+ "columnsTo": [
1447
+ "id"
1448
+ ],
1449
+ "onDelete": "cascade",
1450
+ "onUpdate": "no action"
1451
+ }
1452
+ },
1453
+ "compositePrimaryKeys": {},
1454
+ "uniqueConstraints": {},
1455
+ "checkConstraints": {}
1456
+ },
1457
+ "space_item_category": {
1458
+ "name": "space_item_category",
1459
+ "columns": {
1460
+ "id": {
1461
+ "name": "id",
1462
+ "type": "integer",
1463
+ "primaryKey": true,
1464
+ "notNull": true,
1465
+ "autoincrement": true
1466
+ },
1467
+ "project_id": {
1468
+ "name": "project_id",
1469
+ "type": "text",
1470
+ "primaryKey": false,
1471
+ "notNull": true,
1472
+ "autoincrement": false
1473
+ },
1474
+ "category_id": {
1475
+ "name": "category_id",
1476
+ "type": "text",
1477
+ "primaryKey": false,
1478
+ "notNull": true,
1479
+ "autoincrement": false
1480
+ },
1481
+ "page_id": {
1482
+ "name": "page_id",
1483
+ "type": "text",
1484
+ "primaryKey": false,
1485
+ "notNull": false,
1486
+ "autoincrement": false
1487
+ },
1488
+ "row_id": {
1489
+ "name": "row_id",
1490
+ "type": "text",
1491
+ "primaryKey": false,
1492
+ "notNull": false,
1493
+ "autoincrement": false
1494
+ },
1495
+ "table_id": {
1496
+ "name": "table_id",
1497
+ "type": "text",
1498
+ "primaryKey": false,
1499
+ "notNull": false,
1500
+ "autoincrement": false
1501
+ },
1502
+ "file_id": {
1503
+ "name": "file_id",
1504
+ "type": "text",
1505
+ "primaryKey": false,
1506
+ "notNull": false,
1507
+ "autoincrement": false
1508
+ },
1509
+ "value_id": {
1510
+ "name": "value_id",
1511
+ "type": "text",
1512
+ "primaryKey": false,
1513
+ "notNull": false,
1514
+ "autoincrement": false
1515
+ },
1516
+ "text": {
1517
+ "name": "text",
1518
+ "type": "text",
1519
+ "primaryKey": false,
1520
+ "notNull": false,
1521
+ "autoincrement": false
1522
+ },
1523
+ "num": {
1524
+ "name": "num",
1525
+ "type": "real",
1526
+ "primaryKey": false,
1527
+ "notNull": false,
1528
+ "autoincrement": false
1529
+ },
1530
+ "at": {
1531
+ "name": "at",
1532
+ "type": "integer",
1533
+ "primaryKey": false,
1534
+ "notNull": false,
1535
+ "autoincrement": false
1536
+ },
1537
+ "bool": {
1538
+ "name": "bool",
1539
+ "type": "integer",
1540
+ "primaryKey": false,
1541
+ "notNull": false,
1542
+ "autoincrement": false
1543
+ },
1544
+ "by": {
1545
+ "name": "by",
1546
+ "type": "text",
1547
+ "primaryKey": false,
1548
+ "notNull": true,
1549
+ "autoincrement": false,
1550
+ "default": "'person'"
1551
+ }
1552
+ },
1553
+ "indexes": {
1554
+ "space_item_category_category": {
1555
+ "name": "space_item_category_category",
1556
+ "columns": [
1557
+ "category_id",
1558
+ "value_id"
1559
+ ],
1560
+ "isUnique": false
1561
+ },
1562
+ "space_item_category_page": {
1563
+ "name": "space_item_category_page",
1564
+ "columns": [
1565
+ "page_id"
1566
+ ],
1567
+ "isUnique": false
1568
+ },
1569
+ "space_item_category_row": {
1570
+ "name": "space_item_category_row",
1571
+ "columns": [
1572
+ "row_id"
1573
+ ],
1574
+ "isUnique": false
1575
+ },
1576
+ "space_item_category_table": {
1577
+ "name": "space_item_category_table",
1578
+ "columns": [
1579
+ "table_id"
1580
+ ],
1581
+ "isUnique": false
1582
+ },
1583
+ "space_item_category_file": {
1584
+ "name": "space_item_category_file",
1585
+ "columns": [
1586
+ "file_id"
1587
+ ],
1588
+ "isUnique": false
1589
+ }
1590
+ },
1591
+ "foreignKeys": {
1592
+ "space_item_category_project_id_project_id_fk": {
1593
+ "name": "space_item_category_project_id_project_id_fk",
1594
+ "tableFrom": "space_item_category",
1595
+ "tableTo": "project",
1596
+ "columnsFrom": [
1597
+ "project_id"
1598
+ ],
1599
+ "columnsTo": [
1600
+ "id"
1601
+ ],
1602
+ "onDelete": "cascade",
1603
+ "onUpdate": "no action"
1604
+ },
1605
+ "space_item_category_category_id_space_category_id_fk": {
1606
+ "name": "space_item_category_category_id_space_category_id_fk",
1607
+ "tableFrom": "space_item_category",
1608
+ "tableTo": "space_category",
1609
+ "columnsFrom": [
1610
+ "category_id"
1611
+ ],
1612
+ "columnsTo": [
1613
+ "id"
1614
+ ],
1615
+ "onDelete": "cascade",
1616
+ "onUpdate": "no action"
1617
+ },
1618
+ "space_item_category_page_id_space_page_id_fk": {
1619
+ "name": "space_item_category_page_id_space_page_id_fk",
1620
+ "tableFrom": "space_item_category",
1621
+ "tableTo": "space_page",
1622
+ "columnsFrom": [
1623
+ "page_id"
1624
+ ],
1625
+ "columnsTo": [
1626
+ "id"
1627
+ ],
1628
+ "onDelete": "cascade",
1629
+ "onUpdate": "no action"
1630
+ },
1631
+ "space_item_category_row_id_space_table_row_id_fk": {
1632
+ "name": "space_item_category_row_id_space_table_row_id_fk",
1633
+ "tableFrom": "space_item_category",
1634
+ "tableTo": "space_table_row",
1635
+ "columnsFrom": [
1636
+ "row_id"
1637
+ ],
1638
+ "columnsTo": [
1639
+ "id"
1640
+ ],
1641
+ "onDelete": "cascade",
1642
+ "onUpdate": "no action"
1643
+ },
1644
+ "space_item_category_table_id_space_table_id_fk": {
1645
+ "name": "space_item_category_table_id_space_table_id_fk",
1646
+ "tableFrom": "space_item_category",
1647
+ "tableTo": "space_table",
1648
+ "columnsFrom": [
1649
+ "table_id"
1650
+ ],
1651
+ "columnsTo": [
1652
+ "id"
1653
+ ],
1654
+ "onDelete": "cascade",
1655
+ "onUpdate": "no action"
1656
+ },
1657
+ "space_item_category_file_id_project_file_id_fk": {
1658
+ "name": "space_item_category_file_id_project_file_id_fk",
1659
+ "tableFrom": "space_item_category",
1660
+ "tableTo": "project_file",
1661
+ "columnsFrom": [
1662
+ "file_id"
1663
+ ],
1664
+ "columnsTo": [
1665
+ "id"
1666
+ ],
1667
+ "onDelete": "cascade",
1668
+ "onUpdate": "no action"
1669
+ },
1670
+ "space_item_category_value_id_space_category_value_id_fk": {
1671
+ "name": "space_item_category_value_id_space_category_value_id_fk",
1672
+ "tableFrom": "space_item_category",
1673
+ "tableTo": "space_category_value",
1674
+ "columnsFrom": [
1675
+ "value_id"
1676
+ ],
1677
+ "columnsTo": [
1678
+ "id"
1679
+ ],
1680
+ "onDelete": "cascade",
1681
+ "onUpdate": "no action"
1682
+ }
1683
+ },
1684
+ "compositePrimaryKeys": {},
1685
+ "uniqueConstraints": {},
1686
+ "checkConstraints": {}
1687
+ },
1688
+ "space_page": {
1689
+ "name": "space_page",
1690
+ "columns": {
1691
+ "id": {
1692
+ "name": "id",
1693
+ "type": "text",
1694
+ "primaryKey": true,
1695
+ "notNull": true,
1696
+ "autoincrement": false
1697
+ },
1698
+ "tenant_id": {
1699
+ "name": "tenant_id",
1700
+ "type": "text",
1701
+ "primaryKey": false,
1702
+ "notNull": true,
1703
+ "autoincrement": false
1704
+ },
1705
+ "project_id": {
1706
+ "name": "project_id",
1707
+ "type": "text",
1708
+ "primaryKey": false,
1709
+ "notNull": true,
1710
+ "autoincrement": false
1711
+ },
1712
+ "wizard_id": {
1713
+ "name": "wizard_id",
1714
+ "type": "text",
1715
+ "primaryKey": false,
1716
+ "notNull": false,
1717
+ "autoincrement": false
1718
+ },
1719
+ "parent_id": {
1720
+ "name": "parent_id",
1721
+ "type": "text",
1722
+ "primaryKey": false,
1723
+ "notNull": false,
1724
+ "autoincrement": false
1725
+ },
1726
+ "position": {
1727
+ "name": "position",
1728
+ "type": "integer",
1729
+ "primaryKey": false,
1730
+ "notNull": true,
1731
+ "autoincrement": false,
1732
+ "default": 0
1733
+ },
1734
+ "title": {
1735
+ "name": "title",
1736
+ "type": "text",
1737
+ "primaryKey": false,
1738
+ "notNull": true,
1739
+ "autoincrement": false
1740
+ },
1741
+ "slug": {
1742
+ "name": "slug",
1743
+ "type": "text",
1744
+ "primaryKey": false,
1745
+ "notNull": false,
1746
+ "autoincrement": false
1747
+ },
1748
+ "markdown": {
1749
+ "name": "markdown",
1750
+ "type": "text",
1751
+ "primaryKey": false,
1752
+ "notNull": true,
1753
+ "autoincrement": false,
1754
+ "default": "''"
1755
+ },
1756
+ "origin": {
1757
+ "name": "origin",
1758
+ "type": "text",
1759
+ "primaryKey": false,
1760
+ "notNull": false,
1761
+ "autoincrement": false
1762
+ },
1763
+ "origin_key": {
1764
+ "name": "origin_key",
1765
+ "type": "text",
1766
+ "primaryKey": false,
1767
+ "notNull": false,
1768
+ "autoincrement": false
1769
+ },
1770
+ "origin_label": {
1771
+ "name": "origin_label",
1772
+ "type": "text",
1773
+ "primaryKey": false,
1774
+ "notNull": false,
1775
+ "autoincrement": false
1776
+ },
1777
+ "kept": {
1778
+ "name": "kept",
1779
+ "type": "integer",
1780
+ "primaryKey": false,
1781
+ "notNull": true,
1782
+ "autoincrement": false,
1783
+ "default": false
1784
+ },
1785
+ "review": {
1786
+ "name": "review",
1787
+ "type": "text",
1788
+ "primaryKey": false,
1789
+ "notNull": false,
1790
+ "autoincrement": false
1791
+ },
1792
+ "file_id": {
1793
+ "name": "file_id",
1794
+ "type": "text",
1795
+ "primaryKey": false,
1796
+ "notNull": false,
1797
+ "autoincrement": false
1798
+ },
1799
+ "created_at": {
1800
+ "name": "created_at",
1801
+ "type": "integer",
1802
+ "primaryKey": false,
1803
+ "notNull": true,
1804
+ "autoincrement": false,
1805
+ "default": "(unixepoch() * 1000)"
1806
+ },
1807
+ "updated_at": {
1808
+ "name": "updated_at",
1809
+ "type": "integer",
1810
+ "primaryKey": false,
1811
+ "notNull": true,
1812
+ "autoincrement": false,
1813
+ "default": "(unixepoch() * 1000)"
1814
+ }
1815
+ },
1816
+ "indexes": {
1817
+ "space_page_project": {
1818
+ "name": "space_page_project",
1819
+ "columns": [
1820
+ "project_id",
1821
+ "wizard_id"
1822
+ ],
1823
+ "isUnique": false
1824
+ },
1825
+ "space_page_parent": {
1826
+ "name": "space_page_parent",
1827
+ "columns": [
1828
+ "parent_id",
1829
+ "position"
1830
+ ],
1831
+ "isUnique": false
1832
+ },
1833
+ "space_page_origin": {
1834
+ "name": "space_page_origin",
1835
+ "columns": [
1836
+ "project_id",
1837
+ "origin",
1838
+ "origin_key"
1839
+ ],
1840
+ "isUnique": true
1841
+ }
1842
+ },
1843
+ "foreignKeys": {
1844
+ "space_page_project_id_project_id_fk": {
1845
+ "name": "space_page_project_id_project_id_fk",
1846
+ "tableFrom": "space_page",
1847
+ "tableTo": "project",
1848
+ "columnsFrom": [
1849
+ "project_id"
1850
+ ],
1851
+ "columnsTo": [
1852
+ "id"
1853
+ ],
1854
+ "onDelete": "cascade",
1855
+ "onUpdate": "no action"
1856
+ },
1857
+ "space_page_wizard_id_wizard_id_fk": {
1858
+ "name": "space_page_wizard_id_wizard_id_fk",
1859
+ "tableFrom": "space_page",
1860
+ "tableTo": "wizard",
1861
+ "columnsFrom": [
1862
+ "wizard_id"
1863
+ ],
1864
+ "columnsTo": [
1865
+ "id"
1866
+ ],
1867
+ "onDelete": "cascade",
1868
+ "onUpdate": "no action"
1869
+ },
1870
+ "space_page_parent_id_space_page_id_fk": {
1871
+ "name": "space_page_parent_id_space_page_id_fk",
1872
+ "tableFrom": "space_page",
1873
+ "tableTo": "space_page",
1874
+ "columnsFrom": [
1875
+ "parent_id"
1876
+ ],
1877
+ "columnsTo": [
1878
+ "id"
1879
+ ],
1880
+ "onDelete": "cascade",
1881
+ "onUpdate": "no action"
1882
+ },
1883
+ "space_page_file_id_project_file_id_fk": {
1884
+ "name": "space_page_file_id_project_file_id_fk",
1885
+ "tableFrom": "space_page",
1886
+ "tableTo": "project_file",
1887
+ "columnsFrom": [
1888
+ "file_id"
1889
+ ],
1890
+ "columnsTo": [
1891
+ "id"
1892
+ ],
1893
+ "onDelete": "set null",
1894
+ "onUpdate": "no action"
1895
+ }
1896
+ },
1897
+ "compositePrimaryKeys": {},
1898
+ "uniqueConstraints": {},
1899
+ "checkConstraints": {}
1900
+ },
1901
+ "space_table": {
1902
+ "name": "space_table",
1903
+ "columns": {
1904
+ "id": {
1905
+ "name": "id",
1906
+ "type": "text",
1907
+ "primaryKey": true,
1908
+ "notNull": true,
1909
+ "autoincrement": false
1910
+ },
1911
+ "tenant_id": {
1912
+ "name": "tenant_id",
1913
+ "type": "text",
1914
+ "primaryKey": false,
1915
+ "notNull": true,
1916
+ "autoincrement": false
1917
+ },
1918
+ "project_id": {
1919
+ "name": "project_id",
1920
+ "type": "text",
1921
+ "primaryKey": false,
1922
+ "notNull": true,
1923
+ "autoincrement": false
1924
+ },
1925
+ "wizard_id": {
1926
+ "name": "wizard_id",
1927
+ "type": "text",
1928
+ "primaryKey": false,
1929
+ "notNull": false,
1930
+ "autoincrement": false
1931
+ },
1932
+ "list": {
1933
+ "name": "list",
1934
+ "type": "text",
1935
+ "primaryKey": false,
1936
+ "notNull": false,
1937
+ "autoincrement": false
1938
+ },
1939
+ "key_column": {
1940
+ "name": "key_column",
1941
+ "type": "text",
1942
+ "primaryKey": false,
1943
+ "notNull": false,
1944
+ "autoincrement": false
1945
+ },
1946
+ "title": {
1947
+ "name": "title",
1948
+ "type": "text",
1949
+ "primaryKey": false,
1950
+ "notNull": true,
1951
+ "autoincrement": false
1952
+ },
1953
+ "slug": {
1954
+ "name": "slug",
1955
+ "type": "text",
1956
+ "primaryKey": false,
1957
+ "notNull": false,
1958
+ "autoincrement": false
1959
+ },
1960
+ "format": {
1961
+ "name": "format",
1962
+ "type": "text",
1963
+ "primaryKey": false,
1964
+ "notNull": false,
1965
+ "autoincrement": false
1966
+ },
1967
+ "columns": {
1968
+ "name": "columns",
1969
+ "type": "text",
1970
+ "primaryKey": false,
1971
+ "notNull": true,
1972
+ "autoincrement": false
1973
+ },
1974
+ "origin": {
1975
+ "name": "origin",
1976
+ "type": "text",
1977
+ "primaryKey": false,
1978
+ "notNull": false,
1979
+ "autoincrement": false
1980
+ },
1981
+ "origin_key": {
1982
+ "name": "origin_key",
1983
+ "type": "text",
1984
+ "primaryKey": false,
1985
+ "notNull": false,
1986
+ "autoincrement": false
1987
+ },
1988
+ "origin_label": {
1989
+ "name": "origin_label",
1990
+ "type": "text",
1991
+ "primaryKey": false,
1992
+ "notNull": false,
1993
+ "autoincrement": false
1994
+ },
1995
+ "kept": {
1996
+ "name": "kept",
1997
+ "type": "integer",
1998
+ "primaryKey": false,
1999
+ "notNull": true,
2000
+ "autoincrement": false,
2001
+ "default": false
2002
+ },
2003
+ "review": {
2004
+ "name": "review",
2005
+ "type": "text",
2006
+ "primaryKey": false,
2007
+ "notNull": false,
2008
+ "autoincrement": false
2009
+ },
2010
+ "file_id": {
2011
+ "name": "file_id",
2012
+ "type": "text",
2013
+ "primaryKey": false,
2014
+ "notNull": false,
2015
+ "autoincrement": false
2016
+ },
2017
+ "created_at": {
2018
+ "name": "created_at",
2019
+ "type": "integer",
2020
+ "primaryKey": false,
2021
+ "notNull": true,
2022
+ "autoincrement": false,
2023
+ "default": "(unixepoch() * 1000)"
2024
+ },
2025
+ "updated_at": {
2026
+ "name": "updated_at",
2027
+ "type": "integer",
2028
+ "primaryKey": false,
2029
+ "notNull": true,
2030
+ "autoincrement": false,
2031
+ "default": "(unixepoch() * 1000)"
2032
+ }
2033
+ },
2034
+ "indexes": {
2035
+ "space_table_project": {
2036
+ "name": "space_table_project",
2037
+ "columns": [
2038
+ "project_id",
2039
+ "wizard_id"
2040
+ ],
2041
+ "isUnique": false
2042
+ },
2043
+ "space_table_list": {
2044
+ "name": "space_table_list",
2045
+ "columns": [
2046
+ "wizard_id",
2047
+ "list"
2048
+ ],
2049
+ "isUnique": true
2050
+ },
2051
+ "space_table_origin": {
2052
+ "name": "space_table_origin",
2053
+ "columns": [
2054
+ "project_id",
2055
+ "origin",
2056
+ "origin_key"
2057
+ ],
2058
+ "isUnique": true
2059
+ }
2060
+ },
2061
+ "foreignKeys": {
2062
+ "space_table_project_id_project_id_fk": {
2063
+ "name": "space_table_project_id_project_id_fk",
2064
+ "tableFrom": "space_table",
2065
+ "tableTo": "project",
2066
+ "columnsFrom": [
2067
+ "project_id"
2068
+ ],
2069
+ "columnsTo": [
2070
+ "id"
2071
+ ],
2072
+ "onDelete": "cascade",
2073
+ "onUpdate": "no action"
2074
+ },
2075
+ "space_table_wizard_id_wizard_id_fk": {
2076
+ "name": "space_table_wizard_id_wizard_id_fk",
2077
+ "tableFrom": "space_table",
2078
+ "tableTo": "wizard",
2079
+ "columnsFrom": [
2080
+ "wizard_id"
2081
+ ],
2082
+ "columnsTo": [
2083
+ "id"
2084
+ ],
2085
+ "onDelete": "cascade",
2086
+ "onUpdate": "no action"
2087
+ },
2088
+ "space_table_file_id_project_file_id_fk": {
2089
+ "name": "space_table_file_id_project_file_id_fk",
2090
+ "tableFrom": "space_table",
2091
+ "tableTo": "project_file",
2092
+ "columnsFrom": [
2093
+ "file_id"
2094
+ ],
2095
+ "columnsTo": [
2096
+ "id"
2097
+ ],
2098
+ "onDelete": "set null",
2099
+ "onUpdate": "no action"
2100
+ }
2101
+ },
2102
+ "compositePrimaryKeys": {},
2103
+ "uniqueConstraints": {},
2104
+ "checkConstraints": {}
2105
+ },
2106
+ "space_table_row": {
2107
+ "name": "space_table_row",
2108
+ "columns": {
2109
+ "id": {
2110
+ "name": "id",
2111
+ "type": "text",
2112
+ "primaryKey": true,
2113
+ "notNull": true,
2114
+ "autoincrement": false
2115
+ },
2116
+ "table_id": {
2117
+ "name": "table_id",
2118
+ "type": "text",
2119
+ "primaryKey": false,
2120
+ "notNull": true,
2121
+ "autoincrement": false
2122
+ },
2123
+ "key": {
2124
+ "name": "key",
2125
+ "type": "text",
2126
+ "primaryKey": false,
2127
+ "notNull": false,
2128
+ "autoincrement": false
2129
+ },
2130
+ "cells": {
2131
+ "name": "cells",
2132
+ "type": "text",
2133
+ "primaryKey": false,
2134
+ "notNull": true,
2135
+ "autoincrement": false
2136
+ },
2137
+ "created_at": {
2138
+ "name": "created_at",
2139
+ "type": "integer",
2140
+ "primaryKey": false,
2141
+ "notNull": true,
2142
+ "autoincrement": false,
2143
+ "default": "(unixepoch() * 1000)"
2144
+ },
2145
+ "updated_at": {
2146
+ "name": "updated_at",
2147
+ "type": "integer",
2148
+ "primaryKey": false,
2149
+ "notNull": true,
2150
+ "autoincrement": false,
2151
+ "default": "(unixepoch() * 1000)"
2152
+ }
2153
+ },
2154
+ "indexes": {
2155
+ "space_table_row_table": {
2156
+ "name": "space_table_row_table",
2157
+ "columns": [
2158
+ "table_id",
2159
+ "created_at"
2160
+ ],
2161
+ "isUnique": false
2162
+ },
2163
+ "space_table_row_key": {
2164
+ "name": "space_table_row_key",
2165
+ "columns": [
2166
+ "table_id",
2167
+ "key"
2168
+ ],
2169
+ "isUnique": false
2170
+ }
2171
+ },
2172
+ "foreignKeys": {
2173
+ "space_table_row_table_id_space_table_id_fk": {
2174
+ "name": "space_table_row_table_id_space_table_id_fk",
2175
+ "tableFrom": "space_table_row",
2176
+ "tableTo": "space_table",
2177
+ "columnsFrom": [
2178
+ "table_id"
2179
+ ],
2180
+ "columnsTo": [
2181
+ "id"
2182
+ ],
2183
+ "onDelete": "cascade",
2184
+ "onUpdate": "no action"
2185
+ }
2186
+ },
2187
+ "compositePrimaryKeys": {},
2188
+ "uniqueConstraints": {},
2189
+ "checkConstraints": {}
2190
+ },
2191
+ "store_file": {
2192
+ "name": "store_file",
2193
+ "columns": {
2194
+ "wizard_id": {
2195
+ "name": "wizard_id",
2196
+ "type": "text",
2197
+ "primaryKey": false,
2198
+ "notNull": true,
2199
+ "autoincrement": false
2200
+ },
2201
+ "holder": {
2202
+ "name": "holder",
2203
+ "type": "text",
2204
+ "primaryKey": false,
2205
+ "notNull": true,
2206
+ "autoincrement": false
2207
+ },
2208
+ "path": {
2209
+ "name": "path",
2210
+ "type": "text",
2211
+ "primaryKey": false,
2212
+ "notNull": true,
2213
+ "autoincrement": false
2214
+ },
2215
+ "hash": {
2216
+ "name": "hash",
2217
+ "type": "text",
2218
+ "primaryKey": false,
2219
+ "notNull": true,
2220
+ "autoincrement": false
2221
+ },
2222
+ "mime": {
2223
+ "name": "mime",
2224
+ "type": "text",
2225
+ "primaryKey": false,
2226
+ "notNull": true,
2227
+ "autoincrement": false
2228
+ },
2229
+ "size": {
2230
+ "name": "size",
2231
+ "type": "integer",
2232
+ "primaryKey": false,
2233
+ "notNull": true,
2234
+ "autoincrement": false
2235
+ },
2236
+ "source": {
2237
+ "name": "source",
2238
+ "type": "text",
2239
+ "primaryKey": false,
2240
+ "notNull": false,
2241
+ "autoincrement": false
2242
+ },
2243
+ "updated_at": {
2244
+ "name": "updated_at",
2245
+ "type": "integer",
2246
+ "primaryKey": false,
2247
+ "notNull": true,
2248
+ "autoincrement": false,
2249
+ "default": "(unixepoch() * 1000)"
2250
+ }
2251
+ },
2252
+ "indexes": {},
2253
+ "foreignKeys": {
2254
+ "store_file_wizard_id_wizard_id_fk": {
2255
+ "name": "store_file_wizard_id_wizard_id_fk",
2256
+ "tableFrom": "store_file",
2257
+ "tableTo": "wizard",
2258
+ "columnsFrom": [
2259
+ "wizard_id"
2260
+ ],
2261
+ "columnsTo": [
2262
+ "id"
2263
+ ],
2264
+ "onDelete": "cascade",
2265
+ "onUpdate": "no action"
2266
+ }
2267
+ },
2268
+ "compositePrimaryKeys": {
2269
+ "store_file_wizard_id_holder_path_pk": {
2270
+ "columns": [
2271
+ "wizard_id",
2272
+ "holder",
2273
+ "path"
2274
+ ],
2275
+ "name": "store_file_wizard_id_holder_path_pk"
2276
+ }
2277
+ },
2278
+ "uniqueConstraints": {},
2279
+ "checkConstraints": {}
2280
+ },
2281
+ "store_holder": {
2282
+ "name": "store_holder",
2283
+ "columns": {
2284
+ "wizard_id": {
2285
+ "name": "wizard_id",
2286
+ "type": "text",
2287
+ "primaryKey": false,
2288
+ "notNull": true,
2289
+ "autoincrement": false
2290
+ },
2291
+ "holder": {
2292
+ "name": "holder",
2293
+ "type": "text",
2294
+ "primaryKey": false,
2295
+ "notNull": true,
2296
+ "autoincrement": false
2297
+ },
2298
+ "used_at": {
2299
+ "name": "used_at",
2300
+ "type": "integer",
2301
+ "primaryKey": false,
2302
+ "notNull": true,
2303
+ "autoincrement": false,
2304
+ "default": "(unixepoch() * 1000)"
2305
+ }
2306
+ },
2307
+ "indexes": {
2308
+ "store_holder_used": {
2309
+ "name": "store_holder_used",
2310
+ "columns": [
2311
+ "used_at"
2312
+ ],
2313
+ "isUnique": false
2314
+ }
2315
+ },
2316
+ "foreignKeys": {
2317
+ "store_holder_wizard_id_wizard_id_fk": {
2318
+ "name": "store_holder_wizard_id_wizard_id_fk",
2319
+ "tableFrom": "store_holder",
2320
+ "tableTo": "wizard",
2321
+ "columnsFrom": [
2322
+ "wizard_id"
2323
+ ],
2324
+ "columnsTo": [
2325
+ "id"
2326
+ ],
2327
+ "onDelete": "cascade",
2328
+ "onUpdate": "no action"
2329
+ }
2330
+ },
2331
+ "compositePrimaryKeys": {
2332
+ "store_holder_wizard_id_holder_pk": {
2333
+ "columns": [
2334
+ "wizard_id",
2335
+ "holder"
2336
+ ],
2337
+ "name": "store_holder_wizard_id_holder_pk"
2338
+ }
2339
+ },
2340
+ "uniqueConstraints": {},
2341
+ "checkConstraints": {}
2342
+ },
2343
+ "store_row": {
2344
+ "name": "store_row",
2345
+ "columns": {
2346
+ "id": {
2347
+ "name": "id",
2348
+ "type": "text",
2349
+ "primaryKey": true,
2350
+ "notNull": true,
2351
+ "autoincrement": false
2352
+ },
2353
+ "wizard_id": {
2354
+ "name": "wizard_id",
2355
+ "type": "text",
2356
+ "primaryKey": false,
2357
+ "notNull": true,
2358
+ "autoincrement": false
2359
+ },
2360
+ "holder": {
2361
+ "name": "holder",
2362
+ "type": "text",
2363
+ "primaryKey": false,
2364
+ "notNull": true,
2365
+ "autoincrement": false
2366
+ },
2367
+ "list": {
2368
+ "name": "list",
2369
+ "type": "text",
2370
+ "primaryKey": false,
2371
+ "notNull": true,
2372
+ "autoincrement": false
2373
+ },
2374
+ "key": {
2375
+ "name": "key",
2376
+ "type": "text",
2377
+ "primaryKey": false,
2378
+ "notNull": false,
2379
+ "autoincrement": false
2380
+ },
2381
+ "cells": {
2382
+ "name": "cells",
2383
+ "type": "text",
2384
+ "primaryKey": false,
2385
+ "notNull": true,
2386
+ "autoincrement": false
2387
+ },
2388
+ "created_at": {
2389
+ "name": "created_at",
2390
+ "type": "integer",
2391
+ "primaryKey": false,
2392
+ "notNull": true,
2393
+ "autoincrement": false,
2394
+ "default": "(unixepoch() * 1000)"
2395
+ },
2396
+ "updated_at": {
2397
+ "name": "updated_at",
2398
+ "type": "integer",
2399
+ "primaryKey": false,
2400
+ "notNull": true,
2401
+ "autoincrement": false,
2402
+ "default": "(unixepoch() * 1000)"
2403
+ }
2404
+ },
2405
+ "indexes": {
2406
+ "store_row_key": {
2407
+ "name": "store_row_key",
2408
+ "columns": [
2409
+ "wizard_id",
2410
+ "holder",
2411
+ "list",
2412
+ "key"
2413
+ ],
2414
+ "isUnique": true
2415
+ },
2416
+ "store_row_list": {
2417
+ "name": "store_row_list",
2418
+ "columns": [
2419
+ "wizard_id",
2420
+ "holder",
2421
+ "list",
2422
+ "created_at"
2423
+ ],
2424
+ "isUnique": false
2425
+ }
2426
+ },
2427
+ "foreignKeys": {
2428
+ "store_row_wizard_id_wizard_id_fk": {
2429
+ "name": "store_row_wizard_id_wizard_id_fk",
2430
+ "tableFrom": "store_row",
2431
+ "tableTo": "wizard",
2432
+ "columnsFrom": [
2433
+ "wizard_id"
2434
+ ],
2435
+ "columnsTo": [
2436
+ "id"
2437
+ ],
2438
+ "onDelete": "cascade",
2439
+ "onUpdate": "no action"
2440
+ }
2441
+ },
2442
+ "compositePrimaryKeys": {},
2443
+ "uniqueConstraints": {},
2444
+ "checkConstraints": {}
2445
+ },
2446
+ "store_secret": {
2447
+ "name": "store_secret",
2448
+ "columns": {
2449
+ "id": {
2450
+ "name": "id",
2451
+ "type": "text",
2452
+ "primaryKey": true,
2453
+ "notNull": true,
2454
+ "autoincrement": false
2455
+ },
2456
+ "wizard_id": {
2457
+ "name": "wizard_id",
2458
+ "type": "text",
2459
+ "primaryKey": false,
2460
+ "notNull": true,
2461
+ "autoincrement": false
2462
+ },
2463
+ "holder": {
2464
+ "name": "holder",
2465
+ "type": "text",
2466
+ "primaryKey": false,
2467
+ "notNull": true,
2468
+ "autoincrement": false
2469
+ },
2470
+ "slot": {
2471
+ "name": "slot",
2472
+ "type": "text",
2473
+ "primaryKey": false,
2474
+ "notNull": true,
2475
+ "autoincrement": false
2476
+ },
2477
+ "provider": {
2478
+ "name": "provider",
2479
+ "type": "text",
2480
+ "primaryKey": false,
2481
+ "notNull": true,
2482
+ "autoincrement": false
2483
+ },
2484
+ "label": {
2485
+ "name": "label",
2486
+ "type": "text",
2487
+ "primaryKey": false,
2488
+ "notNull": true,
2489
+ "autoincrement": false
2490
+ },
2491
+ "data": {
2492
+ "name": "data",
2493
+ "type": "text",
2494
+ "primaryKey": false,
2495
+ "notNull": true,
2496
+ "autoincrement": false
2497
+ },
2498
+ "created_at": {
2499
+ "name": "created_at",
2500
+ "type": "integer",
2501
+ "primaryKey": false,
2502
+ "notNull": true,
2503
+ "autoincrement": false,
2504
+ "default": "(unixepoch() * 1000)"
2505
+ },
2506
+ "updated_at": {
2507
+ "name": "updated_at",
2508
+ "type": "integer",
2509
+ "primaryKey": false,
2510
+ "notNull": true,
2511
+ "autoincrement": false,
2512
+ "default": "(unixepoch() * 1000)"
2513
+ }
2514
+ },
2515
+ "indexes": {
2516
+ "store_secret_slot": {
2517
+ "name": "store_secret_slot",
2518
+ "columns": [
2519
+ "wizard_id",
2520
+ "holder",
2521
+ "slot"
2522
+ ],
2523
+ "isUnique": true
2524
+ }
2525
+ },
2526
+ "foreignKeys": {
2527
+ "store_secret_wizard_id_wizard_id_fk": {
2528
+ "name": "store_secret_wizard_id_wizard_id_fk",
2529
+ "tableFrom": "store_secret",
2530
+ "tableTo": "wizard",
2531
+ "columnsFrom": [
2532
+ "wizard_id"
2533
+ ],
2534
+ "columnsTo": [
2535
+ "id"
2536
+ ],
2537
+ "onDelete": "cascade",
2538
+ "onUpdate": "no action"
2539
+ }
2540
+ },
2541
+ "compositePrimaryKeys": {},
2542
+ "uniqueConstraints": {},
2543
+ "checkConstraints": {}
2544
+ },
2545
+ "wizard": {
2546
+ "name": "wizard",
2547
+ "columns": {
2548
+ "id": {
2549
+ "name": "id",
2550
+ "type": "text",
2551
+ "primaryKey": true,
2552
+ "notNull": true,
2553
+ "autoincrement": false
2554
+ },
2555
+ "project_id": {
2556
+ "name": "project_id",
2557
+ "type": "text",
2558
+ "primaryKey": false,
2559
+ "notNull": true,
2560
+ "autoincrement": false
2561
+ },
2562
+ "tenant_id": {
2563
+ "name": "tenant_id",
2564
+ "type": "text",
2565
+ "primaryKey": false,
2566
+ "notNull": true,
2567
+ "autoincrement": false
2568
+ },
2569
+ "title": {
2570
+ "name": "title",
2571
+ "type": "text",
2572
+ "primaryKey": false,
2573
+ "notNull": true,
2574
+ "autoincrement": false
2575
+ },
2576
+ "draft": {
2577
+ "name": "draft",
2578
+ "type": "text",
2579
+ "primaryKey": false,
2580
+ "notNull": true,
2581
+ "autoincrement": false
2582
+ },
2583
+ "published_version": {
2584
+ "name": "published_version",
2585
+ "type": "integer",
2586
+ "primaryKey": false,
2587
+ "notNull": false,
2588
+ "autoincrement": false
2589
+ },
2590
+ "share_token": {
2591
+ "name": "share_token",
2592
+ "type": "text",
2593
+ "primaryKey": false,
2594
+ "notNull": true,
2595
+ "autoincrement": false
2596
+ },
2597
+ "share_enabled": {
2598
+ "name": "share_enabled",
2599
+ "type": "integer",
2600
+ "primaryKey": false,
2601
+ "notNull": true,
2602
+ "autoincrement": false,
2603
+ "default": true
2604
+ },
2605
+ "daily_run_limit": {
2606
+ "name": "daily_run_limit",
2607
+ "type": "integer",
2608
+ "primaryKey": false,
2609
+ "notNull": true,
2610
+ "autoincrement": false,
2611
+ "default": 50
2612
+ },
2613
+ "starter": {
2614
+ "name": "starter",
2615
+ "type": "text",
2616
+ "primaryKey": false,
2617
+ "notNull": false,
2618
+ "autoincrement": false
2619
+ },
2620
+ "starter_revision": {
2621
+ "name": "starter_revision",
2622
+ "type": "integer",
2623
+ "primaryKey": false,
2624
+ "notNull": false,
2625
+ "autoincrement": false
2626
+ },
2627
+ "revision": {
2628
+ "name": "revision",
2629
+ "type": "integer",
2630
+ "primaryKey": false,
2631
+ "notNull": true,
2632
+ "autoincrement": false,
2633
+ "default": 0
2634
+ },
2635
+ "created_at": {
2636
+ "name": "created_at",
2637
+ "type": "integer",
2638
+ "primaryKey": false,
2639
+ "notNull": true,
2640
+ "autoincrement": false,
2641
+ "default": "(unixepoch() * 1000)"
2642
+ },
2643
+ "updated_at": {
2644
+ "name": "updated_at",
2645
+ "type": "integer",
2646
+ "primaryKey": false,
2647
+ "notNull": true,
2648
+ "autoincrement": false,
2649
+ "default": "(unixepoch() * 1000)"
2650
+ }
2651
+ },
2652
+ "indexes": {
2653
+ "wizard_share_token": {
2654
+ "name": "wizard_share_token",
2655
+ "columns": [
2656
+ "share_token"
2657
+ ],
2658
+ "isUnique": true
2659
+ },
2660
+ "wizard_project": {
2661
+ "name": "wizard_project",
2662
+ "columns": [
2663
+ "project_id"
2664
+ ],
2665
+ "isUnique": false
2666
+ }
2667
+ },
2668
+ "foreignKeys": {
2669
+ "wizard_project_id_project_id_fk": {
2670
+ "name": "wizard_project_id_project_id_fk",
2671
+ "tableFrom": "wizard",
2672
+ "tableTo": "project",
2673
+ "columnsFrom": [
2674
+ "project_id"
2675
+ ],
2676
+ "columnsTo": [
2677
+ "id"
2678
+ ],
2679
+ "onDelete": "cascade",
2680
+ "onUpdate": "no action"
2681
+ }
2682
+ },
2683
+ "compositePrimaryKeys": {},
2684
+ "uniqueConstraints": {},
2685
+ "checkConstraints": {}
2686
+ },
2687
+ "wizard_file": {
2688
+ "name": "wizard_file",
2689
+ "columns": {
2690
+ "wizard_id": {
2691
+ "name": "wizard_id",
2692
+ "type": "text",
2693
+ "primaryKey": false,
2694
+ "notNull": true,
2695
+ "autoincrement": false
2696
+ },
2697
+ "path": {
2698
+ "name": "path",
2699
+ "type": "text",
2700
+ "primaryKey": false,
2701
+ "notNull": true,
2702
+ "autoincrement": false
2703
+ },
2704
+ "hash": {
2705
+ "name": "hash",
2706
+ "type": "text",
2707
+ "primaryKey": false,
2708
+ "notNull": true,
2709
+ "autoincrement": false
2710
+ },
2711
+ "mime": {
2712
+ "name": "mime",
2713
+ "type": "text",
2714
+ "primaryKey": false,
2715
+ "notNull": true,
2716
+ "autoincrement": false
2717
+ },
2718
+ "size": {
2719
+ "name": "size",
2720
+ "type": "integer",
2721
+ "primaryKey": false,
2722
+ "notNull": true,
2723
+ "autoincrement": false
2724
+ },
2725
+ "updated_at": {
2726
+ "name": "updated_at",
2727
+ "type": "integer",
2728
+ "primaryKey": false,
2729
+ "notNull": true,
2730
+ "autoincrement": false,
2731
+ "default": "(unixepoch() * 1000)"
2732
+ }
2733
+ },
2734
+ "indexes": {},
2735
+ "foreignKeys": {
2736
+ "wizard_file_wizard_id_wizard_id_fk": {
2737
+ "name": "wizard_file_wizard_id_wizard_id_fk",
2738
+ "tableFrom": "wizard_file",
2739
+ "tableTo": "wizard",
2740
+ "columnsFrom": [
2741
+ "wizard_id"
2742
+ ],
2743
+ "columnsTo": [
2744
+ "id"
2745
+ ],
2746
+ "onDelete": "cascade",
2747
+ "onUpdate": "no action"
2748
+ }
2749
+ },
2750
+ "compositePrimaryKeys": {
2751
+ "wizard_file_wizard_id_path_pk": {
2752
+ "columns": [
2753
+ "wizard_id",
2754
+ "path"
2755
+ ],
2756
+ "name": "wizard_file_wizard_id_path_pk"
2757
+ }
2758
+ },
2759
+ "uniqueConstraints": {},
2760
+ "checkConstraints": {}
2761
+ },
2762
+ "wizard_message": {
2763
+ "name": "wizard_message",
2764
+ "columns": {
2765
+ "id": {
2766
+ "name": "id",
2767
+ "type": "text",
2768
+ "primaryKey": true,
2769
+ "notNull": true,
2770
+ "autoincrement": false
2771
+ },
2772
+ "wizard_id": {
2773
+ "name": "wizard_id",
2774
+ "type": "text",
2775
+ "primaryKey": false,
2776
+ "notNull": true,
2777
+ "autoincrement": false
2778
+ },
2779
+ "role": {
2780
+ "name": "role",
2781
+ "type": "text",
2782
+ "primaryKey": false,
2783
+ "notNull": true,
2784
+ "autoincrement": false
2785
+ },
2786
+ "content": {
2787
+ "name": "content",
2788
+ "type": "text",
2789
+ "primaryKey": false,
2790
+ "notNull": true,
2791
+ "autoincrement": false
2792
+ },
2793
+ "changed": {
2794
+ "name": "changed",
2795
+ "type": "integer",
2796
+ "primaryKey": false,
2797
+ "notNull": true,
2798
+ "autoincrement": false,
2799
+ "default": false
2800
+ },
2801
+ "source": {
2802
+ "name": "source",
2803
+ "type": "text",
2804
+ "primaryKey": false,
2805
+ "notNull": true,
2806
+ "autoincrement": false,
2807
+ "default": "'studio'"
2808
+ },
2809
+ "client": {
2810
+ "name": "client",
2811
+ "type": "text",
2812
+ "primaryKey": false,
2813
+ "notNull": false,
2814
+ "autoincrement": false
2815
+ },
2816
+ "created_at": {
2817
+ "name": "created_at",
2818
+ "type": "integer",
2819
+ "primaryKey": false,
2820
+ "notNull": true,
2821
+ "autoincrement": false,
2822
+ "default": "(unixepoch() * 1000)"
2823
+ }
2824
+ },
2825
+ "indexes": {
2826
+ "wizard_message_wizard": {
2827
+ "name": "wizard_message_wizard",
2828
+ "columns": [
2829
+ "wizard_id",
2830
+ "created_at"
2831
+ ],
2832
+ "isUnique": false
2833
+ }
2834
+ },
2835
+ "foreignKeys": {
2836
+ "wizard_message_wizard_id_wizard_id_fk": {
2837
+ "name": "wizard_message_wizard_id_wizard_id_fk",
2838
+ "tableFrom": "wizard_message",
2839
+ "tableTo": "wizard",
2840
+ "columnsFrom": [
2841
+ "wizard_id"
2842
+ ],
2843
+ "columnsTo": [
2844
+ "id"
2845
+ ],
2846
+ "onDelete": "cascade",
2847
+ "onUpdate": "no action"
2848
+ }
2849
+ },
2850
+ "compositePrimaryKeys": {},
2851
+ "uniqueConstraints": {},
2852
+ "checkConstraints": {}
2853
+ },
2854
+ "wizard_version": {
2855
+ "name": "wizard_version",
2856
+ "columns": {
2857
+ "id": {
2858
+ "name": "id",
2859
+ "type": "text",
2860
+ "primaryKey": true,
2861
+ "notNull": true,
2862
+ "autoincrement": false
2863
+ },
2864
+ "wizard_id": {
2865
+ "name": "wizard_id",
2866
+ "type": "text",
2867
+ "primaryKey": false,
2868
+ "notNull": true,
2869
+ "autoincrement": false
2870
+ },
2871
+ "version": {
2872
+ "name": "version",
2873
+ "type": "integer",
2874
+ "primaryKey": false,
2875
+ "notNull": true,
2876
+ "autoincrement": false
2877
+ },
2878
+ "definition": {
2879
+ "name": "definition",
2880
+ "type": "text",
2881
+ "primaryKey": false,
2882
+ "notNull": true,
2883
+ "autoincrement": false
2884
+ },
2885
+ "files": {
2886
+ "name": "files",
2887
+ "type": "text",
2888
+ "primaryKey": false,
2889
+ "notNull": true,
2890
+ "autoincrement": false,
2891
+ "default": "'[]'"
2892
+ },
2893
+ "created_at": {
2894
+ "name": "created_at",
2895
+ "type": "integer",
2896
+ "primaryKey": false,
2897
+ "notNull": true,
2898
+ "autoincrement": false,
2899
+ "default": "(unixepoch() * 1000)"
2900
+ }
2901
+ },
2902
+ "indexes": {
2903
+ "wizard_version_n": {
2904
+ "name": "wizard_version_n",
2905
+ "columns": [
2906
+ "wizard_id",
2907
+ "version"
2908
+ ],
2909
+ "isUnique": true
2910
+ }
2911
+ },
2912
+ "foreignKeys": {
2913
+ "wizard_version_wizard_id_wizard_id_fk": {
2914
+ "name": "wizard_version_wizard_id_wizard_id_fk",
2915
+ "tableFrom": "wizard_version",
2916
+ "tableTo": "wizard",
2917
+ "columnsFrom": [
2918
+ "wizard_id"
2919
+ ],
2920
+ "columnsTo": [
2921
+ "id"
2922
+ ],
2923
+ "onDelete": "cascade",
2924
+ "onUpdate": "no action"
2925
+ }
2926
+ },
2927
+ "compositePrimaryKeys": {},
2928
+ "uniqueConstraints": {},
2929
+ "checkConstraints": {}
2930
+ }
2931
+ },
2932
+ "views": {},
2933
+ "enums": {},
2934
+ "_meta": {
2935
+ "schemas": {},
2936
+ "tables": {},
2937
+ "columns": {}
2938
+ },
2939
+ "internal": {
2940
+ "indexes": {}
2941
+ }
2942
+ }