Skip to content

Commit 9712aa1

Browse files
authored
Make the project branch name a required field (#16)
1 parent 401f72e commit 9712aa1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/20210107-175803.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
alter table projects alter column branch set not null;
2+
alter table projects drop constraint projects_branch_check;
3+
alter table projects add constraint projects_branch_check check(util.non_empty_trimmed_string(branch));

0 commit comments

Comments
 (0)