From 2fd633c0ecd50c5df261460cff62cca979672163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 24 Feb 2022 10:46:22 +0100 Subject: [PATCH] fix: remove project column from roles if exists --- .../20220224081422-remove-project-column-from-roles.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/migrations/20220224081422-remove-project-column-from-roles.js b/src/migrations/20220224081422-remove-project-column-from-roles.js index 840ea50de8..ffd166931a 100644 --- a/src/migrations/20220224081422-remove-project-column-from-roles.js +++ b/src/migrations/20220224081422-remove-project-column-from-roles.js @@ -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); };