Merge branch 'DDC-2587' into 2.4
This commit is contained in:
commit
b324a21abf
@ -152,7 +152,7 @@ class EntityGenerator
|
|||||||
Type::SMALLINT => 'integer',
|
Type::SMALLINT => 'integer',
|
||||||
Type::TEXT => 'string',
|
Type::TEXT => 'string',
|
||||||
Type::BLOB => 'string',
|
Type::BLOB => 'string',
|
||||||
Type::DECIMAL => 'float',
|
Type::DECIMAL => 'string',
|
||||||
Type::JSON_ARRAY => 'array',
|
Type::JSON_ARRAY => 'array',
|
||||||
Type::SIMPLE_ARRAY => 'array',
|
Type::SIMPLE_ARRAY => 'array',
|
||||||
);
|
);
|
||||||
|
@ -516,9 +516,9 @@ class EntityGeneratorTest extends \Doctrine\Tests\OrmTestCase
|
|||||||
)),
|
)),
|
||||||
array(array(
|
array(array(
|
||||||
'fieldName' => 'decimal',
|
'fieldName' => 'decimal',
|
||||||
'phpType' => 'float',
|
'phpType' => 'string',
|
||||||
'dbType' => 'decimal',
|
'dbType' => 'decimal',
|
||||||
'value' => 33.33
|
'value' => '12.34'
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user