workplane 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,841 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "1d6c17b0-fc80-4ae0-8aeb-0e03e875f8a2",
5
+ "prevId": "f900e3c5-3284-48f6-be98-b3929a136698",
6
+ "tables": {
7
+ "artifacts": {
8
+ "name": "artifacts",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "run_id": {
18
+ "name": "run_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "type": {
25
+ "name": "type",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "name": {
32
+ "name": "name",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "path": {
39
+ "name": "path",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ },
45
+ "metadata": {
46
+ "name": "metadata",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": false,
50
+ "autoincrement": false
51
+ },
52
+ "created_at": {
53
+ "name": "created_at",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": true,
57
+ "autoincrement": false,
58
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
59
+ }
60
+ },
61
+ "indexes": {
62
+ "idx_artifacts_run_id": {
63
+ "name": "idx_artifacts_run_id",
64
+ "columns": [
65
+ "run_id"
66
+ ],
67
+ "isUnique": false
68
+ }
69
+ },
70
+ "foreignKeys": {
71
+ "artifacts_run_id_runs_id_fk": {
72
+ "name": "artifacts_run_id_runs_id_fk",
73
+ "tableFrom": "artifacts",
74
+ "tableTo": "runs",
75
+ "columnsFrom": [
76
+ "run_id"
77
+ ],
78
+ "columnsTo": [
79
+ "id"
80
+ ],
81
+ "onDelete": "no action",
82
+ "onUpdate": "no action"
83
+ }
84
+ },
85
+ "compositePrimaryKeys": {},
86
+ "uniqueConstraints": {},
87
+ "checkConstraints": {}
88
+ },
89
+ "nodes": {
90
+ "name": "nodes",
91
+ "columns": {
92
+ "id": {
93
+ "name": "id",
94
+ "type": "text",
95
+ "primaryKey": true,
96
+ "notNull": true,
97
+ "autoincrement": false
98
+ },
99
+ "name": {
100
+ "name": "name",
101
+ "type": "text",
102
+ "primaryKey": false,
103
+ "notNull": true,
104
+ "autoincrement": false
105
+ },
106
+ "capabilities": {
107
+ "name": "capabilities",
108
+ "type": "text",
109
+ "primaryKey": false,
110
+ "notNull": true,
111
+ "autoincrement": false,
112
+ "default": "'[]'"
113
+ },
114
+ "status": {
115
+ "name": "status",
116
+ "type": "text",
117
+ "primaryKey": false,
118
+ "notNull": true,
119
+ "autoincrement": false,
120
+ "default": "'online'"
121
+ },
122
+ "last_heartbeat_at": {
123
+ "name": "last_heartbeat_at",
124
+ "type": "text",
125
+ "primaryKey": false,
126
+ "notNull": false,
127
+ "autoincrement": false
128
+ },
129
+ "created_at": {
130
+ "name": "created_at",
131
+ "type": "text",
132
+ "primaryKey": false,
133
+ "notNull": true,
134
+ "autoincrement": false,
135
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
136
+ },
137
+ "updated_at": {
138
+ "name": "updated_at",
139
+ "type": "text",
140
+ "primaryKey": false,
141
+ "notNull": true,
142
+ "autoincrement": false,
143
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
144
+ }
145
+ },
146
+ "indexes": {},
147
+ "foreignKeys": {},
148
+ "compositePrimaryKeys": {},
149
+ "uniqueConstraints": {},
150
+ "checkConstraints": {}
151
+ },
152
+ "run_input_events": {
153
+ "name": "run_input_events",
154
+ "columns": {
155
+ "id": {
156
+ "name": "id",
157
+ "type": "integer",
158
+ "primaryKey": true,
159
+ "notNull": true,
160
+ "autoincrement": true
161
+ },
162
+ "run_id": {
163
+ "name": "run_id",
164
+ "type": "text",
165
+ "primaryKey": false,
166
+ "notNull": true,
167
+ "autoincrement": false
168
+ },
169
+ "sequence": {
170
+ "name": "sequence",
171
+ "type": "integer",
172
+ "primaryKey": false,
173
+ "notNull": true,
174
+ "autoincrement": false
175
+ },
176
+ "kind": {
177
+ "name": "kind",
178
+ "type": "text",
179
+ "primaryKey": false,
180
+ "notNull": true,
181
+ "autoincrement": false
182
+ },
183
+ "payload": {
184
+ "name": "payload",
185
+ "type": "text",
186
+ "primaryKey": false,
187
+ "notNull": true,
188
+ "autoincrement": false,
189
+ "default": "'{}'"
190
+ },
191
+ "created_at": {
192
+ "name": "created_at",
193
+ "type": "text",
194
+ "primaryKey": false,
195
+ "notNull": true,
196
+ "autoincrement": false,
197
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
198
+ },
199
+ "delivered_at": {
200
+ "name": "delivered_at",
201
+ "type": "text",
202
+ "primaryKey": false,
203
+ "notNull": false,
204
+ "autoincrement": false
205
+ }
206
+ },
207
+ "indexes": {
208
+ "idx_run_input_events_run_sequence": {
209
+ "name": "idx_run_input_events_run_sequence",
210
+ "columns": [
211
+ "run_id",
212
+ "sequence"
213
+ ],
214
+ "isUnique": true
215
+ },
216
+ "idx_run_input_events_undelivered": {
217
+ "name": "idx_run_input_events_undelivered",
218
+ "columns": [
219
+ "run_id",
220
+ "sequence"
221
+ ],
222
+ "isUnique": false,
223
+ "where": "\"run_input_events\".\"delivered_at\" is null"
224
+ }
225
+ },
226
+ "foreignKeys": {
227
+ "run_input_events_run_id_runs_id_fk": {
228
+ "name": "run_input_events_run_id_runs_id_fk",
229
+ "tableFrom": "run_input_events",
230
+ "tableTo": "runs",
231
+ "columnsFrom": [
232
+ "run_id"
233
+ ],
234
+ "columnsTo": [
235
+ "id"
236
+ ],
237
+ "onDelete": "no action",
238
+ "onUpdate": "no action"
239
+ }
240
+ },
241
+ "compositePrimaryKeys": {},
242
+ "uniqueConstraints": {},
243
+ "checkConstraints": {}
244
+ },
245
+ "run_logs": {
246
+ "name": "run_logs",
247
+ "columns": {
248
+ "id": {
249
+ "name": "id",
250
+ "type": "integer",
251
+ "primaryKey": true,
252
+ "notNull": true,
253
+ "autoincrement": true
254
+ },
255
+ "run_id": {
256
+ "name": "run_id",
257
+ "type": "text",
258
+ "primaryKey": false,
259
+ "notNull": true,
260
+ "autoincrement": false
261
+ },
262
+ "step_name": {
263
+ "name": "step_name",
264
+ "type": "text",
265
+ "primaryKey": false,
266
+ "notNull": false,
267
+ "autoincrement": false
268
+ },
269
+ "stream": {
270
+ "name": "stream",
271
+ "type": "text",
272
+ "primaryKey": false,
273
+ "notNull": true,
274
+ "autoincrement": false
275
+ },
276
+ "message": {
277
+ "name": "message",
278
+ "type": "text",
279
+ "primaryKey": false,
280
+ "notNull": true,
281
+ "autoincrement": false
282
+ },
283
+ "timestamp": {
284
+ "name": "timestamp",
285
+ "type": "text",
286
+ "primaryKey": false,
287
+ "notNull": true,
288
+ "autoincrement": false,
289
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
290
+ }
291
+ },
292
+ "indexes": {
293
+ "idx_run_logs_run_id_timestamp": {
294
+ "name": "idx_run_logs_run_id_timestamp",
295
+ "columns": [
296
+ "run_id",
297
+ "timestamp"
298
+ ],
299
+ "isUnique": false
300
+ }
301
+ },
302
+ "foreignKeys": {
303
+ "run_logs_run_id_runs_id_fk": {
304
+ "name": "run_logs_run_id_runs_id_fk",
305
+ "tableFrom": "run_logs",
306
+ "tableTo": "runs",
307
+ "columnsFrom": [
308
+ "run_id"
309
+ ],
310
+ "columnsTo": [
311
+ "id"
312
+ ],
313
+ "onDelete": "no action",
314
+ "onUpdate": "no action"
315
+ }
316
+ },
317
+ "compositePrimaryKeys": {},
318
+ "uniqueConstraints": {},
319
+ "checkConstraints": {}
320
+ },
321
+ "runs": {
322
+ "name": "runs",
323
+ "columns": {
324
+ "id": {
325
+ "name": "id",
326
+ "type": "text",
327
+ "primaryKey": true,
328
+ "notNull": true,
329
+ "autoincrement": false
330
+ },
331
+ "task_id": {
332
+ "name": "task_id",
333
+ "type": "text",
334
+ "primaryKey": false,
335
+ "notNull": true,
336
+ "autoincrement": false
337
+ },
338
+ "node_id": {
339
+ "name": "node_id",
340
+ "type": "text",
341
+ "primaryKey": false,
342
+ "notNull": true,
343
+ "autoincrement": false
344
+ },
345
+ "attempt": {
346
+ "name": "attempt",
347
+ "type": "integer",
348
+ "primaryKey": false,
349
+ "notNull": true,
350
+ "autoincrement": false
351
+ },
352
+ "status": {
353
+ "name": "status",
354
+ "type": "text",
355
+ "primaryKey": false,
356
+ "notNull": true,
357
+ "autoincrement": false
358
+ },
359
+ "started_at": {
360
+ "name": "started_at",
361
+ "type": "text",
362
+ "primaryKey": false,
363
+ "notNull": false,
364
+ "autoincrement": false
365
+ },
366
+ "ended_at": {
367
+ "name": "ended_at",
368
+ "type": "text",
369
+ "primaryKey": false,
370
+ "notNull": false,
371
+ "autoincrement": false
372
+ },
373
+ "error": {
374
+ "name": "error",
375
+ "type": "text",
376
+ "primaryKey": false,
377
+ "notNull": false,
378
+ "autoincrement": false
379
+ },
380
+ "created_at": {
381
+ "name": "created_at",
382
+ "type": "text",
383
+ "primaryKey": false,
384
+ "notNull": true,
385
+ "autoincrement": false,
386
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
387
+ },
388
+ "updated_at": {
389
+ "name": "updated_at",
390
+ "type": "text",
391
+ "primaryKey": false,
392
+ "notNull": true,
393
+ "autoincrement": false,
394
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
395
+ }
396
+ },
397
+ "indexes": {
398
+ "idx_runs_task_id": {
399
+ "name": "idx_runs_task_id",
400
+ "columns": [
401
+ "task_id"
402
+ ],
403
+ "isUnique": false
404
+ },
405
+ "idx_runs_node_id": {
406
+ "name": "idx_runs_node_id",
407
+ "columns": [
408
+ "node_id"
409
+ ],
410
+ "isUnique": false
411
+ }
412
+ },
413
+ "foreignKeys": {
414
+ "runs_task_id_tasks_id_fk": {
415
+ "name": "runs_task_id_tasks_id_fk",
416
+ "tableFrom": "runs",
417
+ "tableTo": "tasks",
418
+ "columnsFrom": [
419
+ "task_id"
420
+ ],
421
+ "columnsTo": [
422
+ "id"
423
+ ],
424
+ "onDelete": "no action",
425
+ "onUpdate": "no action"
426
+ },
427
+ "runs_node_id_nodes_id_fk": {
428
+ "name": "runs_node_id_nodes_id_fk",
429
+ "tableFrom": "runs",
430
+ "tableTo": "nodes",
431
+ "columnsFrom": [
432
+ "node_id"
433
+ ],
434
+ "columnsTo": [
435
+ "id"
436
+ ],
437
+ "onDelete": "no action",
438
+ "onUpdate": "no action"
439
+ }
440
+ },
441
+ "compositePrimaryKeys": {},
442
+ "uniqueConstraints": {},
443
+ "checkConstraints": {}
444
+ },
445
+ "tasks": {
446
+ "name": "tasks",
447
+ "columns": {
448
+ "id": {
449
+ "name": "id",
450
+ "type": "text",
451
+ "primaryKey": true,
452
+ "notNull": true,
453
+ "autoincrement": false
454
+ },
455
+ "kind": {
456
+ "name": "kind",
457
+ "type": "text",
458
+ "primaryKey": false,
459
+ "notNull": true,
460
+ "autoincrement": false
461
+ },
462
+ "adapter": {
463
+ "name": "adapter",
464
+ "type": "text",
465
+ "primaryKey": false,
466
+ "notNull": true,
467
+ "autoincrement": false
468
+ },
469
+ "payload": {
470
+ "name": "payload",
471
+ "type": "text",
472
+ "primaryKey": false,
473
+ "notNull": true,
474
+ "autoincrement": false,
475
+ "default": "'{}'"
476
+ },
477
+ "requires": {
478
+ "name": "requires",
479
+ "type": "text",
480
+ "primaryKey": false,
481
+ "notNull": true,
482
+ "autoincrement": false,
483
+ "default": "'[]'"
484
+ },
485
+ "status": {
486
+ "name": "status",
487
+ "type": "text",
488
+ "primaryKey": false,
489
+ "notNull": true,
490
+ "autoincrement": false
491
+ },
492
+ "created_at": {
493
+ "name": "created_at",
494
+ "type": "text",
495
+ "primaryKey": false,
496
+ "notNull": true,
497
+ "autoincrement": false,
498
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
499
+ },
500
+ "updated_at": {
501
+ "name": "updated_at",
502
+ "type": "text",
503
+ "primaryKey": false,
504
+ "notNull": true,
505
+ "autoincrement": false,
506
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
507
+ }
508
+ },
509
+ "indexes": {
510
+ "idx_tasks_status_created_at": {
511
+ "name": "idx_tasks_status_created_at",
512
+ "columns": [
513
+ "status",
514
+ "created_at"
515
+ ],
516
+ "isUnique": false
517
+ }
518
+ },
519
+ "foreignKeys": {},
520
+ "compositePrimaryKeys": {},
521
+ "uniqueConstraints": {},
522
+ "checkConstraints": {}
523
+ },
524
+ "workplan_runs": {
525
+ "name": "workplan_runs",
526
+ "columns": {
527
+ "id": {
528
+ "name": "id",
529
+ "type": "text",
530
+ "primaryKey": true,
531
+ "notNull": true,
532
+ "autoincrement": false
533
+ },
534
+ "schedule_id": {
535
+ "name": "schedule_id",
536
+ "type": "text",
537
+ "primaryKey": false,
538
+ "notNull": false,
539
+ "autoincrement": false
540
+ },
541
+ "plan_id": {
542
+ "name": "plan_id",
543
+ "type": "text",
544
+ "primaryKey": false,
545
+ "notNull": true,
546
+ "autoincrement": false
547
+ },
548
+ "plan_name": {
549
+ "name": "plan_name",
550
+ "type": "text",
551
+ "primaryKey": false,
552
+ "notNull": true,
553
+ "autoincrement": false
554
+ },
555
+ "status": {
556
+ "name": "status",
557
+ "type": "text",
558
+ "primaryKey": false,
559
+ "notNull": true,
560
+ "autoincrement": false,
561
+ "default": "'running'"
562
+ },
563
+ "idempotency_key": {
564
+ "name": "idempotency_key",
565
+ "type": "text",
566
+ "primaryKey": false,
567
+ "notNull": false,
568
+ "autoincrement": false
569
+ },
570
+ "created_at": {
571
+ "name": "created_at",
572
+ "type": "text",
573
+ "primaryKey": false,
574
+ "notNull": true,
575
+ "autoincrement": false,
576
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
577
+ },
578
+ "ended_at": {
579
+ "name": "ended_at",
580
+ "type": "text",
581
+ "primaryKey": false,
582
+ "notNull": false,
583
+ "autoincrement": false
584
+ },
585
+ "error": {
586
+ "name": "error",
587
+ "type": "text",
588
+ "primaryKey": false,
589
+ "notNull": false,
590
+ "autoincrement": false
591
+ }
592
+ },
593
+ "indexes": {
594
+ "idx_workplan_runs_schedule_id": {
595
+ "name": "idx_workplan_runs_schedule_id",
596
+ "columns": [
597
+ "schedule_id"
598
+ ],
599
+ "isUnique": false
600
+ },
601
+ "idx_workplan_runs_idempotency": {
602
+ "name": "idx_workplan_runs_idempotency",
603
+ "columns": [
604
+ "idempotency_key"
605
+ ],
606
+ "isUnique": true
607
+ }
608
+ },
609
+ "foreignKeys": {
610
+ "workplan_runs_schedule_id_workplan_schedules_id_fk": {
611
+ "name": "workplan_runs_schedule_id_workplan_schedules_id_fk",
612
+ "tableFrom": "workplan_runs",
613
+ "tableTo": "workplan_schedules",
614
+ "columnsFrom": [
615
+ "schedule_id"
616
+ ],
617
+ "columnsTo": [
618
+ "id"
619
+ ],
620
+ "onDelete": "no action",
621
+ "onUpdate": "no action"
622
+ }
623
+ },
624
+ "compositePrimaryKeys": {},
625
+ "uniqueConstraints": {},
626
+ "checkConstraints": {}
627
+ },
628
+ "workplan_schedules": {
629
+ "name": "workplan_schedules",
630
+ "columns": {
631
+ "id": {
632
+ "name": "id",
633
+ "type": "text",
634
+ "primaryKey": true,
635
+ "notNull": true,
636
+ "autoincrement": false
637
+ },
638
+ "plan_id": {
639
+ "name": "plan_id",
640
+ "type": "text",
641
+ "primaryKey": false,
642
+ "notNull": true,
643
+ "autoincrement": false
644
+ },
645
+ "name": {
646
+ "name": "name",
647
+ "type": "text",
648
+ "primaryKey": false,
649
+ "notNull": true,
650
+ "autoincrement": false
651
+ },
652
+ "cron_expression": {
653
+ "name": "cron_expression",
654
+ "type": "text",
655
+ "primaryKey": false,
656
+ "notNull": true,
657
+ "autoincrement": false
658
+ },
659
+ "timezone": {
660
+ "name": "timezone",
661
+ "type": "text",
662
+ "primaryKey": false,
663
+ "notNull": true,
664
+ "autoincrement": false
665
+ },
666
+ "inputs": {
667
+ "name": "inputs",
668
+ "type": "text",
669
+ "primaryKey": false,
670
+ "notNull": true,
671
+ "autoincrement": false,
672
+ "default": "'{}'"
673
+ },
674
+ "enabled": {
675
+ "name": "enabled",
676
+ "type": "integer",
677
+ "primaryKey": false,
678
+ "notNull": true,
679
+ "autoincrement": false,
680
+ "default": true
681
+ },
682
+ "last_run_at": {
683
+ "name": "last_run_at",
684
+ "type": "text",
685
+ "primaryKey": false,
686
+ "notNull": false,
687
+ "autoincrement": false
688
+ },
689
+ "next_run_at": {
690
+ "name": "next_run_at",
691
+ "type": "text",
692
+ "primaryKey": false,
693
+ "notNull": false,
694
+ "autoincrement": false
695
+ },
696
+ "created_by": {
697
+ "name": "created_by",
698
+ "type": "text",
699
+ "primaryKey": false,
700
+ "notNull": false,
701
+ "autoincrement": false
702
+ },
703
+ "created_at": {
704
+ "name": "created_at",
705
+ "type": "text",
706
+ "primaryKey": false,
707
+ "notNull": true,
708
+ "autoincrement": false,
709
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
710
+ },
711
+ "updated_at": {
712
+ "name": "updated_at",
713
+ "type": "text",
714
+ "primaryKey": false,
715
+ "notNull": true,
716
+ "autoincrement": false,
717
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
718
+ }
719
+ },
720
+ "indexes": {
721
+ "idx_workplan_schedules_due": {
722
+ "name": "idx_workplan_schedules_due",
723
+ "columns": [
724
+ "next_run_at"
725
+ ],
726
+ "isUnique": false
727
+ }
728
+ },
729
+ "foreignKeys": {},
730
+ "compositePrimaryKeys": {},
731
+ "uniqueConstraints": {},
732
+ "checkConstraints": {}
733
+ },
734
+ "workplan_step_results": {
735
+ "name": "workplan_step_results",
736
+ "columns": {
737
+ "id": {
738
+ "name": "id",
739
+ "type": "text",
740
+ "primaryKey": true,
741
+ "notNull": true,
742
+ "autoincrement": false
743
+ },
744
+ "workplan_run_id": {
745
+ "name": "workplan_run_id",
746
+ "type": "text",
747
+ "primaryKey": false,
748
+ "notNull": true,
749
+ "autoincrement": false
750
+ },
751
+ "step_id": {
752
+ "name": "step_id",
753
+ "type": "text",
754
+ "primaryKey": false,
755
+ "notNull": true,
756
+ "autoincrement": false
757
+ },
758
+ "step_name": {
759
+ "name": "step_name",
760
+ "type": "text",
761
+ "primaryKey": false,
762
+ "notNull": true,
763
+ "autoincrement": false
764
+ },
765
+ "output": {
766
+ "name": "output",
767
+ "type": "text",
768
+ "primaryKey": false,
769
+ "notNull": false,
770
+ "autoincrement": false
771
+ },
772
+ "exit_code": {
773
+ "name": "exit_code",
774
+ "type": "integer",
775
+ "primaryKey": false,
776
+ "notNull": false,
777
+ "autoincrement": false
778
+ },
779
+ "duration_ms": {
780
+ "name": "duration_ms",
781
+ "type": "integer",
782
+ "primaryKey": false,
783
+ "notNull": false,
784
+ "autoincrement": false
785
+ },
786
+ "metadata": {
787
+ "name": "metadata",
788
+ "type": "text",
789
+ "primaryKey": false,
790
+ "notNull": false,
791
+ "autoincrement": false
792
+ },
793
+ "created_at": {
794
+ "name": "created_at",
795
+ "type": "text",
796
+ "primaryKey": false,
797
+ "notNull": true,
798
+ "autoincrement": false,
799
+ "default": "(strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))"
800
+ }
801
+ },
802
+ "indexes": {
803
+ "idx_workplan_step_results_run_id": {
804
+ "name": "idx_workplan_step_results_run_id",
805
+ "columns": [
806
+ "workplan_run_id"
807
+ ],
808
+ "isUnique": false
809
+ }
810
+ },
811
+ "foreignKeys": {
812
+ "workplan_step_results_workplan_run_id_workplan_runs_id_fk": {
813
+ "name": "workplan_step_results_workplan_run_id_workplan_runs_id_fk",
814
+ "tableFrom": "workplan_step_results",
815
+ "tableTo": "workplan_runs",
816
+ "columnsFrom": [
817
+ "workplan_run_id"
818
+ ],
819
+ "columnsTo": [
820
+ "id"
821
+ ],
822
+ "onDelete": "no action",
823
+ "onUpdate": "no action"
824
+ }
825
+ },
826
+ "compositePrimaryKeys": {},
827
+ "uniqueConstraints": {},
828
+ "checkConstraints": {}
829
+ }
830
+ },
831
+ "views": {},
832
+ "enums": {},
833
+ "_meta": {
834
+ "schemas": {},
835
+ "tables": {},
836
+ "columns": {}
837
+ },
838
+ "internal": {
839
+ "indexes": {}
840
+ }
841
+ }