From 586cb32c992ded02c23b3dc9bfd172daba5d9014 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Tue, 13 Oct 2020 11:14:39 -0400 Subject: [PATCH] rebuild triggers after utf8mb4 conversion --- CRM/Core/BAO/SchemaHandler.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Core/BAO/SchemaHandler.php b/CRM/Core/BAO/SchemaHandler.php index 5a8d4fa93f..90b1e0b809 100644 --- a/CRM/Core/BAO/SchemaHandler.php +++ b/CRM/Core/BAO/SchemaHandler.php @@ -889,6 +889,9 @@ MODIFY {$columnName} varchar( $length ) // Disable i18n rewrite. CRM_Core_DAO::executeQuery($query, $params, TRUE, NULL, FALSE, FALSE); } + // Rebuild triggers and other schema reconciliation if needed. + $logging = new CRM_Logging_Schema(); + $logging->fixSchemaDifferences(); return TRUE; } -- 2.25.1