authserver/homestead/scripts/create-postgres.sh
author durandn
Fri, 28 Aug 2015 15:55:36 +0200
changeset 81 24cf59559959
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Cleaned up log messages in CurrentSegmentInfobox

#!/usr/bin/env bash

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