[BUGFIX] Always quote SQL identifiers in schema migrations 03/53403/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 1 Jul 2017 17:59:38 +0000 (10:59 -0700)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 4 Jul 2017 22:01:51 +0000 (00:01 +0200)
commit7a2902caf1fb765a33da07ecf899d9c9487a3c7c
tree95980f9830acd8465d59bd5e9fd3e719b028cc18
parentededfc07ac23b656e3f307b669a6f7c2fd88d84d
[BUGFIX] Always quote SQL identifiers in schema migrations

Doctrine doesn't always return quoted identifiers when reading the
schema information from the database. This patch works around that
by properly quoting the identifiers when determining the required
changes to the database.

Resolves: #81610
Releases: master, 8.7
Change-Id: I746a8a023cf494050cd83c089e0d2bca98c046f1
Reviewed-on: https://review.typo3.org/53403
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php
typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php