authserver/homestead/scripts/create-postgres.sh
author durandn
Mon, 23 Nov 2015 15:06:10 +0100
changeset 185 d95af98cd3a3
parent 8 5a0cbbe0922a
permissions -rw-r--r--
corrected slight css bug with markers dropdown

#!/usr/bin/env bash

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