Answers for "rails rollback viersion"

3

rails rollback multiple migrations

rake db:rollback STEP=n 
# n = how many migrations you want to rollback
Posted by: Guest on May-11-2020
0

rials db down

bin/rails db:migrate:down VERSION=YYYYMMDDHHMMSS
Posted by: Guest on March-09-2020
0

see migration history rails

rake db:migrate:status
Posted by: Guest on November-26-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language