db schema.rb is out of sync - aavedula/how-to-notes GitHub Wiki

Back

When you get strange merge conflicts or find that things have changed in the db/schema.rb that you didn't change, do the following:

rake db:drop
rake db:create
rake db:setup
rake db:migrate