diff --git a/src/migrations/20211202120808-add-custom-roles.js b/src/migrations/20211202120808-add-custom-roles.js index 2da5387350..961e255f6c 100644 --- a/src/migrations/20211202120808-add-custom-roles.js +++ b/src/migrations/20211202120808-add-custom-roles.js @@ -199,6 +199,8 @@ exports.down = function (db, cb) { ALTER TABLE role_permission ADD COLUMN project TEXT, ADD COLUMN permission TEXT; + + DROP TABLE permissions; `, cb, );