Generate new one

$ rails g migration add_some_field_to_some_table

Create db

$ rails db:create

Run migrations

$ rails db:migrate

Rollback

$ rails db:rollback STEP=1

Recreate test DB

RAILS_ENV=test rails db:drop db:create db:schema:load