doctrine/dbal — pull request #435 by deeky666 (2013-11-27 23:49:16+00:00)
Title: [DBAL-400] Fix adding primary key during table alteration in MySQL

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.