Upgrade changes for reminder entity dates
authorJitendra Purohit <jitendra@fuzion.co.nz>
Fri, 31 Aug 2018 06:38:33 +0000 (12:08 +0530)
committerJitendra Purohit <jitendra@fuzion.co.nz>
Fri, 31 Aug 2018 06:38:33 +0000 (12:08 +0530)
CRM/Upgrade/Incremental/sql/5.5.beta1.mysql.tpl

index 236a53f60a963bb086783e1044e7caf4844d5e99..e2172c7ed060e731de3afcb497b10ac55a9ca3a6 100644 (file)
@@ -1 +1,6 @@
 {* file to handle db changes in 5.5.beta1 during upgrade *}
+
+UPDATE civicrm_action_schedule SET start_action_date = 'start_date' WHERE start_action_date = 'event_start_date';
+UPDATE civicrm_action_schedule SET start_action_date = 'end_date' WHERE start_action_date = 'event_end_date';
+UPDATE civicrm_action_schedule SET start_action_date = 'join_date' WHERE start_action_date = 'membership_join_date';
+UPDATE civicrm_action_schedule SET start_action_date = 'end_date' WHERE start_action_date = 'membership_end_date';