authserver/homestead/scripts/create-postgres.sh
author durandn
Fri, 28 Aug 2015 11:52:42 +0200
changeset 78 3926ac9e5c77
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Small corrections on Markers widget + corrections on headers for LastAnnotation and AnnotationsList

#!/usr/bin/env bash

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