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:
parent
7843c2bbc8
commit
2c5f70d420
@ -199,6 +199,8 @@ exports.down = function (db, cb) {
|
|||||||
ALTER TABLE role_permission
|
ALTER TABLE role_permission
|
||||||
ADD COLUMN project TEXT,
|
ADD COLUMN project TEXT,
|
||||||
ADD COLUMN permission TEXT;
|
ADD COLUMN permission TEXT;
|
||||||
|
|
||||||
|
DROP TABLE permissions;
|
||||||
`,
|
`,
|
||||||
cb,
|
cb,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user