Assuming you migrated a database with: bundle exec rake db:migrate
# Undo a single migration step:
$ bundle exec rake db:rollback
# Roll back to the beginning
# You may substitue the 0 to roll back to another version
$ bundle exec rake db:migrate VERSION=0