fix: update workflow run with workflow id

This commit is contained in:
BennyKok committed 2023-12-10 20:59:23 +08:00
1 parent e5b8b4f7d9
commit ed853fc5f1
7 files changed
+377 -11

No files matched your search

+5
View File
@@ -75,6 +75,11 @@ export const workflowRunsTable = dbSchema.table("workflow_runs", {
.references(() => workflowVersionTable.id, {
onDelete: "no action",
}),
workflow_id: uuid("workflow_id")
.notNull()
.references(() => workflowTable.id, {
onDelete: "no action",
}),
machine_id: uuid("machine_id")
.notNull()
.references(() => machinesTable.id, {