owncloud/core — pull request #9065 by PVince81 (2014-06-17 12:16:49+00:00)
Title: Do not rename primary key index when renaming table

When the migrator renames a table, for example for upgrade simulation,
it should not rename the primary key to avoid messing up with the diff
because the MySQL Doctrine code expects that index to always be called
"primary".

FYI @icewind1991

TODO:
- [x] test with Mysql
- [ ] test with PostgreSQL
- [ ] test with SQLite
- [ ] add unit tests