hydra/src/sql/upgrade-46.sql
Eelco Dolstra 80ff78b1b6 Unify build and step status codes
Also remove the obsolete status code 5 from the database.
2016-03-09 15:30:43 +01:00

6 lines
211 B
SQL

-- Unify Builds and BuildSteps status codes.
update BuildSteps set status = 3 where status = 4;
-- Get rid of obsolete status code 5.
update Builds set isCachedBuild = 1, buildStatus = 2 where buildStatus = 5;