forked from lix-project/hydra
Add missing SQL upgrade script for NOT NULL on type
`type` column in `Jobsets` is defined as NOT NULL. However, the original upgrade script adding this column ommited the constraint.
This commit is contained in:
parent
575113396d
commit
e9922c460e
2
src/sql/upgrade-66.sql
Normal file
2
src/sql/upgrade-66.sql
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
update Jobsets set type = 0 where type is null;
|
||||||
|
alter table Jobsets alter column type set not null;
|
Loading…
Reference in a new issue