Answers for "rails ROLLBACK"

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
-2

rails db:rollback

rake db:rollback VERSION=n
# n = the version you want to rollback to
Posted by: Guest on September-15-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language