authserver/homestead/scripts/create-postgres.sh
author durandn
Fri, 28 Aug 2015 16:00:19 +0200
changeset 82 bf1c38268e25
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Updated Readmes + Updated tmp CAS config + Updated Laravel test with iframe + remove X-Frame django middleware from middlewares + removed local ssl certificate from repo

#!/usr/bin/env bash

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