1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/src/migrations/20220408081222-clean-up-duplicate-foreign-key-role-permission.js
2022-04-08 10:34:22 +02:00

13 lines
208 B
JavaScript

exports.up = function (db, cb) {
db.runSql(
`
ALTER TABLE role_permission DROP CONSTRAINT fk_role_permission;
`,
cb,
);
};
exports.down = function (db, cb) {
cb();
};