authserver/homestead/scripts/create-postgres.sh
author durandn
Fri, 09 Sep 2016 11:01:58 +0200
changeset 196 1b539c9480f9
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Imported mdplayer updates + Permalink on each comment (using AnnotationsList and Mediafragment) + view "iframe_hash" that forwards the hash to the iframe to test that the hash jump works properly

#!/usr/bin/env bash

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