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:
Nikola Knezevic 2020-05-15 18:02:29 +02:00
parent 575113396d
commit e9922c460e

2
src/sql/upgrade-66.sql Normal file
View file

@ -0,0 +1,2 @@
update Jobsets set type = 0 where type is null;
alter table Jobsets alter column type set not null;