diff --git a/src/migrations/20231211132341-add-created-by-to-role-permission.js b/src/migrations/20231211132341-add-created-by-to-role-permission.js new file mode 100644 index 000000000000..9c71a8f1cb0b --- /dev/null +++ b/src/migrations/20231211132341-add-created-by-to-role-permission.js @@ -0,0 +1,7 @@ +exports.up = function(db, cb) { + db.runSql(`ALTER TABLE role_permission ADD COLUMN created_by INTEGER`, cb); +}; + +exports.down = function(db, cb) { + db.runSql(`ALTER TABLE role_permission DROP COLUMN created_by`, cb); +}; \ No newline at end of file