Upgrader - Repeat step from 5.66 because it was added late in the release-cycle
authorcolemanw <coleman@civicrm.org>
Tue, 24 Oct 2023 12:50:38 +0000 (08:50 -0400)
committercolemanw <coleman@civicrm.org>
Tue, 24 Oct 2023 21:18:48 +0000 (17:18 -0400)
CRM/Upgrade/Incremental/php/FiveSixtySeven.php

index cb7ebc5d9bf173d937de28631f18734fea4a1b44..7b7d586b6583e453dc2677060551b4d212e4aa03 100644 (file)
@@ -60,6 +60,17 @@ class CRM_Upgrade_Incremental_php_FiveSixtySeven extends CRM_Upgrade_Incremental
     $this->addTask('Update CiviMail menus labels', 'updateMailingMenuLabels');
   }
 
+  /**
+   * Upgrade step; adds tasks including 'runSql'.
+   *
+   * @param string $rev
+   *   The version number matching this function name
+   */
+  public function upgrade_5_67_beta2($rev): void {
+    // Repeat step from 5.66 because it was added late in the release-cycle
+    $this->addTask('Make ActionSchedule.name required', 'alterColumn', 'civicrm_action_schedule', 'name', "varchar(128) NOT NULL COMMENT 'Name of the scheduled action'");
+  }
+
   /**
    * Some time ago, the labels for Mailing menu items were simplified for new
    * installs. Now that the old strings have been removed from Transifex, it