[BUGFIX] InstallTool: handle column renames in database compare 85/51085/6
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 31 Dec 2016 21:07:31 +0000 (13:07 -0800)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 10 Jan 2017 12:42:55 +0000 (13:42 +0100)
commite3779b1f51d58550de201c057ca901e6b7d33ab2
tree88b4b58b803766b644563c5580c145288a71067d
parent4a7046385e0b224804628b455bcd64d24e122004
[BUGFIX] InstallTool: handle column renames in database compare

When the Doctrine SchemaMigrator detects an added column and a removed
column that only differ by name but not by configuration these separate
changes get optimized into a column rename operation.

Deoptimize these renames into distinct add/drop column operations to
keep handling of columns consistent when multiple columns change at the
same time.

Resolves: #78771
Releases: master
Change-Id: Ic6d06b99dfb3f33975969be39d904faac5b438a0
Reviewed-on: https://review.typo3.org/51085
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php