authserver/homestead/scripts/create-postgres.sh
author durandn
Thu, 10 Sep 2015 15:47:00 +0200
changeset 120 93af8545dd96
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Added filter into AnnotationsList so that it displays only the latest annotation for each user that made an annotation

#!/usr/bin/env bash

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