1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src/migrations/20231211132341-add-created-by-to-role-permission.js

7 lines
221 B
JavaScript
Raw Normal View History

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