[Rails-core] Rake db:migrate with relativeness

2014-02-13 Thread HariHaraSudhan KM
Hi people, I found it a little hard to migrate up,down,redo with version numbers, i thought if we use something relative to the last made migrations might make migrations usage better. I liked the way i can revert or reset commits like git does git reset HEAD~2 same way we can also do

Re: [Rails-core] Rake db:migrate with relativeness

2014-02-13 Thread Pranas Kiziela
I think STEP parameter is what you're looking for: http://guides.rubyonrails.org/migrations.html#rolling-back On Thu, Feb 13, 2014 at 3:36 PM, HariHaraSudhan KM km.hariharasud...@gmail.com wrote: Hi people, I found it a little hard to migrate up,down,redo with version numbers, i