[BUGFIX] Doctrine: Fix SchemaMigrator renaming columns instead of adding 87/49787/3
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 2 Sep 2016 19:56:49 +0000 (21:56 +0200)
committerJan Helke <typo3@helke.de>
Fri, 2 Sep 2016 20:29:40 +0000 (22:29 +0200)
commitdd3bc526cc52e9bec08e59249f61a27aedab847b
treef1014d27e6d8ccaf94984db4f344585564a377df
parent76dc4bf04ecb8edd3e0dd494f7decca77d0e7e22
[BUGFIX] Doctrine: Fix SchemaMigrator renaming columns instead of adding

When a partial SQL file doesn't include an existing column that is exactly
the same configuration as a new column the Doctrine SchemaManager falsely
detects a column rename. Convert these renamed columns to newly added columns.

Change-Id: Iad7590b3cb47c8abc4864f1e19e305475e4a27f4
Releases: master
Resolves: #77804
Reviewed-on: https://review.typo3.org/49787
Tested-by: Marco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: Marco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/core/Classes/Database/Schema/SchemaMigrator.php
typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php