开发者

How to specify float format in doctrine 1.2 schema?

When I use such notation in doctrine 1.2 schema file some_float_field: { type: float } doctrine generates SQL for it some_float_field FLOAT(18, 2)

But I need more digits after decimal point,开发者_开发百科 for example FLOAT(18,10). Is there a way to specify float format in schema file or doctrine config ?

Do you possibly know what file in doctrine package generates sql from schema file ?


not sure about float, but for decimal it's

type: decimal(18)
scale: 10

float should be something similar I guess

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