Why does db:schema:dump change float to double?

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

Thanks a lot,

Migrations do not support double data types to my knowledge. You
would need to use database specific SQL to retain the double data


Darn it ! Oh well.

Thanks a lot for your answer :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs