2015-10-27 20:03:37 +00:00
|
|
|
-- +migrate Up
|
|
|
|
|
|
|
|
ALTER TABLE repos ADD COLUMN repo_scm TEXT;
|
|
|
|
ALTER TABLE builds ADD COLUMN build_deploy TEXT;
|
|
|
|
|
2015-10-27 20:44:57 +00:00
|
|
|
UPDATE repos SET repo_scm = 'git';
|
|
|
|
UPDATE builds SET build_deploy = '';
|
2015-10-27 20:03:37 +00:00
|
|
|
|
|
|
|
-- +migrate Down
|
|
|
|
|
|
|
|
ALTER TABLE repos DROP COLUMN repo_scm;
|
|
|
|
ALTER TABLE builds DROP COLUMN build_deploy;
|