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

CRM-20892 Fix up issue where created_date may not have yet been conve… #11211

Merged
merged 1 commit into from
Oct 30, 2017

Conversation

seamuslee001
Copy link
Contributor

…rted to timestamp so should stay as datetime in upgrade

Overview

Previously the upgrade would just set the column datatype to be timestamp which may or may not be 100% correct as the end user may or may not have run the doctor when conversion yet. This re-uses some of the doctorWhen status notice stuff to check if it is a datetime or timestamp column and then uses that in the altertable statement

@totten @eileenmcnaughton Tim i believe this will address your concerns raised at the sprint. putting this against the RC as its an issue in 4.7.27 due to be released in November

…rted to timestamp so should stay as datetime in upgrade
@totten
Copy link
Member

totten commented Oct 30, 2017

Agree -- preserving the column data-type is more consistent with our general posture.

@totten totten merged commit b1598e0 into civicrm:4.7.27-rc Oct 30, 2017
@seamuslee001 seamuslee001 deleted the CRM-20892-upgrade branch October 30, 2017 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants