Actions
Bug #104297
closedEnsure correct column type in database compare for SQLite
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2024-07-02
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Since Doctrine DBAL 4 field types are no longer communicated based
column field comments [1]. Database vendors not supporting certain
types, for example JSON in case of SQLite, the type retrieved from
reading the database schema does not match when compared with the
virtual database column type. Doctrine interally mitigates this by
using a new way of comparision by comparing the compatible create
statements for the database vendor.
Sadly, this comparision has been disabled and worked around during
the Doctrine DBAL 4 upgrade and still cannot be removed until open
issues have been properly integrated.
[1] https://github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md#bc-break-removed-platform-commented-type-api
Actions