hydra/src/sql/upgrade-64.sql

8 lines
332 B
MySQL
Raw Normal View History

2020-02-05 15:25:52 -05:00
-- Make the Builds.jobset_id column NOT NULL. If this upgrade fails,
-- either the admin didn't run the backfiller or there is a bug. If
-- the admin ran the backfiller and there are null columns, it is
-- very important to figure out where the nullable columns came from.
ALTER TABLE Builds
ALTER COLUMN jobset_id SET NOT NULL;