STEP argument for rake db:migrate

It seems that rake db:migrate doesn’t support STEP, e.g. “rake db:migrate STEP=5” will do the same thing as “rake db:migrate”, ie run all remaining migrations. whereas rollback and redo do support STEP.

For the sake of consistency as well as supporting migrations one step at a time, db:migrate could support STEP too.

You can run migrations one at a time by passing VERSION env variable (see http://guides.rubyonrails.org/active_record_migrations.html#running-migrations )

I too see inconsistency here. I wish all operations supported both STEP and VERSION.