authserver/homestead/scripts/create-postgres.sh
author durandn
Fri, 02 Oct 2015 15:28:29 +0200
changeset 171 b4aece5775cd
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Small fix on CreateAnnotation + restored style on segment single (commit mistake)

#!/usr/bin/env bash

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