I have tables with double as their field's datatype. When I ran db:schema:dump, Rails changed all of these double to float. I would like to know why, and if there is anyway I could preserve the datatype.
Thanks a lot, Chris
I have tables with double as their field's datatype. When I ran db:schema:dump, Rails changed all of these double to float. I would like to know why, and if there is anyway I could preserve the datatype.
Thanks a lot, Chris
Migrations do not support double data types to my knowledge. You would need to use database specific SQL to retain the double data type.
Michael
Darn it ! Oh well.
Thanks a lot for your answer
Chris