Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mysql to set mailing.created_date #20630

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Jun 17, 2021

Overview

Use mysql to set mailing.created_date

Before

Trigger used to set the default value for mailing.created_date

After

mysql field default used

Technical Details

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 #10953 (comment)

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

Comments

@seamuslee001

@civibot
Copy link

civibot bot commented Jun 17, 2021

(Standard links)

@seamuslee001
Copy link
Contributor

This looks fine to me and @eileenmcnaughton I presume the upgrade process will remove the trigger?

@seamuslee001
Copy link
Contributor

@eileenmcnaughton needs a rebase

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 civicrm#10953 (comment)

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
@eileenmcnaughton
Copy link
Contributor Author

Done - thanks @seamuslee001

@seamuslee001 seamuslee001 merged commit adf9844 into civicrm:master Jun 17, 2021
@seamuslee001 seamuslee001 deleted the trigg_mailing branch June 17, 2021 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants