mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DBAL SchemaManager ignores float precision and scale
#5204
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @neomerx on GitHub (Jul 29, 2016).
When a new column is added for
floattype withscaleandprecisionthey are ignored.will produce
DOUBLE(in MySQL) no matter what is given in$precisionand$scale.The only usage of
getPrecisionandgetScaleis here.@neomerx commented on GitHub (Jul 29, 2016):
I think the problem is with method AbstractPlatform::getFloatDeclarationSQL
it receives valid
precisionandscalebut just ignores the values@keanolane commented on GitHub (Aug 8, 2016):
Same issue here
@sergiodebcn commented on GitHub (May 31, 2018):
Same here
@marc-tomas-atrapalo commented on GitHub (Jun 4, 2018):
+1