1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-23 17:53:23 +02:00

13 lines
293 B
MySQL
Raw Normal View History

-- +migrate Up
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
ALTER TABLE repos DROP COLUMN repo_scm;
ALTER TABLE builds DROP COLUMN build_deploy;