Last Updated: February 25, 2016
·
1.283K
· oesmith

Quick bash/zsh aliases for creating rails databases

A combination of the GitHub flow (http://scottchacon.com/2011/08/31/github-flow.html) and having a database config that needs a new database for each branch means I spend a lot of time creating databases.

These aliases make my life a little easier:

alias dbup="rake db:setup && rake db:test:prepare"
alias dbupp="rake db:setup && rake db:test:prepare && rake parallel:create && rake parallel:prepare"