crates/common: add migration for multi-branch eval and scheduling shares
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I3f792d0e081da93adbcf60bff8570eed6a6a6964
This commit is contained in:
parent
81e451f6d0
commit
9fd901bc7f
1 changed files with 3 additions and 0 deletions
3
crates/common/migrations/007_branch_and_scheduling.sql
Normal file
3
crates/common/migrations/007_branch_and_scheduling.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
-- Multi-branch evaluation and scheduling shares
|
||||||
|
ALTER TABLE jobsets ADD COLUMN IF NOT EXISTS branch VARCHAR(255) DEFAULT NULL;
|
||||||
|
ALTER TABLE jobsets ADD COLUMN IF NOT EXISTS scheduling_shares INTEGER NOT NULL DEFAULT 100;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue