Ticket for review: Make "rake db:migrate:redo VERSION=x" do what you think it should do.

4 views
Skip to first unread message

Philip Hallstrom

unread,
Sep 17, 2008, 12:54:32 AM9/17/08
to rubyonra...@googlegroups.com
Hi all -

I've modified the rake task so that if you type "rake db:migrate:redo
VERSION=x" it will run the :down and :up migration for 'x' as opposed
to redoing the last (or last STEP=x) migrations.

Pretty tiny. Appreciate comments...

http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1061-patch-to-allow-rake-dbmigrateredo-to-accept-version-to-target-that-migration

Thanks!

-philip


Reply all
Reply to author
Forward
0 new messages