authserver/homestead/scripts/create-postgres.sh
author durandn
Fri, 20 Nov 2015 11:10:03 +0100
changeset 184 b8fc9a694b91
parent 8 5a0cbbe0922a
permissions -rw-r--r--
fixed templates so the video size is always the same

#!/usr/bin/env bash

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