mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: remove project column from roles if exists
This commit is contained in:
parent
48e09dbc2a
commit
2d4727d25d
@ -3,6 +3,5 @@ exports.up = function (db, cb) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
exports.down = 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);
|
db.runSql('ALTER TABLE roles ADD COLUMN IF NOT EXISTS project text', cb);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user