1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

fix: remove project column from roles if exists

This commit is contained in:
Ivar Conradi Østhus 2022-02-24 10:46:22 +01:00
parent 48e09dbc2a
commit 2d4727d25d

View File

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