Skip to content

Commit

Permalink
fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
barthalion committed Feb 15, 2025
1 parent 3022347 commit 9f74b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/2025-02-14-115440_add_prune_job_type/up.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Migration to add the "prune" job type to the jobs table

ALTER TABLE jobs
ADD CONSTRAINT chk_job_kind CHECK (kind IN (0, 1, 2, 3, 4)); -- Assuming 0-3 are existing job types, 4 is for "prune"
ADD CONSTRAINT chk_job_kind CHECK (kind IN (0, 1, 2, 3, 4, 5)); -- 0=commit, 1=publish, 2=updaterepo, 3=republish, 4=check, 5=prune

0 comments on commit 9f74b20

Please sign in to comment.