Added a migrate alias.

It migrates the DB and prepares the test DB.
This commit is contained in:
Timothy Andrew 2012-12-05 08:21:42 +05:30
parent 178bce287e
commit f7fc164377

View file

@ -6,6 +6,7 @@ alias sr='ruby script/runner'
alias ssp='ruby script/spec' alias ssp='ruby script/spec'
alias rdbm='rake db:migrate' alias rdbm='rake db:migrate'
alias rdbtp='rake db:test:prepare' alias rdbtp='rake db:test:prepare'
alias migrate='rake db:migrate && rake db:test:prepare'
alias sc='ruby script/console' alias sc='ruby script/console'
alias sd='ruby script/server --debugger' alias sd='ruby script/server --debugger'
alias devlog='tail -f log/development.log' alias devlog='tail -f log/development.log'