[DC-768] Renaming a NOT NULL column without a default value fails in MySQL migrations Created: 25/Jun/10 Updated: 28/Jan/11
|Reporter:||Jack Sleight||Assignee:||Jonathan H. Wage|
When trying to rename a column that is NOT NULL and has no default value, Doctrine generates this SQL:
Which fails. It should be:
|Comment by Matthew Hughes [ 11/Jan/11 ]|
can confirm this behaviour on mysql w/ 1.2.4
|Comment by Matthew Hughes [ 28/Jan/11 ]|
Attached is a patch that solves the issue.