Project

General

Profile

Task #102866

Updated by Stefan Bürk 10 months ago

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

Back