[DBAL-878] Wrong mapping type
the type should be the mapping type, and not the name of the type. This does the difference for simple_array, as the result should be simple_array and not simplearray
This commit is contained in:
parent
f7de00b401
commit
9ba31a394a
@ -392,7 +392,7 @@ class DatabaseDriver implements MappingDriver
|
||||
$fieldMapping = array(
|
||||
'fieldName' => $this->getFieldNameForColumn($tableName, $column->getName(), false),
|
||||
'columnName' => $column->getName(),
|
||||
'type' => strtolower((string) $column->getType()),
|
||||
'type' => $column->getType()->getName(),
|
||||
'nullable' => ( ! $column->getNotNull()),
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user