Skip to content

Commit

Permalink
[ALS-6882] Fix migrator by dropping constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sikina authored and Luke-Sikina committed Jul 24, 2024
1 parent fa1115b commit 5ae8dbf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 5ae8dbf

Please sign in to comment.