From d574cea2aef8062b6b6be5c83f8e08e246cf78d3 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 12 Apr 2022 11:31:02 -0400 Subject: [PATCH] CiviGrant - Remove unused managed entities during upgrade Removes managed entities which may have been added during the 5.47 upgrade, to prevent the managed system from automatically deleting them. --- CRM/Upgrade/Incremental/sql/5.48.1.mysql.tpl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 CRM/Upgrade/Incremental/sql/5.48.1.mysql.tpl diff --git a/CRM/Upgrade/Incremental/sql/5.48.1.mysql.tpl b/CRM/Upgrade/Incremental/sql/5.48.1.mysql.tpl new file mode 100644 index 0000000000..ba9e2dc4e7 --- /dev/null +++ b/CRM/Upgrade/Incremental/sql/5.48.1.mysql.tpl @@ -0,0 +1,4 @@ +{* file to handle db changes in 5.48.1 during upgrade *} + +DELETE FROM civicrm_managed WHERE module = "civigrant" AND entity_type = "OptionValue" +AND name LIKE "OptionGroup_grant_status_%"; -- 2.25.1