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

always set valid dates, to avoid errors when strict mode is enabled on mysql #96

Merged
merged 2 commits into from
Aug 21, 2019

Conversation

davidegiunchidiennea
Copy link
Contributor

If strict mode is enabled on mysql, the creation of aiowps's tables will fail with error:

MySQL: Invalid default value for 'event_date'

this is due to strict mode: https://stackoverflow.com/questions/36374335/error-in-mysql-when-setting-default-value-for-date-or-datetime?answertab=active#tab-top

To avoid it, always insert a valid date.

@Arsenal21
Copy link
Owner

Thank you. Can you by any chance resolve the conflict so I can take a proper look at this one.

@Arsenal21 Arsenal21 merged commit eae7c7b into Arsenal21:master Aug 21, 2019
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