1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/src/migrations/20240124123000-add-enabled-to-action-sets.js
Gastón Fournier cee2500a4d
feat(2-1879): add enabled to action sets (#6023)
## About the changes
Adds enabled to action sets table
2024-01-24 12:52:04 +01:00

18 lines
311 B
JavaScript

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,
);
};