mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
fix: remove project column from roles if exists
This commit is contained in:
parent
b695178311
commit
2fd633c0ec
@ -3,6 +3,5 @@ exports.up = function (db, cb) {
|
||||
};
|
||||
|
||||
exports.down = function (db, cb) {
|
||||
// We can't just remove roles for users as we don't know if there has been any manual additions.
|
||||
db.runSql('ALTER TABLE roles ADD COLUMN IF NOT EXISTS project text', cb);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user