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

Change default value for reg_date in table cp_createlog #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vietlubu
Copy link

@vietlubu vietlubu commented Oct 13, 2018

File: data/schemas/logindb/cp_createlog.20080928225124.sql

Error:

Testi with MySQL 5.7 and PHP 7.1

Exception Flux_Error: Critical MySQL error in Installer/Updater: Invalid default value for 'reg_date'

Reason:

For currently reg_date defined by:

`reg_date` datetime NOT NULL default '0000-00-00 00:00:00',

But as I remember from MySQL 5.6 default '0000-00-00 00:00:00' not support anymore.

Solution:

Remove default value field reg_date. Default with 0000-00-00 00:00:00' don't make any benefit for this table.

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.

1 participant