Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of deeky666:
This fixes a table alteration scenario in MySQL where a table currently has no primary key and is altered to add a primary key. This currently fails as there is no check whether the index to create is a primary key. Instead a UNIQUE INDEX is scheduled to be created and results in a syntax error.
Comment created by @doctrinebot:
A related Github Pull-Request [GH-435] was closed:
Comment created by @guilhermeblanco:
Issue was closed with resolution "Fixed"