Added rnt-db alias

This commit is contained in:
Wryn Wagner 2020-02-24 18:52:30 -07:00
parent 21a3ec2d4d
commit 190bb4fb1e

View File

@ -29,6 +29,8 @@ _rnt () { # autocompletion
}
compdef _rnt rnt;
alias rntdb='$DOTWRYN/bin/rd-db.sh'
function refresh_rd_db() {
psql postgres -c "DROP DATABASE rentdynamics;"
psql postgres -c "CREATE DATABASE rentdynamics with owner rd;"