fix: inputs types

This commit is contained in:
BennyKok
2024-01-18 22:48:06 +08:00
parent 814c93e481
commit 8bc6655073
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -130,7 +130,8 @@ export const workflowRunsTable = dbSchema.table("workflow_runs", {
onDelete: "set null",
}
),
workflow_inputs: jsonb("workflow_inputs").$type<Record<string, string>>(),
workflow_inputs:
jsonb("workflow_inputs").$type<Record<string, string | number>>(),
workflow_id: uuid("workflow_id")
.notNull()
.references(() => workflowTable.id, {