1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

refactor: drop permissions table on down migration (#1699)

This commit is contained in:
olav 2022-06-13 09:08:46 +02:00 committed by GitHub
parent 7843c2bbc8
commit 2c5f70d420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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