authserver/homestead/scripts/create-postgres.sh
author durandn
Tue, 22 Sep 2015 12:02:55 +0200
changeset 161 30f520ba59a1
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Small fix for better interaction between CreateAnnotation and AnnotationController

#!/usr/bin/env bash

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