From a362acbd95b8ba1be041e63d9b0f8f2bc5126826 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Wed, 5 Aug 2020 09:19:17 +1000 Subject: [PATCH] dev/core#1927 Ensure that the contents of the database table are fixed up before changing the column type --- CRM/Upgrade/Incremental/php/FiveTwentyEight.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Upgrade/Incremental/php/FiveTwentyEight.php b/CRM/Upgrade/Incremental/php/FiveTwentyEight.php index 27b49c8f3f..b035cfb16e 100644 --- a/CRM/Upgrade/Incremental/php/FiveTwentyEight.php +++ b/CRM/Upgrade/Incremental/php/FiveTwentyEight.php @@ -87,8 +87,8 @@ class CRM_Upgrade_Incremental_php_FiveTwentyEight extends CRM_Upgrade_Incrementa * @param string $rev */ public function upgrade_5_28_alpha1($rev) { - $this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev); $this->addTask('Populate missing Contact Type name fields', 'populateMissingContactTypeName'); + $this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev); $this->addTask('Add icon column to civicrm_custom_group', 'addColumn', 'civicrm_custom_group', 'icon', "varchar(255) COMMENT 'crm-i icon class' DEFAULT NULL"); $this->addTask('Remove index on medium_id from civicrm_activity', 'dropIndex', 'civicrm_activity', 'index_medium_id'); -- 2.25.1