build_deploy should default to empty, no nil. just to be safe

This commit is contained in:
Brad Rydzewski 2015-10-27 13:44:57 -07:00
parent 2ba47ddcc5
commit 284c99175f
3 changed files with 6 additions and 3 deletions

View file

@ -4,6 +4,7 @@ ALTER TABLE repos ADD COLUMN repo_scm VARCHAR(25);
ALTER TABLE builds ADD COLUMN build_deploy VARCHAR(500); ALTER TABLE builds ADD COLUMN build_deploy VARCHAR(500);
UPDATE repos SET repo_scm = 'git'; UPDATE repos SET repo_scm = 'git';
UPDATE builds SET build_deploy = '';
-- +migrate Down -- +migrate Down

View file

@ -4,6 +4,7 @@ ALTER TABLE repos ADD COLUMN repo_scm VARCHAR(25);
ALTER TABLE builds ADD COLUMN build_deploy VARCHAR(500); ALTER TABLE builds ADD COLUMN build_deploy VARCHAR(500);
UPDATE repos SET repo_scm = 'git'; UPDATE repos SET repo_scm = 'git';
UPDATE builds SET build_deploy = '';
-- +migrate Down -- +migrate Down

View file

@ -4,6 +4,7 @@ ALTER TABLE repos ADD COLUMN repo_scm TEXT;
ALTER TABLE builds ADD COLUMN build_deploy TEXT; ALTER TABLE builds ADD COLUMN build_deploy TEXT;
UPDATE repos SET repo_scm = 'git'; UPDATE repos SET repo_scm = 'git';
UPDATE builds SET build_deploy = '';
-- +migrate Down -- +migrate Down