1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat(2-1879): add enabled to action sets (#6023)

## About the changes
Adds enabled to action sets table
This commit is contained in:
Gastón Fournier 2024-01-24 12:52:04 +01:00 committed by GitHub
parent 5d1d428746
commit cee2500a4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,17 @@
exports.up = function (db, cb) {
db.runSql(
`
ALTER TABLE action_sets ADD COLUMN enabled BOOLEAN DEFAULT true;
`,
cb,
);
};
exports.down = function (db, cb) {
db.runSql(
`
ALTER TABLE action_sets DROP COLUMN enabled;
`,
cb,
);
};