Issue Bug Closed

#67288Field types don't get properly translated to MySQL types

Morton Jonuschat 06/03/15, 23:51 updated 10/02/18, 11:44

Description

DBAL doesn’t seem to properly convert the field types returned in admin_get_fields() to MySQL types.

When doing a database compare with DBAL enabled I get results like this:

ALTER TABLE be_sessions CHANGE ses_backuserid ses_backuserid int(11) NOT NULL default '0'; 
Current value: (8) default '0'
<pre>

Real field type is int8  / BIGINT which is often denoted as INT(8). The type information (INT) is being lost completly. The same is true for every other field type encountered

TYPO3 7.3-dev
PostgreSQL 9.4

Reviews 2