1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/src/migrations/20231211133008-add-created-by-to-role-user.js

7 lines
209 B
JavaScript
Raw Normal View History

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