1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-14 00:19:16 +01:00

fix: remove duplicate foreign key

This commit is contained in:
Christopher Kolstad 2022-04-08 10:15:37 +02:00
parent fe0f684b61
commit 7131203d2b
No known key found for this signature in database
GPG Key ID: 559ACB0E3DB5538A

View File

@ -0,0 +1,12 @@
exports.up = function (db, cb) {
db.runSql(
`
ALTER TABLE role_permission DROP CONSTRAINT fk_role_permission;
`,
cb,
);
};
exports.down = function (db, cb) {
cb();
};