Skip to content

Commit

Permalink
feat(2-1879): add enabled to action sets (#6023)
Browse files Browse the repository at this point in the history
## About the changes
Adds enabled to action sets table
  • Loading branch information
gastonfournier committed Jan 24, 2024
1 parent 5d1d428 commit cee2500
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/migrations/20240124123000-add-enabled-to-action-sets.js
@@ -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,
);
};

0 comments on commit cee2500

Please sign in to comment.