build_deploy should default to empty, no nil. just to be safe
This commit is contained in:
parent
2ba47ddcc5
commit
284c99175f
3 changed files with 6 additions and 3 deletions
|
@ -4,6 +4,7 @@ ALTER TABLE repos ADD COLUMN repo_scm VARCHAR(25);
|
|||
ALTER TABLE builds ADD COLUMN build_deploy VARCHAR(500);
|
||||
|
||||
UPDATE repos SET repo_scm = 'git';
|
||||
UPDATE builds SET build_deploy = '';
|
||||
|
||||
-- +migrate Down
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ ALTER TABLE repos ADD COLUMN repo_scm VARCHAR(25);
|
|||
ALTER TABLE builds ADD COLUMN build_deploy VARCHAR(500);
|
||||
|
||||
UPDATE repos SET repo_scm = 'git';
|
||||
UPDATE builds SET build_deploy = '';
|
||||
|
||||
-- +migrate Down
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ ALTER TABLE repos ADD COLUMN repo_scm TEXT;
|
|||
ALTER TABLE builds ADD COLUMN build_deploy TEXT;
|
||||
|
||||
UPDATE repos SET repo_scm = 'git';
|
||||
UPDATE builds SET build_deploy = '';
|
||||
|
||||
-- +migrate Down
|
||||
|
||||
|
|
Loading…
Reference in a new issue