mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
150e6b03dc
Tracking who creates roles
7 lines
201 B
JavaScript
7 lines
201 B
JavaScript
exports.up = function(db, cb) {
|
|
db.runSql(`ALTER TABLE roles ADD COLUMN created_by INTEGER`, cb);
|
|
};
|
|
|
|
exports.down = function(db, cb) {
|
|
db.runSql(`ALTER TABLE roles DROP COLUMN created_by`, cb);
|
|
}; |