authserver/homestead/scripts/create-postgres.sh
author durandn
Mon, 20 Jul 2015 10:45:02 +0200
changeset 36 3e47f3eb145b
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Added filters for AnnotationsList and clicking support + copying and editing for LatestAnnotation

#!/usr/bin/env bash

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