I\'m working on deploying my first Rails application right now, and somewhere along the way, I botched a migration. When I try to push my application to the production server an
If you edited the schema directly you will need to run:
rake db:schema:dump
This will take whatever is in the database and create a schema.rb file. Then you can run rake db:schema:load anytime you want. However it will mean that your migrations are still bad. You could delete all of them and recreate them from the schema.rb file.