mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 08:26:45 +02:00
12 lines
255 B
MySQL
12 lines
255 B
MySQL
|
-- +migrate Up
|
||
|
|
||
|
ALTER TABLE repos ADD COLUMN repo_scm TEXT;
|
||
|
ALTER TABLE builds ADD COLUMN build_deploy TEXT;
|
||
|
|
||
|
UPDATE repos SET repo_scm = 'git';
|
||
|
|
||
|
-- +migrate Down
|
||
|
|
||
|
ALTER TABLE repos DROP COLUMN repo_scm;
|
||
|
ALTER TABLE builds DROP COLUMN build_deploy;
|