I need to change a couple of fields in my database from:
:decimal, :precision => 8, :scale => 5
to:
:float
Does this migation result in data loss? The current data consists of integers between 0 and 999.
If this migration will impact these numbers already stored, how can I keep this data safe?
Setup: Ruby on Rails 3 running on Heroku (solution would need to work for both PostgreSQL and MySQL).