Shortcut for rake db:migrate:down for ruby-on-rails
Posted
by Michaël
on Stack Overflow
See other posts from Stack Overflow
or by Michaël
Published on 2010-05-30T09:07:07Z
Indexed on
2010/05/30
9:12 UTC
Read the original article
Hit count: 332
Hi,
I want to know if there is a short way to do the migrations down equivalent to rake db:migrate (for the migrations up). Instead of doing : rake db:migrate:up VERSION=1, rake db:migrate:up VERSION=2, ... we can do : rake db:migrate! But for : rake db:migrate:down VERSION=10, rake db:migrate:down VERSION=..., rake db:migrate:down VERSION=1, is there a shortcut?
Tank you for your help!
© Stack Overflow or respective owner