authserver/homestead/scripts/create-postgres.sh
author durandn
Mon, 31 Aug 2015 12:22:14 +0200
changeset 87 4ea185b1b7ce
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Added custom headers options for AnnotationsList and LatestAnnotation

#!/usr/bin/env bash

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