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-18 10:59:55 +02:00
parent 575113396d
commit e9922c460e
+2
View File
@@ -0,0 +1,2 @@
update Jobsets set type = 0 where type is null;
alter table Jobsets alter column type set not null;