@assistkick/create 1.31.0 → 1.32.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 (48) hide show
  1. package/package.json +1 -1
  2. package/templates/assistkick-product-system/packages/shared/db/migrate.ts +153 -1
  3. package/templates/assistkick-product-system/packages/shared/db/migrations/0000_dashing_gorgon.sql +0 -128
  4. package/templates/assistkick-product-system/packages/shared/db/migrations/0001_vengeful_wallop.sql +0 -1
  5. package/templates/assistkick-product-system/packages/shared/db/migrations/0002_greedy_excalibur.sql +0 -4
  6. package/templates/assistkick-product-system/packages/shared/db/migrations/0003_lonely_cyclops.sql +0 -17
  7. package/templates/assistkick-product-system/packages/shared/db/migrations/0004_tidy_matthew_murdock.sql +0 -9
  8. package/templates/assistkick-product-system/packages/shared/db/migrations/0005_mysterious_falcon.sql +0 -692
  9. package/templates/assistkick-product-system/packages/shared/db/migrations/0006_next_venom.sql +0 -9
  10. package/templates/assistkick-product-system/packages/shared/db/migrations/0007_deep_barracuda.sql +0 -39
  11. package/templates/assistkick-product-system/packages/shared/db/migrations/0008_puzzling_hannibal_king.sql +0 -1
  12. package/templates/assistkick-product-system/packages/shared/db/migrations/0009_amused_beast.sql +0 -8
  13. package/templates/assistkick-product-system/packages/shared/db/migrations/0010_spotty_moira_mactaggert.sql +0 -9
  14. package/templates/assistkick-product-system/packages/shared/db/migrations/0011_goofy_snowbird.sql +0 -3
  15. package/templates/assistkick-product-system/packages/shared/db/migrations/0011_supreme_doctor_octopus.sql +0 -3
  16. package/templates/assistkick-product-system/packages/shared/db/migrations/0013_reflective_prowler.sql +0 -15
  17. package/templates/assistkick-product-system/packages/shared/db/migrations/0014_nifty_punisher.sql +0 -15
  18. package/templates/assistkick-product-system/packages/shared/db/migrations/0015_magenta_jazinda.sql +0 -1
  19. package/templates/assistkick-product-system/packages/shared/db/migrations/0016_giant_xorn.sql +0 -1
  20. package/templates/assistkick-product-system/packages/shared/db/migrations/0017_sloppy_mentor.sql +0 -6
  21. package/templates/assistkick-product-system/packages/shared/db/migrations/0018_vengeful_kabuki.sql +0 -9
  22. package/templates/assistkick-product-system/packages/shared/db/migrations/0019_careful_sentinels.sql +0 -8
  23. package/templates/assistkick-product-system/packages/shared/db/migrations/0020_clever_spot.sql +0 -27
  24. package/templates/assistkick-product-system/packages/shared/db/migrations/0021_graceful_hex.sql +0 -1
  25. package/templates/assistkick-product-system/packages/shared/db/migrations/0022_short_kingpin.sql +0 -1
  26. package/templates/assistkick-product-system/packages/shared/db/migrations/0023_ambiguous_sharon_carter.sql +0 -1
  27. package/templates/assistkick-product-system/packages/shared/db/migrations/0024_fat_unus.sql +0 -1
  28. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0003_snapshot.json +0 -862
  29. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0004_snapshot.json +0 -921
  30. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0005_snapshot.json +0 -1042
  31. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0006_snapshot.json +0 -1101
  32. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0007_snapshot.json +0 -1336
  33. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0008_snapshot.json +0 -1275
  34. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0009_snapshot.json +0 -1327
  35. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0010_snapshot.json +0 -1393
  36. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0011_snapshot.json +0 -1436
  37. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0013_snapshot.json +0 -1538
  38. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0014_snapshot.json +0 -1545
  39. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0015_snapshot.json +0 -1552
  40. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0016_snapshot.json +0 -1560
  41. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0017_snapshot.json +0 -1598
  42. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0018_snapshot.json +0 -1657
  43. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0019_snapshot.json +0 -1709
  44. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0020_snapshot.json +0 -1733
  45. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0021_snapshot.json +0 -1740
  46. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0022_snapshot.json +0 -1755
  47. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0023_snapshot.json +0 -1762
  48. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0024_snapshot.json +0 -1769
