]> source.dussan.org Git - nextcloud-server.git/commit
Do not rename primary key index when renaming table
authorVincent Petry <pvince81@owncloud.com>
Tue, 17 Jun 2014 12:11:02 +0000 (14:11 +0200)
committerVincent Petry <pvince81@owncloud.com>
Tue, 17 Jun 2014 13:23:18 +0000 (15:23 +0200)
commit7aa11b436145b9b5d1cef2fb88725d81729aab20
tree941c2a92737bdb0872d388935ff4675d34f1fa50
parent4fbab3c12db8bc23c7a4891005c00f6f302ae9e3
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".
lib/private/db/migrator.php