fix task description
authordemeritcowboy <demeritcowboy@hotmail.com>
Fri, 15 Sep 2023 12:39:17 +0000 (08:39 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Sun, 17 Sep 2023 17:08:22 +0000 (13:08 -0400)
CRM/Upgrade/Incremental/php/FiveSixtySix.php

index 90df961268de3fc5ae15eef834ce0210692ec125..55c6d1df36d07c0cd1717415d21a2f9a5b4e3cc7 100644 (file)
@@ -37,7 +37,7 @@ class CRM_Upgrade_Incremental_php_FiveSixtySix extends CRM_Upgrade_Incremental_B
   public function upgrade_5_66_alpha1($rev): void {
     $this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev);
     $this->addTask('Make Contribution.tax_amount required', 'alterColumn', 'civicrm_contribution', 'tax_amount', "decimal(20,2) DEFAULT 0 NOT NULL COMMENT 'Total tax amount of this contribution.'");
-    $this->addTask('Make Contribution.tax_amount required', 'alterColumn', 'civicrm_line_item', 'tax_amount', "decimal(20,2) DEFAULT 0 NOT NULL COMMENT 'tax of each item'");
+    $this->addTask('Make LineItem.tax_amount required', 'alterColumn', 'civicrm_line_item', 'tax_amount', "decimal(20,2) DEFAULT 0 NOT NULL COMMENT 'tax of each item'");
     // These run after the sql file
     $this->addTask('Make Discount.entity_table required', 'alterColumn', 'civicrm_discount', 'entity_table', "varchar(64) NOT NULL COMMENT 'Name of the action(reminder)'");
     $this->addTask('Make ActionSchedule.name required', 'alterColumn', 'civicrm_action_schedule', 'name', "varchar(64) NOT NULL COMMENT 'physical tablename for entity being joined to discount, e.g. civicrm_event'");