@@ -1,1755 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "155c5ca0-cf15-4c6d-8d0b-1097df216e35",
5
- "prevId": "adcc1103-4b23-41c3-ba6c-20ca2b26cfbc",
6
- "tables": {
7
- "agents": {
8
- "name": "agents",
9
- "columns": {
10
- "id": {
11
- "name": "id",
12
- "type": "text",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": false
16
- },
17
- "name": {
18
- "name": "name",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true,
22
- "autoincrement": false
23
- },
24
- "model": {
25
- "name": "model",
26
- "type": "text",
27
- "primaryKey": false,
28
- "notNull": true,
29
- "autoincrement": false,
30
- "default": "'claude-opus-4-6'"
31
- },
32
- "skills": {
33
- "name": "skills",
34
- "type": "text",
35
- "primaryKey": false,
36
- "notNull": true,
37
- "autoincrement": false,
38
- "default": "'[]'"
39
- },
40
- "grounding": {
41
- "name": "grounding",
42
- "type": "text",
43
- "primaryKey": false,
44
- "notNull": true,
45
- "autoincrement": false,
46
- "default": "''"
47
- },
48
- "default_grounding": {
49
- "name": "default_grounding",
50
- "type": "text",
51
- "primaryKey": false,
52
- "notNull": false,
53
- "autoincrement": false
54
- },
55
- "project_id": {
56
- "name": "project_id",
57
- "type": "text",
58
- "primaryKey": false,
59
- "notNull": false,
60
- "autoincrement": false
61
- },
62
- "is_default": {
63
- "name": "is_default",
64
- "type": "integer",
65
- "primaryKey": false,
66
- "notNull": true,
67
- "autoincrement": false,
68
- "default": 0
69
- },
70
- "created_at": {
71
- "name": "created_at",
72
- "type": "text",
73
- "primaryKey": false,
74
- "notNull": true,
75
- "autoincrement": false
76
- },
77
- "updated_at": {
78
- "name": "updated_at",
79
- "type": "text",
80
- "primaryKey": false,
81
- "notNull": true,
82
- "autoincrement": false
83
- }
84
- },
85
- "indexes": {},
86
- "foreignKeys": {},
87
- "compositePrimaryKeys": {},
88
- "uniqueConstraints": {},
89
- "checkConstraints": {}
90
- },
91
- "chat_messages": {
92
- "name": "chat_messages",
93
- "columns": {
94
- "id": {
95
- "name": "id",
96
- "type": "text",
97
- "primaryKey": true,
98
- "notNull": true,
99
- "autoincrement": false
100
- },
101
- "session_id": {
102
- "name": "session_id",
103
- "type": "text",
104
- "primaryKey": false,
105
- "notNull": true,
106
- "autoincrement": false
107
- },
108
- "role": {
109
- "name": "role",
110
- "type": "text",
111
- "primaryKey": false,
112
- "notNull": true,
113
- "autoincrement": false
114
- },
115
- "content": {
116
- "name": "content",
117
- "type": "text",
118
- "primaryKey": false,
119
- "notNull": true,
120
- "autoincrement": false
121
- },
122
- "order_index": {
123
- "name": "order_index",
124
- "type": "integer",
125
- "primaryKey": false,
126
- "notNull": true,
127
- "autoincrement": false
128
- },
129
- "created_at": {
130
- "name": "created_at",
131
- "type": "text",
132
- "primaryKey": false,
133
- "notNull": true,
134
- "autoincrement": false
135
- }
136
- },
137
- "indexes": {},
138
- "foreignKeys": {},
139
- "compositePrimaryKeys": {},
140
- "uniqueConstraints": {},
141
- "checkConstraints": {}
142
- },
143
- "chat_permission_rules": {
144
- "name": "chat_permission_rules",
145
- "columns": {
146
- "id": {
147
- "name": "id",
148
- "type": "text",
149
- "primaryKey": true,
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
- "tool_name": {
161
- "name": "tool_name",
162
- "type": "text",
163
- "primaryKey": false,
164
- "notNull": true,
165
- "autoincrement": false
166
- },
167
- "created_at": {
168
- "name": "created_at",
169
- "type": "text",
170
- "primaryKey": false,
171
- "notNull": true,
172
- "autoincrement": false
173
- }
174
- },
175
- "indexes": {},
176
- "foreignKeys": {},
177
- "compositePrimaryKeys": {},
178
- "uniqueConstraints": {},
179
- "checkConstraints": {}
180
- },
181
- "chat_sessions": {
182
- "name": "chat_sessions",
183
- "columns": {
184
- "id": {
185
- "name": "id",
186
- "type": "text",
187
- "primaryKey": true,
188
- "notNull": true,
189
- "autoincrement": false
190
- },
191
- "claude_session_id": {
192
- "name": "claude_session_id",
193
- "type": "text",
194
- "primaryKey": false,
195
- "notNull": true,
196
- "autoincrement": false
197
- },
198
- "project_id": {
199
- "name": "project_id",
200
- "type": "text",
201
- "primaryKey": false,
202
- "notNull": true,
203
- "autoincrement": false
204
- },
205
- "name": {
206
- "name": "name",
207
- "type": "text",
208
- "primaryKey": false,
209
- "notNull": true,
210
- "autoincrement": false
211
- },
212
- "permission_mode": {
213
- "name": "permission_mode",
214
- "type": "text",
215
- "primaryKey": false,
216
- "notNull": false,
217
- "autoincrement": false
218
- },
219
- "continuation_context": {
220
- "name": "continuation_context",
221
- "type": "text",
222
- "primaryKey": false,
223
- "notNull": false,
224
- "autoincrement": false
225
- },
226
- "context_usage_json": {
227
- "name": "context_usage_json",
228
- "type": "text",
229
- "primaryKey": false,
230
- "notNull": false,
231
- "autoincrement": false
232
- },
233
- "created_at": {
234
- "name": "created_at",
235
- "type": "text",
236
- "primaryKey": false,
237
- "notNull": true,
238
- "autoincrement": false
239
- },
240
- "updated_at": {
241
- "name": "updated_at",
242
- "type": "text",
243
- "primaryKey": false,
244
- "notNull": true,
245
- "autoincrement": false
246
- }
247
- },
248
- "indexes": {},
249
- "foreignKeys": {},
250
- "compositePrimaryKeys": {},
251
- "uniqueConstraints": {},
252
- "checkConstraints": {}
253
- },
254
- "coherence_reviews": {
255
- "name": "coherence_reviews",
256
- "columns": {
257
- "id": {
258
- "name": "id",
259
- "type": "text",
260
- "primaryKey": true,
261
- "notNull": true,
262
- "autoincrement": false
263
- },
264
- "type": {
265
- "name": "type",
266
- "type": "text",
267
- "primaryKey": false,
268
- "notNull": true,
269
- "autoincrement": false
270
- },
271
- "from_id": {
272
- "name": "from_id",
273
- "type": "text",
274
- "primaryKey": false,
275
- "notNull": false,
276
- "autoincrement": false
277
- },
278
- "to_id": {
279
- "name": "to_id",
280
- "type": "text",
281
- "primaryKey": false,
282
- "notNull": false,
283
- "autoincrement": false
284
- },
285
- "relation": {
286
- "name": "relation",
287
- "type": "text",
288
- "primaryKey": false,
289
- "notNull": false,
290
- "autoincrement": false
291
- },
292
- "proposed_node_type": {
293
- "name": "proposed_node_type",
294
- "type": "text",
295
- "primaryKey": false,
296
- "notNull": false,
297
- "autoincrement": false
298
- },
299
- "proposed_node_name": {
300
- "name": "proposed_node_name",
301
- "type": "text",
302
- "primaryKey": false,
303
- "notNull": false,
304
- "autoincrement": false
305
- },
306
- "target_node_id": {
307
- "name": "target_node_id",
308
- "type": "text",
309
- "primaryKey": false,
310
- "notNull": false,
311
- "autoincrement": false
312
- },
313
- "proposed_description": {
314
- "name": "proposed_description",
315
- "type": "text",
316
- "primaryKey": false,
317
- "notNull": false,
318
- "autoincrement": false
319
- },
320
- "confidence": {
321
- "name": "confidence",
322
- "type": "text",
323
- "primaryKey": false,
324
- "notNull": false,
325
- "autoincrement": false
326
- },
327
- "batch_id": {
328
- "name": "batch_id",
329
- "type": "text",
330
- "primaryKey": false,
331
- "notNull": false,
332
- "autoincrement": false
333
- },
334
- "reasoning": {
335
- "name": "reasoning",
336
- "type": "text",
337
- "primaryKey": false,
338
- "notNull": true,
339
- "autoincrement": false
340
- },
341
- "status": {
342
- "name": "status",
343
- "type": "text",
344
- "primaryKey": false,
345
- "notNull": true,
346
- "autoincrement": false
347
- },
348
- "created_at": {
349
- "name": "created_at",
350
- "type": "text",
351
- "primaryKey": false,
352
- "notNull": true,
353
- "autoincrement": false
354
- },
355
- "resolved_at": {
356
- "name": "resolved_at",
357
- "type": "text",
358
- "primaryKey": false,
359
- "notNull": false,
360
- "autoincrement": false
361
- },
362
- "project_id": {
363
- "name": "project_id",
364
- "type": "text",
365
- "primaryKey": false,
366
- "notNull": false,
367
- "autoincrement": false
368
- }
369
- },
370
- "indexes": {},
371
- "foreignKeys": {},
372
- "compositePrimaryKeys": {},
373
- "uniqueConstraints": {},
374
- "checkConstraints": {}
375
- },
376
- "edges": {
377
- "name": "edges",
378
- "columns": {
379
- "from_id": {
380
- "name": "from_id",
381
- "type": "text",
382
- "primaryKey": false,
383
- "notNull": true,
384
- "autoincrement": false
385
- },
386
- "relation": {
387
- "name": "relation",
388
- "type": "text",
389
- "primaryKey": false,
390
- "notNull": true,
391
- "autoincrement": false
392
- },
393
- "to_id": {
394
- "name": "to_id",
395
- "type": "text",
396
- "primaryKey": false,
397
- "notNull": true,
398
- "autoincrement": false
399
- },
400
- "project_id": {
401
- "name": "project_id",
402
- "type": "text",
403
- "primaryKey": false,
404
- "notNull": false,
405
- "autoincrement": false
406
- }
407
- },
408
- "indexes": {},
409
- "foreignKeys": {},
410
- "compositePrimaryKeys": {
411
- "edges_from_id_relation_to_id_pk": {
412
- "columns": [
413
- "from_id",
414
- "relation",
415
- "to_id"
416
- ],
417
- "name": "edges_from_id_relation_to_id_pk"
418
- }
419
- },
420
- "uniqueConstraints": {},
421
- "checkConstraints": {}
422
- },
423
- "invitations": {
424
- "name": "invitations",
425
- "columns": {
426
- "id": {
427
- "name": "id",
428
- "type": "text",
429
- "primaryKey": true,
430
- "notNull": true,
431
- "autoincrement": false
432
- },
433
- "email": {
434
- "name": "email",
435
- "type": "text",
436
- "primaryKey": false,
437
- "notNull": true,
438
- "autoincrement": false
439
- },
440
- "token_hash": {
441
- "name": "token_hash",
442
- "type": "text",
443
- "primaryKey": false,
444
- "notNull": true,
445
- "autoincrement": false
446
- },
447
- "invited_by": {
448
- "name": "invited_by",
449
- "type": "text",
450
- "primaryKey": false,
451
- "notNull": true,
452
- "autoincrement": false
453
- },
454
- "expires_at": {
455
- "name": "expires_at",
456
- "type": "text",
457
- "primaryKey": false,
458
- "notNull": true,
459
- "autoincrement": false
460
- },
461
- "accepted_at": {
462
- "name": "accepted_at",
463
- "type": "text",
464
- "primaryKey": false,
465
- "notNull": false,
466
- "autoincrement": false
467
- },
468
- "created_at": {
469
- "name": "created_at",
470
- "type": "text",
471
- "primaryKey": false,
472
- "notNull": true,
473
- "autoincrement": false
474
- }
475
- },
476
- "indexes": {},
477
- "foreignKeys": {
478
- "invitations_invited_by_users_id_fk": {
479
- "name": "invitations_invited_by_users_id_fk",
480
- "tableFrom": "invitations",
481
- "tableTo": "users",
482
- "columnsFrom": [
483
- "invited_by"
484
- ],
485
- "columnsTo": [
486
- "id"
487
- ],
488
- "onDelete": "no action",
489
- "onUpdate": "no action"
490
- }
491
- },
492
- "compositePrimaryKeys": {},
493
- "uniqueConstraints": {},
494
- "checkConstraints": {}
495
- },
496
- "kanban": {
497
- "name": "kanban",
498
- "columns": {
499
- "node_id": {
500
- "name": "node_id",
501
- "type": "text",
502
- "primaryKey": true,
503
- "notNull": true,
504
- "autoincrement": false
505
- },
506
- "column_name": {
507
- "name": "column_name",
508
- "type": "text",
509
- "primaryKey": false,
510
- "notNull": true,
511
- "autoincrement": false
512
- },
513
- "position": {
514
- "name": "position",
515
- "type": "integer",
516
- "primaryKey": false,
517
- "notNull": true,
518
- "autoincrement": false
519
- },
520
- "project_id": {
521
- "name": "project_id",
522
- "type": "text",
523
- "primaryKey": false,
524
- "notNull": false,
525
- "autoincrement": false
526
- }
527
- },
528
- "indexes": {},
529
- "foreignKeys": {
530
- "kanban_node_id_nodes_id_fk": {
531
- "name": "kanban_node_id_nodes_id_fk",
532
- "tableFrom": "kanban",
533
- "tableTo": "nodes",
534
- "columnsFrom": [
535
- "node_id"
536
- ],
537
- "columnsTo": [
538
- "id"
539
- ],
540
- "onDelete": "no action",
541
- "onUpdate": "no action"
542
- }
543
- },
544
- "compositePrimaryKeys": {},
545
- "uniqueConstraints": {},
546
- "checkConstraints": {}
547
- },
548
- "nodes": {
549
- "name": "nodes",
550
- "columns": {
551
- "id": {
552
- "name": "id",
553
- "type": "text",
554
- "primaryKey": true,
555
- "notNull": true,
556
- "autoincrement": false
557
- },
558
- "type": {
559
- "name": "type",
560
- "type": "text",
561
- "primaryKey": false,
562
- "notNull": true,
563
- "autoincrement": false
564
- },
565
- "name": {
566
- "name": "name",
567
- "type": "text",
568
- "primaryKey": false,
569
- "notNull": true,
570
- "autoincrement": false
571
- },
572
- "status": {
573
- "name": "status",
574
- "type": "text",
575
- "primaryKey": false,
576
- "notNull": true,
577
- "autoincrement": false
578
- },
579
- "priority": {
580
- "name": "priority",
581
- "type": "text",
582
- "primaryKey": false,
583
- "notNull": true,
584
- "autoincrement": false
585
- },
586
- "completeness": {
587
- "name": "completeness",
588
- "type": "real",
589
- "primaryKey": false,
590
- "notNull": true,
591
- "autoincrement": false,
592
- "default": 0
593
- },
594
- "open_questions_count": {
595
- "name": "open_questions_count",
596
- "type": "integer",
597
- "primaryKey": false,
598
- "notNull": true,
599
- "autoincrement": false,
600
- "default": 0
601
- },
602
- "kind": {
603
- "name": "kind",
604
- "type": "text",
605
- "primaryKey": false,
606
- "notNull": false,
607
- "autoincrement": false
608
- },
609
- "feature_type": {
610
- "name": "feature_type",
611
- "type": "text",
612
- "primaryKey": false,
613
- "notNull": false,
614
- "autoincrement": false
615
- },
616
- "created_at": {
617
- "name": "created_at",
618
- "type": "text",
619
- "primaryKey": false,
620
- "notNull": true,
621
- "autoincrement": false
622
- },
623
- "updated_at": {
624
- "name": "updated_at",
625
- "type": "text",
626
- "primaryKey": false,
627
- "notNull": true,
628
- "autoincrement": false
629
- },
630
- "body": {
631
- "name": "body",
632
- "type": "text",
633
- "primaryKey": false,
634
- "notNull": false,
635
- "autoincrement": false
636
- },
637
- "project_id": {
638
- "name": "project_id",
639
- "type": "text",
640
- "primaryKey": false,
641
- "notNull": false,
642
- "autoincrement": false
643
- }
644
- },
645
- "indexes": {},
646
- "foreignKeys": {},
647
- "compositePrimaryKeys": {},
648
- "uniqueConstraints": {},
649
- "checkConstraints": {}
650
- },
651
- "password_reset_tokens": {
652
- "name": "password_reset_tokens",
653
- "columns": {
654
- "id": {
655
- "name": "id",
656
- "type": "text",
657
- "primaryKey": true,
658
- "notNull": true,
659
- "autoincrement": false
660
- },
661
- "user_id": {
662
- "name": "user_id",
663
- "type": "text",
664
- "primaryKey": false,
665
- "notNull": true,
666
- "autoincrement": false
667
- },
668
- "token_hash": {
669
- "name": "token_hash",
670
- "type": "text",
671
- "primaryKey": false,
672
- "notNull": true,
673
- "autoincrement": false
674
- },
675
- "expires_at": {
676
- "name": "expires_at",
677
- "type": "text",
678
- "primaryKey": false,
679
- "notNull": true,
680
- "autoincrement": false
681
- },
682
- "created_at": {
683
- "name": "created_at",
684
- "type": "text",
685
- "primaryKey": false,
686
- "notNull": true,
687
- "autoincrement": false
688
- },
689
- "used_at": {
690
- "name": "used_at",
691
- "type": "text",
692
- "primaryKey": false,
693
- "notNull": false,
694
- "autoincrement": false
695
- }
696
- },
697
- "indexes": {},
698
- "foreignKeys": {
699
- "password_reset_tokens_user_id_users_id_fk": {
700
- "name": "password_reset_tokens_user_id_users_id_fk",
701
- "tableFrom": "password_reset_tokens",
702
- "tableTo": "users",
703
- "columnsFrom": [
704
- "user_id"
705
- ],
706
- "columnsTo": [
707
- "id"
708
- ],
709
- "onDelete": "no action",
710
- "onUpdate": "no action"
711
- }
712
- },
713
- "compositePrimaryKeys": {},
714
- "uniqueConstraints": {},
715
- "checkConstraints": {}
716
- },
717
- "pipeline_outputs": {
718
- "name": "pipeline_outputs",
719
- "columns": {
720
- "id": {
721
- "name": "id",
722
- "type": "text",
723
- "primaryKey": true,
724
- "notNull": true,
725
- "autoincrement": false
726
- },
727
- "feature_id": {
728
- "name": "feature_id",
729
- "type": "text",
730
- "primaryKey": false,
731
- "notNull": true,
732
- "autoincrement": false
733
- },
734
- "stage": {
735
- "name": "stage",
736
- "type": "text",
737
- "primaryKey": false,
738
- "notNull": true,
739
- "autoincrement": false
740
- },
741
- "cycle": {
742
- "name": "cycle",
743
- "type": "integer",
744
- "primaryKey": false,
745
- "notNull": true,
746
- "autoincrement": false
747
- },
748
- "output": {
749
- "name": "output",
750
- "type": "text",
751
- "primaryKey": false,
752
- "notNull": true,
753
- "autoincrement": false
754
- },
755
- "created_at": {
756
- "name": "created_at",
757
- "type": "text",
758
- "primaryKey": false,
759
- "notNull": true,
760
- "autoincrement": false
761
- },
762
- "project_id": {
763
- "name": "project_id",
764
- "type": "text",
765
- "primaryKey": false,
766
- "notNull": false,
767
- "autoincrement": false
768
- }
769
- },
770
- "indexes": {},
771
- "foreignKeys": {},
772
- "compositePrimaryKeys": {},
773
- "uniqueConstraints": {},
774
- "checkConstraints": {}
775
- },
776
- "pipeline_state": {
777
- "name": "pipeline_state",
778
- "columns": {
779
- "feature_id": {
780
- "name": "feature_id",
781
- "type": "text",
782
- "primaryKey": true,
783
- "notNull": true,
784
- "autoincrement": false
785
- },
786
- "status": {
787
- "name": "status",
788
- "type": "text",
789
- "primaryKey": false,
790
- "notNull": true,
791
- "autoincrement": false
792
- },
793
- "cycle": {
794
- "name": "cycle",
795
- "type": "integer",
796
- "primaryKey": false,
797
- "notNull": true,
798
- "autoincrement": false,
799
- "default": 1
800
- },
801
- "tasks_json": {
802
- "name": "tasks_json",
803
- "type": "text",
804
- "primaryKey": false,
805
- "notNull": false,
806
- "autoincrement": false
807
- },
808
- "tool_calls_json": {
809
- "name": "tool_calls_json",
810
- "type": "text",
811
- "primaryKey": false,
812
- "notNull": false,
813
- "autoincrement": false
814
- },
815
- "work_summaries_json": {
816
- "name": "work_summaries_json",
817
- "type": "text",
818
- "primaryKey": false,
819
- "notNull": false,
820
- "autoincrement": false
821
- },
822
- "stage_stats_json": {
823
- "name": "stage_stats_json",
824
- "type": "text",
825
- "primaryKey": false,
826
- "notNull": false,
827
- "autoincrement": false
828
- },
829
- "error": {
830
- "name": "error",
831
- "type": "text",
832
- "primaryKey": false,
833
- "notNull": false,
834
- "autoincrement": false
835
- },
836
- "updated_at": {
837
- "name": "updated_at",
838
- "type": "text",
839
- "primaryKey": false,
840
- "notNull": true,
841
- "autoincrement": false
842
- },
843
- "project_id": {
844
- "name": "project_id",
845
- "type": "text",
846
- "primaryKey": false,
847
- "notNull": false,
848
- "autoincrement": false
849
- }
850
- },
851
- "indexes": {},
852
- "foreignKeys": {},
853
- "compositePrimaryKeys": {},
854
- "uniqueConstraints": {},
855
- "checkConstraints": {}
856
- },
857
- "projects": {
858
- "name": "projects",
859
- "columns": {
860
- "id": {
861
- "name": "id",
862
- "type": "text",
863
- "primaryKey": true,
864
- "notNull": true,
865
- "autoincrement": false
866
- },
867
- "name": {
868
- "name": "name",
869
- "type": "text",
870
- "primaryKey": false,
871
- "notNull": true,
872
- "autoincrement": false
873
- },
874
- "type": {
875
- "name": "type",
876
- "type": "text",
877
- "primaryKey": false,
878
- "notNull": true,
879
- "autoincrement": false,
880
- "default": "'software'"
881
- },
882
- "is_default": {
883
- "name": "is_default",
884
- "type": "integer",
885
- "primaryKey": false,
886
- "notNull": true,
887
- "autoincrement": false,
888
- "default": 0
889
- },
890
- "archived_at": {
891
- "name": "archived_at",
892
- "type": "text",
893
- "primaryKey": false,
894
- "notNull": false,
895
- "autoincrement": false
896
- },
897
- "repo_url": {
898
- "name": "repo_url",
899
- "type": "text",
900
- "primaryKey": false,
901
- "notNull": false,
902
- "autoincrement": false
903
- },
904
- "github_installation_id": {
905
- "name": "github_installation_id",
906
- "type": "text",
907
- "primaryKey": false,
908
- "notNull": false,
909
- "autoincrement": false
910
- },
911
- "github_repo_full_name": {
912
- "name": "github_repo_full_name",
913
- "type": "text",
914
- "primaryKey": false,
915
- "notNull": false,
916
- "autoincrement": false
917
- },
918
- "base_branch": {
919
- "name": "base_branch",
920
- "type": "text",
921
- "primaryKey": false,
922
- "notNull": false,
923
- "autoincrement": false
924
- },
925
- "git_auth_method": {
926
- "name": "git_auth_method",
927
- "type": "text",
928
- "primaryKey": false,
929
- "notNull": false,
930
- "autoincrement": false
931
- },
932
- "ssh_private_key_encrypted": {
933
- "name": "ssh_private_key_encrypted",
934
- "type": "text",
935
- "primaryKey": false,
936
- "notNull": false,
937
- "autoincrement": false
938
- },
939
- "ssh_public_key": {
940
- "name": "ssh_public_key",
941
- "type": "text",
942
- "primaryKey": false,
943
- "notNull": false,
944
- "autoincrement": false
945
- },
946
- "created_at": {
947
- "name": "created_at",
948
- "type": "text",
949
- "primaryKey": false,
950
- "notNull": true,
951
- "autoincrement": false
952
- },
953
- "updated_at": {
954
- "name": "updated_at",
955
- "type": "text",
956
- "primaryKey": false,
957
- "notNull": true,
958
- "autoincrement": false
959
- }
960
- },
961
- "indexes": {},
962
- "foreignKeys": {},
963
- "compositePrimaryKeys": {},
964
- "uniqueConstraints": {},
965
- "checkConstraints": {}
966
- },
967
- "refresh_tokens": {
968
- "name": "refresh_tokens",
969
- "columns": {
970
- "id": {
971
- "name": "id",
972
- "type": "text",
973
- "primaryKey": true,
974
- "notNull": true,
975
- "autoincrement": false
976
- },
977
- "user_id": {
978
- "name": "user_id",
979
- "type": "text",
980
- "primaryKey": false,
981
- "notNull": true,
982
- "autoincrement": false
983
- },
984
- "token_hash": {
985
- "name": "token_hash",
986
- "type": "text",
987
- "primaryKey": false,
988
- "notNull": true,
989
- "autoincrement": false
990
- },
991
- "expires_at": {
992
- "name": "expires_at",
993
- "type": "text",
994
- "primaryKey": false,
995
- "notNull": true,
996
- "autoincrement": false
997
- },
998
- "created_at": {
999
- "name": "created_at",
1000
- "type": "text",
1001
- "primaryKey": false,
1002
- "notNull": true,
1003
- "autoincrement": false
1004
- }
1005
- },
1006
- "indexes": {},
1007
- "foreignKeys": {
1008
- "refresh_tokens_user_id_users_id_fk": {
1009
- "name": "refresh_tokens_user_id_users_id_fk",
1010
- "tableFrom": "refresh_tokens",
1011
- "tableTo": "users",
1012
- "columnsFrom": [
1013
- "user_id"
1014
- ],
1015
- "columnsTo": [
1016
- "id"
1017
- ],
1018
- "onDelete": "no action",
1019
- "onUpdate": "no action"
1020
- }
1021
- },
1022
- "compositePrimaryKeys": {},
1023
- "uniqueConstraints": {},
1024
- "checkConstraints": {}
1025
- },
1026
- "review_meta": {
1027
- "name": "review_meta",
1028
- "columns": {
1029
- "key": {
1030
- "name": "key",
1031
- "type": "text",
1032
- "primaryKey": true,
1033
- "notNull": true,
1034
- "autoincrement": false
1035
- },
1036
- "value": {
1037
- "name": "value",
1038
- "type": "text",
1039
- "primaryKey": false,
1040
- "notNull": true,
1041
- "autoincrement": false
1042
- },
1043
- "project_id": {
1044
- "name": "project_id",
1045
- "type": "text",
1046
- "primaryKey": false,
1047
- "notNull": false,
1048
- "autoincrement": false
1049
- }
1050
- },
1051
- "indexes": {},
1052
- "foreignKeys": {},
1053
- "compositePrimaryKeys": {},
1054
- "uniqueConstraints": {},
1055
- "checkConstraints": {}
1056
- },
1057
- "sessions": {
1058
- "name": "sessions",
1059
- "columns": {
1060
- "session_number": {
1061
- "name": "session_number",
1062
- "type": "integer",
1063
- "primaryKey": false,
1064
- "notNull": true,
1065
- "autoincrement": false
1066
- },
1067
- "started_at": {
1068
- "name": "started_at",
1069
- "type": "text",
1070
- "primaryKey": false,
1071
- "notNull": true,
1072
- "autoincrement": false
1073
- },
1074
- "ended_at": {
1075
- "name": "ended_at",
1076
- "type": "text",
1077
- "primaryKey": false,
1078
- "notNull": false,
1079
- "autoincrement": false
1080
- },
1081
- "summary": {
1082
- "name": "summary",
1083
- "type": "text",
1084
- "primaryKey": false,
1085
- "notNull": false,
1086
- "autoincrement": false
1087
- },
1088
- "nodes_touched": {
1089
- "name": "nodes_touched",
1090
- "type": "text",
1091
- "primaryKey": false,
1092
- "notNull": false,
1093
- "autoincrement": false
1094
- },
1095
- "questions_resolved": {
1096
- "name": "questions_resolved",
1097
- "type": "integer",
1098
- "primaryKey": false,
1099
- "notNull": true,
1100
- "autoincrement": false,
1101
- "default": 0
1102
- },
1103
- "body": {
1104
- "name": "body",
1105
- "type": "text",
1106
- "primaryKey": false,
1107
- "notNull": false,
1108
- "autoincrement": false
1109
- },
1110
- "project_id": {
1111
- "name": "project_id",
1112
- "type": "text",
1113
- "primaryKey": false,
1114
- "notNull": true,
1115
- "autoincrement": false
1116
- }
1117
- },
1118
- "indexes": {},
1119
- "foreignKeys": {},
1120
- "compositePrimaryKeys": {
1121
- "sessions_session_number_project_id_pk": {
1122
- "columns": [
1123
- "session_number",
1124
- "project_id"
1125
- ],
1126
- "name": "sessions_session_number_project_id_pk"
1127
- }
1128
- },
1129
- "uniqueConstraints": {},
1130
- "checkConstraints": {}
1131
- },
1132
- "terminal_sessions": {
1133
- "name": "terminal_sessions",
1134
- "columns": {
1135
- "id": {
1136
- "name": "id",
1137
- "type": "text",
1138
- "primaryKey": true,
1139
- "notNull": true,
1140
- "autoincrement": false
1141
- },
1142
- "claude_session_id": {
1143
- "name": "claude_session_id",
1144
- "type": "text",
1145
- "primaryKey": false,
1146
- "notNull": true,
1147
- "autoincrement": false
1148
- },
1149
- "project_id": {
1150
- "name": "project_id",
1151
- "type": "text",
1152
- "primaryKey": false,
1153
- "notNull": true,
1154
- "autoincrement": false
1155
- },
1156
- "project_name": {
1157
- "name": "project_name",
1158
- "type": "text",
1159
- "primaryKey": false,
1160
- "notNull": true,
1161
- "autoincrement": false
1162
- },
1163
- "name": {
1164
- "name": "name",
1165
- "type": "text",
1166
- "primaryKey": false,
1167
- "notNull": true,
1168
- "autoincrement": false
1169
- },
1170
- "session_type": {
1171
- "name": "session_type",
1172
- "type": "text",
1173
- "primaryKey": false,
1174
- "notNull": true,
1175
- "autoincrement": false,
1176
- "default": "'claude'"
1177
- },
1178
- "created_at": {
1179
- "name": "created_at",
1180
- "type": "text",
1181
- "primaryKey": false,
1182
- "notNull": true,
1183
- "autoincrement": false
1184
- },
1185
- "last_used_at": {
1186
- "name": "last_used_at",
1187
- "type": "text",
1188
- "primaryKey": false,
1189
- "notNull": true,
1190
- "autoincrement": false
1191
- }
1192
- },
1193
- "indexes": {},
1194
- "foreignKeys": {},
1195
- "compositePrimaryKeys": {},
1196
- "uniqueConstraints": {},
1197
- "checkConstraints": {}
1198
- },
1199
- "users": {
1200
- "name": "users",
1201
- "columns": {
1202
- "id": {
1203
- "name": "id",
1204
- "type": "text",
1205
- "primaryKey": true,
1206
- "notNull": true,
1207
- "autoincrement": false
1208
- },
1209
- "email": {
1210
- "name": "email",
1211
- "type": "text",
1212
- "primaryKey": false,
1213
- "notNull": true,
1214
- "autoincrement": false
1215
- },
1216
- "password_hash": {
1217
- "name": "password_hash",
1218
- "type": "text",
1219
- "primaryKey": false,
1220
- "notNull": true,
1221
- "autoincrement": false
1222
- },
1223
- "role": {
1224
- "name": "role",
1225
- "type": "text",
1226
- "primaryKey": false,
1227
- "notNull": true,
1228
- "autoincrement": false,
1229
- "default": "'user'"
1230
- },
1231
- "created_at": {
1232
- "name": "created_at",
1233
- "type": "text",
1234
- "primaryKey": false,
1235
- "notNull": true,
1236
- "autoincrement": false
1237
- },
1238
- "updated_at": {
1239
- "name": "updated_at",
1240
- "type": "text",
1241
- "primaryKey": false,
1242
- "notNull": true,
1243
- "autoincrement": false
1244
- }
1245
- },
1246
- "indexes": {
1247
- "users_email_unique": {
1248
- "name": "users_email_unique",
1249
- "columns": [
1250
- "email"
1251
- ],
1252
- "isUnique": true
1253
- }
1254
- },
1255
- "foreignKeys": {},
1256
- "compositePrimaryKeys": {},
1257
- "uniqueConstraints": {},
1258
- "checkConstraints": {}
1259
- },
1260
- "video_renders": {
1261
- "name": "video_renders",
1262
- "columns": {
1263
- "id": {
1264
- "name": "id",
1265
- "type": "text",
1266
- "primaryKey": true,
1267
- "notNull": true,
1268
- "autoincrement": false
1269
- },
1270
- "project_id": {
1271
- "name": "project_id",
1272
- "type": "text",
1273
- "primaryKey": false,
1274
- "notNull": true,
1275
- "autoincrement": false
1276
- },
1277
- "feature_id": {
1278
- "name": "feature_id",
1279
- "type": "text",
1280
- "primaryKey": false,
1281
- "notNull": false,
1282
- "autoincrement": false
1283
- },
1284
- "composition_id": {
1285
- "name": "composition_id",
1286
- "type": "text",
1287
- "primaryKey": false,
1288
- "notNull": true,
1289
- "autoincrement": false
1290
- },
1291
- "status": {
1292
- "name": "status",
1293
- "type": "text",
1294
- "primaryKey": false,
1295
- "notNull": true,
1296
- "autoincrement": false
1297
- },
1298
- "progress": {
1299
- "name": "progress",
1300
- "type": "real",
1301
- "primaryKey": false,
1302
- "notNull": true,
1303
- "autoincrement": false,
1304
- "default": 0
1305
- },
1306
- "file_path": {
1307
- "name": "file_path",
1308
- "type": "text",
1309
- "primaryKey": false,
1310
- "notNull": false,
1311
- "autoincrement": false
1312
- },
1313
- "file_size": {
1314
- "name": "file_size",
1315
- "type": "integer",
1316
- "primaryKey": false,
1317
- "notNull": false,
1318
- "autoincrement": false
1319
- },
1320
- "duration_seconds": {
1321
- "name": "duration_seconds",
1322
- "type": "real",
1323
- "primaryKey": false,
1324
- "notNull": false,
1325
- "autoincrement": false
1326
- },
1327
- "error": {
1328
- "name": "error",
1329
- "type": "text",
1330
- "primaryKey": false,
1331
- "notNull": false,
1332
- "autoincrement": false
1333
- },
1334
- "resolution": {
1335
- "name": "resolution",
1336
- "type": "text",
1337
- "primaryKey": false,
1338
- "notNull": false,
1339
- "autoincrement": false
1340
- },
1341
- "created_at": {
1342
- "name": "created_at",
1343
- "type": "text",
1344
- "primaryKey": false,
1345
- "notNull": true,
1346
- "autoincrement": false
1347
- },
1348
- "completed_at": {
1349
- "name": "completed_at",
1350
- "type": "text",
1351
- "primaryKey": false,
1352
- "notNull": false,
1353
- "autoincrement": false
1354
- }
1355
- },
1356
- "indexes": {},
1357
- "foreignKeys": {},
1358
- "compositePrimaryKeys": {},
1359
- "uniqueConstraints": {},
1360
- "checkConstraints": {}
1361
- },
1362
- "workflow_executions": {
1363
- "name": "workflow_executions",
1364
- "columns": {
1365
- "id": {
1366
- "name": "id",
1367
- "type": "text",
1368
- "primaryKey": true,
1369
- "notNull": true,
1370
- "autoincrement": false
1371
- },
1372
- "workflow_id": {
1373
- "name": "workflow_id",
1374
- "type": "text",
1375
- "primaryKey": false,
1376
- "notNull": true,
1377
- "autoincrement": false
1378
- },
1379
- "feature_id": {
1380
- "name": "feature_id",
1381
- "type": "text",
1382
- "primaryKey": false,
1383
- "notNull": true,
1384
- "autoincrement": false
1385
- },
1386
- "status": {
1387
- "name": "status",
1388
- "type": "text",
1389
- "primaryKey": false,
1390
- "notNull": true,
1391
- "autoincrement": false
1392
- },
1393
- "current_node_id": {
1394
- "name": "current_node_id",
1395
- "type": "text",
1396
- "primaryKey": false,
1397
- "notNull": false,
1398
- "autoincrement": false
1399
- },
1400
- "context": {
1401
- "name": "context",
1402
- "type": "text",
1403
- "primaryKey": false,
1404
- "notNull": true,
1405
- "autoincrement": false
1406
- },
1407
- "started_at": {
1408
- "name": "started_at",
1409
- "type": "text",
1410
- "primaryKey": false,
1411
- "notNull": true,
1412
- "autoincrement": false
1413
- },
1414
- "updated_at": {
1415
- "name": "updated_at",
1416
- "type": "text",
1417
- "primaryKey": false,
1418
- "notNull": true,
1419
- "autoincrement": false
1420
- }
1421
- },
1422
- "indexes": {},
1423
- "foreignKeys": {
1424
- "workflow_executions_workflow_id_workflows_id_fk": {
1425
- "name": "workflow_executions_workflow_id_workflows_id_fk",
1426
- "tableFrom": "workflow_executions",
1427
- "tableTo": "workflows",
1428
- "columnsFrom": [
1429
- "workflow_id"
1430
- ],
1431
- "columnsTo": [
1432
- "id"
1433
- ],
1434
- "onDelete": "no action",
1435
- "onUpdate": "no action"
1436
- }
1437
- },
1438
- "compositePrimaryKeys": {},
1439
- "uniqueConstraints": {},
1440
- "checkConstraints": {}
1441
- },
1442
- "workflow_groups": {
1443
- "name": "workflow_groups",
1444
- "columns": {
1445
- "id": {
1446
- "name": "id",
1447
- "type": "text",
1448
- "primaryKey": true,
1449
- "notNull": true,
1450
- "autoincrement": false
1451
- },
1452
- "name": {
1453
- "name": "name",
1454
- "type": "text",
1455
- "primaryKey": false,
1456
- "notNull": true,
1457
- "autoincrement": false
1458
- },
1459
- "project_id": {
1460
- "name": "project_id",
1461
- "type": "text",
1462
- "primaryKey": false,
1463
- "notNull": false,
1464
- "autoincrement": false
1465
- },
1466
- "graph_data": {
1467
- "name": "graph_data",
1468
- "type": "text",
1469
- "primaryKey": false,
1470
- "notNull": true,
1471
- "autoincrement": false
1472
- },
1473
- "created_at": {
1474
- "name": "created_at",
1475
- "type": "text",
1476
- "primaryKey": false,
1477
- "notNull": true,
1478
- "autoincrement": false
1479
- },
1480
- "updated_at": {
1481
- "name": "updated_at",
1482
- "type": "text",
1483
- "primaryKey": false,
1484
- "notNull": true,
1485
- "autoincrement": false
1486
- }
1487
- },
1488
- "indexes": {},
1489
- "foreignKeys": {},
1490
- "compositePrimaryKeys": {},
1491
- "uniqueConstraints": {},
1492
- "checkConstraints": {}
1493
- },
1494
- "workflow_node_executions": {
1495
- "name": "workflow_node_executions",
1496
- "columns": {
1497
- "id": {
1498
- "name": "id",
1499
- "type": "text",
1500
- "primaryKey": true,
1501
- "notNull": true,
1502
- "autoincrement": false
1503
- },
1504
- "execution_id": {
1505
- "name": "execution_id",
1506
- "type": "text",
1507
- "primaryKey": false,
1508
- "notNull": true,
1509
- "autoincrement": false
1510
- },
1511
- "node_id": {
1512
- "name": "node_id",
1513
- "type": "text",
1514
- "primaryKey": false,
1515
- "notNull": true,
1516
- "autoincrement": false
1517
- },
1518
- "status": {
1519
- "name": "status",
1520
- "type": "text",
1521
- "primaryKey": false,
1522
- "notNull": true,
1523
- "autoincrement": false
1524
- },
1525
- "started_at": {
1526
- "name": "started_at",
1527
- "type": "text",
1528
- "primaryKey": false,
1529
- "notNull": false,
1530
- "autoincrement": false
1531
- },
1532
- "completed_at": {
1533
- "name": "completed_at",
1534
- "type": "text",
1535
- "primaryKey": false,
1536
- "notNull": false,
1537
- "autoincrement": false
1538
- },
1539
- "output_data": {
1540
- "name": "output_data",
1541
- "type": "text",
1542
- "primaryKey": false,
1543
- "notNull": false,
1544
- "autoincrement": false
1545
- },
1546
- "error": {
1547
- "name": "error",
1548
- "type": "text",
1549
- "primaryKey": false,
1550
- "notNull": false,
1551
- "autoincrement": false
1552
- },
1553
- "attempt": {
1554
- "name": "attempt",
1555
- "type": "integer",
1556
- "primaryKey": false,
1557
- "notNull": true,
1558
- "autoincrement": false,
1559
- "default": 1
1560
- },
1561
- "cycle": {
1562
- "name": "cycle",
1563
- "type": "integer",
1564
- "primaryKey": false,
1565
- "notNull": true,
1566
- "autoincrement": false,
1567
- "default": 1
1568
- },
1569
- "claude_session_id": {
1570
- "name": "claude_session_id",
1571
- "type": "text",
1572
- "primaryKey": false,
1573
- "notNull": false,
1574
- "autoincrement": false
1575
- }
1576
- },
1577
- "indexes": {},
1578
- "foreignKeys": {
1579
- "workflow_node_executions_execution_id_workflow_executions_id_fk": {
1580
- "name": "workflow_node_executions_execution_id_workflow_executions_id_fk",
1581
- "tableFrom": "workflow_node_executions",
1582
- "tableTo": "workflow_executions",
1583
- "columnsFrom": [
1584
- "execution_id"
1585
- ],
1586
- "columnsTo": [
1587
- "id"
1588
- ],
1589
- "onDelete": "no action",
1590
- "onUpdate": "no action"
1591
- }
1592
- },
1593
- "compositePrimaryKeys": {},
1594
- "uniqueConstraints": {},
1595
- "checkConstraints": {}
1596
- },
1597
- "workflow_tool_calls": {
1598
- "name": "workflow_tool_calls",
1599
- "columns": {
1600
- "id": {
1601
- "name": "id",
1602
- "type": "text",
1603
- "primaryKey": true,
1604
- "notNull": true,
1605
- "autoincrement": false
1606
- },
1607
- "node_execution_id": {
1608
- "name": "node_execution_id",
1609
- "type": "text",
1610
- "primaryKey": false,
1611
- "notNull": true,
1612
- "autoincrement": false
1613
- },
1614
- "timestamp": {
1615
- "name": "timestamp",
1616
- "type": "text",
1617
- "primaryKey": false,
1618
- "notNull": true,
1619
- "autoincrement": false
1620
- },
1621
- "tool_name": {
1622
- "name": "tool_name",
1623
- "type": "text",
1624
- "primaryKey": false,
1625
- "notNull": true,
1626
- "autoincrement": false
1627
- },
1628
- "target": {
1629
- "name": "target",
1630
- "type": "text",
1631
- "primaryKey": false,
1632
- "notNull": true,
1633
- "autoincrement": false
1634
- },
1635
- "created_at": {
1636
- "name": "created_at",
1637
- "type": "text",
1638
- "primaryKey": false,
1639
- "notNull": true,
1640
- "autoincrement": false
1641
- }
1642
- },
1643
- "indexes": {},
1644
- "foreignKeys": {
1645
- "workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk": {
1646
- "name": "workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk",
1647
- "tableFrom": "workflow_tool_calls",
1648
- "tableTo": "workflow_node_executions",
1649
- "columnsFrom": [
1650
- "node_execution_id"
1651
- ],
1652
- "columnsTo": [
1653
- "id"
1654
- ],
1655
- "onDelete": "no action",
1656
- "onUpdate": "no action"
1657
- }
1658
- },
1659
- "compositePrimaryKeys": {},
1660
- "uniqueConstraints": {},
1661
- "checkConstraints": {}
1662
- },
1663
- "workflows": {
1664
- "name": "workflows",
1665
- "columns": {
1666
- "id": {
1667
- "name": "id",
1668
- "type": "text",
1669
- "primaryKey": true,
1670
- "notNull": true,
1671
- "autoincrement": false
1672
- },
1673
- "name": {
1674
- "name": "name",
1675
- "type": "text",
1676
- "primaryKey": false,
1677
- "notNull": true,
1678
- "autoincrement": false
1679
- },
1680
- "description": {
1681
- "name": "description",
1682
- "type": "text",
1683
- "primaryKey": false,
1684
- "notNull": false,
1685
- "autoincrement": false
1686
- },
1687
- "project_id": {
1688
- "name": "project_id",
1689
- "type": "text",
1690
- "primaryKey": false,
1691
- "notNull": false,
1692
- "autoincrement": false
1693
- },
1694
- "feature_type": {
1695
- "name": "feature_type",
1696
- "type": "text",
1697
- "primaryKey": false,
1698
- "notNull": false,
1699
- "autoincrement": false
1700
- },
1701
- "trigger_column": {
1702
- "name": "trigger_column",
1703
- "type": "text",
1704
- "primaryKey": false,
1705
- "notNull": false,
1706
- "autoincrement": false
1707
- },
1708
- "is_default": {
1709
- "name": "is_default",
1710
- "type": "integer",
1711
- "primaryKey": false,
1712
- "notNull": true,
1713
- "autoincrement": false,
1714
- "default": 0
1715
- },
1716
- "graph_data": {
1717
- "name": "graph_data",
1718
- "type": "text",
1719
- "primaryKey": false,
1720
- "notNull": true,
1721
- "autoincrement": false
1722
- },
1723
- "created_at": {
1724
- "name": "created_at",
1725
- "type": "text",
1726
- "primaryKey": false,
1727
- "notNull": true,
1728
- "autoincrement": false
1729
- },
1730
- "updated_at": {
1731
- "name": "updated_at",
1732
- "type": "text",
1733
- "primaryKey": false,
1734
- "notNull": true,
1735
- "autoincrement": false
1736
- }
1737
- },
1738
- "indexes": {},
1739
- "foreignKeys": {},
1740
- "compositePrimaryKeys": {},
1741
- "uniqueConstraints": {},
1742
- "checkConstraints": {}
1743
- }
1744
- },
1745
- "views": {},
1746
- "enums": {},
1747
- "_meta": {
1748
- "schemas": {},
1749
- "tables": {},
1750
- "columns": {}
1751
- },
1752
- "internal": {
1753
- "indexes": {}
1754
- }
1755
- }