-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Schema diff fails with MariaDB 10.2 #83
Comments
Had a quick look in the debugger. It's the same issue as in here: contao/core-bundle#918 (comment) So (Also: doctrine entities get created successfully but then are missing in the |
@leofeyer all tickets (including https://jira.mariadb.org/browse/MDEV-13132) are closed now, yet the issue still exists. |
I am still not sure if it's a MariaDB or a doctrine issue. But it looks like it is the latter as doctrine seems to only support MariaDB 10.2. as of v2.7 which is not released yet. I can confirm that using the current doctrine/dbal dev-master branch solves the default value problem but it could still take a long time until a stable branch will get released. So unfortunately Contao is not compatible to Maria DB 10.2 right now, right? :-/ |
Correct, you need Doctrine 2.7 (not yet released). |
I upgraded to MariaDB 10.2.12 (10.2.12-MariaDB-10.2.12+maria~xenial) on my dev machine and noticed that now the schema diff stopped working properly (contao bundles 4.5.1, doctrine/dbal 2.6.3).
I haven't had time to investigate further but here is what I am seeing: There are lots of entries that request to alter tables (even without the tables existing) and - if existing - columns.
This is what's happening to a new install:
@leofeyer I noticed that you referred to the same or a similar problem here but I'm not sure if there was a solution.
Also there seems to be a related issue in the community forum.
By the way: Having
innodb_strict_mode
disabled and/orsql_mode
set to justNO_ENGINE_SUBSTITUTION
doesn't make a difference.The text was updated successfully, but these errors were encountered: