Commit f7fc1643 authored by Timothy Andrew's avatar Timothy Andrew
Browse files

Added a `migrate` alias.

It migrates the DB and prepares the test DB.
parent 178bce28
...@@ -6,6 +6,7 @@ alias sr='ruby script/runner' ...@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment