mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
4f7b3aa759
As it says in the title. Adds a created_by column to the role_user table to more easily track who's doing what.
7 lines
209 B
JavaScript
7 lines
209 B
JavaScript
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);
|
|
}; |