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