Rollback migrations

suggest change

To rollback the latest migration, either by reverting the change method or by running the down method. Run command:

rake db:rollback
rails db:rollback

Rollback the last 3 migrations

rake db:rollback STEP=3
rails db:rollback STEP=3

STEP provide the number of migrations to revert.

Rollback all migrations

rake db:rollback VERSION=0
rails db:rollback VERSION=0

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


ActiveRecord migrations:
*Rollback migrations

Table Of Contents
4ActiveRecord migrations
55CSV