Closed MegaphoneJon closed 6 years ago
Related question on Mattermost: https://chat.civicrm.org/civicrm/pl/wm59uhmrojrsjfzowii6e79r8w
I believe that the combination of https://github.com/civicrm/org.civicrm.doctorwhen/pull/6 and https://github.com/civicrm/civicrm-core/pull/11129 will fix the conversion
By default, MySQL 5.7's SQL modes include "NO_ZERO_DATE" and "NO_ZERO_IN_DATE". When these SQL modes are set,
CRM_DoctorWhen_Cleanups_ConvertTimestamp->enqueue()
doesn't specify valid default values when$this->default
isnull
.This leads to this error on objects where
$this->default
isnull
: ERROR 1067 (42000): Invalid default value for 'expired_date'.