diff --git a/src/migrations/20240124123000-add-enabled-to-action-sets.js b/src/migrations/20240124123000-add-enabled-to-action-sets.js new file mode 100644 index 0000000000..ba3d56d2d2 --- /dev/null +++ b/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, + ); +};