-
Notifications
You must be signed in to change notification settings - Fork 204
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
MySQL schema is missing default value #1993
Comments
Thanks for reporting this, to me this looks like a bug in your MySQL version. We'll figure out how to work around this, what operating system (and version) are you using? |
Oh, sorry - now I see. You're right, the linked fix addressed only the migration and not the schema file itself. Will be fixed! |
Fix has been pushed, thanks for reporting this. |
Thomas-Gelf
added a commit
that referenced
this issue
Oct 16, 2019
neubi4
pushed a commit
to neubi4/icingaweb2-module-director
that referenced
this issue
Dec 22, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While trying to setup a fresh director database I go the following error:
ERROR 1067 (42000) at line 33: Invalid default value for 'change_time'
which is caused by this line:
https://github.com/Icinga/icingaweb2-module-director/blob/master/schema/mysql.sql#L41
In the according mysql schema upgrade you did introduce a default:
icingaweb2-module-director/schema/mysql-migrations/upgrade_163.sql
Line 9 in 2fc79e1
I've executed this on a mysql 5.6.10
The text was updated successfully, but these errors were encountered: