Project

General

Profile

Actions

Bug #15300

closed

Creating tables with DBAL on MySQL cuts numeric field types in half

Added by Karsten Dambekalns over 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Must have
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)

Actions #1

Updated by Karsten Dambekalns over 18 years ago

Fixed by ignoring unsigned only for non-mysql databases.

Actions

Also available in: Atom PDF