be re-runnable and don't force utf8mb4
authordemeritcowboy <demeritcowboy@hotmail.com>
Fri, 11 Jun 2021 15:18:45 +0000 (11:18 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Fri, 11 Jun 2021 22:18:33 +0000 (18:18 -0400)
CRM/Upgrade/Incremental/sql/5.39.alpha1.mysql.tpl

index 7e22d8026442fcbb54a19b5e9480297342c86782..e7ac1b36ae1ba2ab2da3cbff11dac2b2af7612ee 100644 (file)
@@ -1,6 +1,6 @@
 {* file to handle db changes in 5.39.alpha1 during upgrade *}
 
-CREATE TABLE `civicrm_translation` (
+CREATE TABLE IF NOT EXISTS `civicrm_translation` (
   `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique String ID',
   `entity_table` varchar(64) NOT NULL COMMENT 'Table where referenced item is stored',
   `entity_field` varchar(64) NOT NULL COMMENT 'Field where referenced item is stored',
@@ -11,4 +11,4 @@ CREATE TABLE `civicrm_translation` (
   PRIMARY KEY (`id`),
   INDEX `index_entity_lang`(entity_id, entity_table, language)
 )
-ENGINE=InnoDB DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
+ENGINE=InnoDB ROW_FORMAT=DYNAMIC;