authserver/homestead/scripts/create-postgres.sh
author ymh <ymh.work@gmail.com>
Thu, 16 Jul 2015 13:01:36 +0200
changeset 19 e24870556c07
parent 8 5a0cbbe0922a
permissions -rw-r--r--
correct new requirements + version 0.0.1

#!/usr/bin/env bash

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