From 69ad2fe692f9d0e1704ca7066f4e7f42ea02d0e9 Mon Sep 17 00:00:00 2001 From: colemanw Date: Tue, 13 Feb 2024 22:37:46 -0500 Subject: [PATCH] Fix install collation See https://github.com/totten/civix/pull/329 --- sql/auto_install.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/auto_install.sql b/sql/auto_install.sql index 6962f089c..0d961d61b 100644 --- a/sql/auto_install.sql +++ b/sql/auto_install.sql @@ -45,7 +45,7 @@ CREATE TABLE `civicrm_mosaico_msg_template` ( PRIMARY KEY (`id`), CONSTRAINT FK_civicrm_mosaico_msg_template_msg_tpl_id FOREIGN KEY (`msg_tpl_id`) REFERENCES `civicrm_msg_template`(`id`) ON DELETE CASCADE ) -ENGINE=InnoDB; +ENGINE=InnoDB DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; -- /******************************************************* -- * @@ -68,4 +68,4 @@ CREATE TABLE `civicrm_mosaico_template` ( CONSTRAINT FK_civicrm_mosaico_template_msg_tpl_id FOREIGN KEY (`msg_tpl_id`) REFERENCES `civicrm_msg_template`(`id`) ON DELETE SET NULL, CONSTRAINT FK_civicrm_mosaico_template_domain_id FOREIGN KEY (`domain_id`) REFERENCES `civicrm_domain`(`id`) ON DELETE SET NULL ) -ENGINE=InnoDB; +ENGINE=InnoDB DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;