From 1d2fcc777614f303e1fda4f7817529b070c5c11e Mon Sep 17 00:00:00 2001 From: Luke Sikina Date: Thu, 25 Jul 2024 07:50:45 -0400 Subject: [PATCH] Remove AR drop --- .../db/sql/V5__MIGRATE_TO_ACCESSRULE_JOINTABLE.sql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 6f847657..9c1c67c9 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 @@ -28,6 +28,4 @@ UPDATE access_rule ar JOIN accessRule_subRule ars ON ars.accessRule_id = ar.uuid 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 +-- Step 4: Drop the column from the original table \ No newline at end of file