Last Updated: February 25, 2016
·
360
· webcoderph

Rails db:migrate

undo single step of db migration

rake db:rollback

if you want to go back all the way from the beginning of your migration

rake db:migrate VERSION=0

source: http://ruby.railstutorial.org/chapters/static-pages#top