Jira issue originally created by user deweller:
When creating alter table SQL, the MySqlPlatform class does not quote names for columns of an existing table when building a CHANGE query. This can cause SQL errors.
It creates queries like this:
ALTER TABLE my_table CHANGE key key INTVARCHAR(255) DEFAULT '' NOT NULL';
Attached is a patch to fix this.
As an aside, is this the best way to contribute a patch? Or is a GitHub pull request better?
Comment created by deweller:
I also discovered a similar issue with key names. A second patch is attached.
Comment created by @beberlei:
This problem is a little more complicated, it will be fixed in DBAL-96 probably for 2.2
Issue was closed with resolution "Duplicate"
Imported 2 attachments from Jira into https://gist.github.com/90f981a01b4f4e662542