diff --git a/pic-sure-auth-db/db/sql/V5__MIGRATE_TO_ACCESSRULE_JOINTABLE.sql b/pic-sure-auth-db/db/sql/V5__MIGRATE_TO_ACCESSRULE_JOINTABLE.sql index 0d551c69..6f847657 100644 --- a/pic-sure-auth-db/db/sql/V5__MIGRATE_TO_ACCESSRULE_JOINTABLE.sql +++ b/pic-sure-auth-db/db/sql/V5__MIGRATE_TO_ACCESSRULE_JOINTABLE.sql @@ -29,4 +29,5 @@ UPDATE access_rule ar SET ar.subAccessRuleParent_uuid = NULL; -- Remove circular dependency reference so it can be dropped -- Step 4: Drop the column from the original table +ALTER TABLE access_rule DROP CONSTRAINT `FK8rovvx363ui99ce21sksmg6uy`; ALTER TABLE access_rule DROP COLUMN subAccessRuleParent_uuid; \ No newline at end of file