authserver/homestead/scripts/create-postgres.sh
author durandn
Wed, 05 Aug 2015 17:21:41 +0200
changeset 72 5944fe739301
parent 8 5a0cbbe0922a
permissions -rw-r--r--
fix AnnotationsController

#!/usr/bin/env bash

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