- [ruby, rails]

Rails migration and column names

After creating a migration on Rails, I discovered you can’t set a column name as type.

It will break.

To fix it, pick the number on the begining of the migration file name and run:

rake db:migrate:down VERSION={the number you found}