I can't seem to figure this one out by searching Google.
I have an existing database which has some columns with the type of double
, what would I write in my rails migration to create an equivalent column type? It's a relatively old database and there maybe a more suitable datatype to use completely, but I wanted to see what others thought.
I was going to use the type of :decimal
, is this the best choice?
Thoughts?