Re: [Rails-core] STEP argument for rake db:migrate

2015-03-30 Thread Pranas Kiziela
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. On Sun, Mar 29, 2015 at 6:23 PM, Michael Mahemoff wrote:

[Rails-core] STEP argument for rake db:migrate

2015-03-29 Thread Michael Mahemoff
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