1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

fix: remove duplicate foreign key (#1491)

This commit is contained in:
Christopher Kolstad 2022-04-08 10:34:22 +02:00 committed by GitHub
parent fe0f684b61
commit 608d870851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
};