mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
17 lines
464 B
JavaScript
17 lines
464 B
JavaScript
exports.up = function (db, cb) {
|
|
db.runSql(`
|
|
ALTER TABLE feature_lifecycles ADD COLUMN IF NOT EXISTS status TEXT;
|
|
ALTER TABLE feature_lifecycles ADD COLUMN IF NOT EXISTS status_value TEXT;
|
|
`, cb);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE feature_lifecycles DROP COLUMN IF EXISTS status;
|
|
ALTER TABLE feature_lifecycles DROP COLUMN IF EXISTS status_value;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|