authserver/homestead/scripts/create-postgres.sh
author durandn
Tue, 02 Jun 2015 10:41:10 +0200
changeset 9 3166a35f5f0d
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Added CAS Auth middleware and CAS Login urls to remie platform + removed authserver/homestead/.vagrant from repo

#!/usr/bin/env bash

DB=$1;
su postgres -c "dropdb $DB --if-exists"
su postgres -c "createdb -O homestead '$DB' || true"