Project

General

Profile

Actions

Task #102866

closed

Doctrine DBAL deprecated maximum length methods from `AbstractPlatform`

Added by Stefan Bürk 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2024-01-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Relying on the default and the maximum column lengths provided by the
Doctrine DBAL is deprecated. The following AbstractPlatform methods
and their implementations in specific platforms have been deprecated:

- AbstractPlatform::getCharMaxLength(),
- AbstractPlatform::getVarcharDefaultLength(),
- AbstractPlatform::getVarcharMaxLength(),
- AbstractPlatform::getBinaryDefaultLength(),
- AbstractPlatform::getBinaryMaxLength().

If required by the target platform(s), the column length should be
specified based on the application logic.

[1] https://github.com/doctrine/dbal/blob/3.8.x/UPGRADE.md#deprecated-abstractplatform-methods-that-describe-the-default-and-the-maximum-column-lengths
[2] https://github.com/doctrine/dbal/blob/3.8.x/UPGRADE.md#added-runtime-deprecations-for-the-default-string-column-length
[3] https://github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md#bc-break-changes-to-handling-binary-fields

Actions

Also available in: Atom PDF