Actions
Bug #105310
open\TYPO3\CMS\Core\Database\Schema\Parser\Parser translates CHAR to VARCHAR
Status:
New
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2024-10-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Given the following ext_tables.sql
CREATE TABLE table (
column CHAR(2),
);
the schema parser detects a char-type but it translates it into a doctrine/dbal type string without fixed set to true. So, this will be translated to
CREATE TABLE table (
column VARCHAR(2),
);
This would be fixed if the constructor of \TYPO3\CMS\Core\Database\Schema\Parser\AST\DataType\CharDataType
sets its fixed
property to true.
Alternatively, fixed could be part of the options passed into the constructor.
Updated by Alexander Schnitzler about 1 month ago
- Related to Bug #103141: TCA type=uuid does not use native uuid type for postgresql added
Actions