阅读背景:

为什么我不能在rails迁移中设置float的精度和比例?

来源:互联网 

After I run this migration, my geo_latitude and geo_longitude columns are type "float" (no precision and scale). I can run sql query directly and change the type to float(10, 6), so why does the migration ignore my precision and scale parameters?After I run this migration, my geo_latitude and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: