Add upgrader to update comments on civicrm_contribution_recur table
authorMatthew Wire <mjw@mjwconsult.co.uk>
Thu, 23 Sep 2021 15:59:18 +0000 (16:59 +0100)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Sun, 13 Feb 2022 18:50:26 +0000 (18:50 +0000)
CRM/Upgrade/Incremental/sql/5.48.alpha1.mysql.tpl

index d6dbb993f3257079fe41aafce8d47381fd2c5bbc..046e9eae1fb18b601ed1f19bd9834e4e40e75e63 100644 (file)
@@ -1 +1,5 @@
 {* file to handle db changes in 5.48.alpha1 during upgrade *}
+
+{* https://github.com/civicrm/civicrm-core/pull/21539 Deprecate civicrm_contribution_recur.trxn_id *}
+ALTER TABLE `civicrm_contribution_recur` MODIFY `processor_id` varchar(255) DEFAULT NULL COMMENT 'May store an identifier used to link this recurring contribution record to a third party payment processor\'s system';
+ALTER TABLE `civicrm_contribution_recur` MODIFY `trxn_id` varchar(255) DEFAULT NULL COMMENT 'unique transaction id (deprecated - use processor_id)';