Use mysql to set mailing.created_date
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 17 Jun 2021 02:04:11 +0000 (14:04 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 17 Jun 2021 05:43:41 +0000 (17:43 +1200)
commitf6205b84d600e004492a15251a95a59d13ba23b5
treeb1189e2d9f1c414ed9c8fb3fef91c4318dae9490
parent022aba3dd6a7320d627e731cf3deb97c95014c86
Use mysql to set mailing.created_date

On digging I determined this trigger hokiness was all about mysql
5.5 and we can ditch it now

https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-5.html#mysqld-5-6-5-data-types

and https://github.com/civicrm/civicrm-core/pull/10953#issuecomment-327613771

Note that we still support mysql 5.6 and the current version is 5.6.51

I think it's fine to require that the 5.6 minimum is 5.6.5 as released in 2012

I'll do the upgrade script as a follow up
CRM/Mailing/DAO/Mailing.php
CRM/Upgrade/Incremental/sql/5.40.alpha1.mysql.tpl
Civi/Core/Container.php
xml/schema/Mailing/Mailing.xml