mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 01:10:31 +00:00
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
|
@ -3,7 +3,8 @@
|
|||
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 repos SET repo_scm = 'git';
|
||||
UPDATE builds SET build_deploy = '';
|
||||
|
||||
-- +migrate Down
|
||||
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
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 repos SET repo_scm = 'git';
|
||||
UPDATE builds SET build_deploy = '';
|
||||
|
||||
-- +migrate Down
|
||||
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
ALTER TABLE repos ADD COLUMN repo_scm 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue