DBAL-691: [GH-435] [DBAL-400] Fix adding primary key during table alteration in MySQL #1913

Closed
doctrinebot opened this Issue Nov 27, 2013 · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of deeky666:

Url: #435

Message:

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.

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-435] was closed:
#435

@doctrinebot

Comment created by @guilhermeblanco:

Merged: 8b28a9a

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 7, 2015
@doctrinebot doctrinebot added this to the 2.4.2 milestone Dec 7, 2015
@doctrinebot doctrinebot closed this Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment