type
`type` column in `Jobsets` is defined as NOT NULL. However, the original upgrade script adding this column ommited the constraint.