mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
feat: add column created_by to roles table (#5595)
Tracking who creates roles
This commit is contained in:
parent
4f7b3aa759
commit
150e6b03dc
7
src/migrations/20231211133920-add-created-by-to-roles.js
Normal file
7
src/migrations/20231211133920-add-created-by-to-roles.js
Normal file
@ -0,0 +1,7 @@
|
||||
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);
|
||||
};
|
Loading…
Reference in New Issue
Block a user