1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01: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:
Christopher Kolstad 2023-12-11 15:40:02 +01:00 committed by GitHub
parent 0f250ba06c
commit 4f7b3aa759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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