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

18 lines
311 B
JavaScript
Raw Normal View History

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