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 (#433)
  • Loading branch information
nadeesha authored Dec 31, 2024
1 parent 7f600ba commit ffde4a8
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 ffde4a8

Please sign in to comment.