mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
20 lines
332 B
JavaScript
20 lines
332 B
JavaScript
|
exports.up = function (db, cb) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER TABLE role_permission
|
||
|
DROP COLUMN permission_id;
|
||
|
`,
|
||
|
cb
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports.down = function (db, cb) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER TABLE role_permission
|
||
|
ADD COLUMN permission_id INTEGER;
|
||
|
`,
|
||
|
cb
|
||
|
);
|
||
|
};
|