-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migration #2
Comments
Hey man, this is a legit value for mysql/mariadb timestamp columns. Issue might be sql strict mode setting or mysql version you are using. |
Yes, it is strict mode. |
The current timestamp will not work as it would instantly expire the row. Setting null is an option and will require some updates in the code. Code contributions are most welcomed. |
Hello.
Migration
m160703_001232_initStateMachineMigrations
has a problem with tablesm_timeout
columnexpires_at
.Exception 'yii\db\Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'expires_at'
The text was updated successfully, but these errors were encountered: