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

Invalid Default Value for LastLogin #246

Open
knuxyl opened this issue Mar 20, 2017 · 0 comments
Open

Invalid Default Value for LastLogin #246

knuxyl opened this issue Mar 20, 2017 · 0 comments

Comments

@knuxyl
Copy link

knuxyl commented Mar 20, 2017

/base/auth.sql
line 27
last_login timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',

This is an invalid default type for column type "timestamp". The correct default value for MySQL 5.5 for column type "timestamp" should be "CURRENT_TIMESTAMP" and for MySQL 5.6+ "CURRENT_TIMESTAMP" is the default value for both "timestamp" and "datetime"

gpn39f pushed a commit that referenced this issue Mar 20, 2017
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

No branches or pull requests

1 participant