mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-06 01:15:28 +02:00
feat: add column created_by to role_user table (#5594)
As it says in the title. Adds a created_by column to the role_user table to more easily track who's doing what.
This commit is contained in:
parent
0f250ba06c
commit
4f7b3aa759
@ -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);
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user