authserver/homestead/scripts/create-postgres.sh
author durandn
Mon, 17 Aug 2015 17:06:42 +0200
changeset 77 692b9d9fd29f
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Adding Marker widget for creating, editing and displaying no-duration annotations + changes to iframes

#!/usr/bin/env bash

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