Skip to content

Commit

Permalink
fix: Set default workflow_id and enforce non-null constraint in jobs …
Browse files Browse the repository at this point in the history
…table
  • Loading branch information
nadeesha committed Dec 31, 2024
1 parent 4b0044f commit f34fe50
Show file tree
Hide file tree
Showing 3 changed files with 1,673 additions and 0 deletions.
2 changes: 2 additions & 0 deletions control-plane/drizzle/0199_curious_mach_iv.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UPDATE "jobs" SET "workflow_id" = 'unknown' WHERE "workflow_id" IS NULL;
ALTER TABLE "jobs" ALTER COLUMN "workflow_id" SET NOT NULL;
Loading

0 comments on commit f34fe50

Please sign in to comment.