mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-27 02:40:30 +00:00
13 lines
375 B
MySQL
13 lines
375 B
MySQL
|
-- +migrate Up
|
||
|
|
||
|
ALTER TABLE secrets ADD COLUMN secret_conceal BOOLEAN;
|
||
|
ALTER TABLE team_secrets ADD COLUMN team_secret_conceal BOOLEAN;
|
||
|
|
||
|
UPDATE secrets SET secret_conceal = 0;
|
||
|
UPDATE team_secrets SET team_secret_conceal = 0;
|
||
|
|
||
|
-- +migrate Down
|
||
|
|
||
|
ALTER TABLE secrets DROP COLUMN secret_conceal;
|
||
|
ALTER TABLE team_secrets DROP COLUMN team_secret_conceal;
|