Actions
Bug #15300
closedCreating tables with DBAL on MySQL cuts numeric field types in half
Status:
Closed
Priority:
Must have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2005-12-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When creating a table with DBAL, the unsigned attribute is discarded (as it is no SQL standard). With other databases this works fine, but when used on MySQL the approach renders some fields unusable - as a tinyint for example can now only store a max value of 127 as apposed to 255 when being unsigned. This breaks e.g. the storage of doktype values like sysfolder.
(issue imported from #M2072)
Updated by Karsten Dambekalns almost 19 years ago
Fixed by ignoring unsigned only for non-mysql databases.
Actions