Issue Bug Closed

#98707Add temporarily workaround for changed doctrine/dbal behaviour

Stefan Bürk 10/23/22, 06:13 updated 12/06/22, 21:44

Description

doctrine/dbal is working on deprecating and changing code and behaviour
in 3.x as preparation for removal in 4.x. With doctrine/dbal v3.5.0 the
table rename detection in the TYPO3 database compare no longer works as
expected. TableDiff got a `isEmpty()` check, which is used in SchemaDiff
and thus filtering out “renamed” tables without further changes, leading
to a change of behaviour. doctrine/dbal favours renaming table no longer
by setting a new name in the TableDiff, thus not having the changed name
in the `isEmpty()` check.

See: https://github.com/doctrine/dbal/pull/5770

Reviews 1