Closed ndoulgeridis closed 6 years ago
Probably here need to cast or also check if property value is "NULL".
"NULL"
is not NULL
: one is a string, the other one is the absence of value.
Please check if this issue matches any of the following:
After updating to MariaDB 10.2 on a CentOS server I'm experiencing the same problem. I just dumped the database from the server and imported it into MySQL on Windows and there is nothing to update according to the doctrine:schema:update --dump-sql
command. However on the server all fields are marked as needing update when they shouldn't
Hi @crash21 and @Ocramius I am facing the same issue after updating to MariaDB 10.2.7
Just found possible approaches to fix:
see my comment on https://github.com/doctrine/doctrine2/issues/6565
I'll publish a P/R soon
Seb
Here's a P/R: https://github.com/doctrine/dbal/pull/2825.
Feel free to test and comment.
This is duplicate of doctrine/doctrine2#6565 and should be fixed by #2825.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I am using
When I run command:
I get every time same queries run and of course with
I see every time the same SQL Queries (all of them ALTER).
So I have troubleshooted it a bit and found the following issue in:
More precisely the problem is on :
The problem is that default null is different type. In table 1 is string "NULL" while in second table is a null type. Probably here need to cast or also check if property value is "NULL".
Is this a known issue? Any workarounds how to fix this one? It should be a new issue due to PHP version or MySQL/MariaDB because it's impossible to be unspotted so far.