authserver/homestead/scripts/create-postgres.sh
author ymh <ymh.work@gmail.com>
Sun, 19 Jul 2015 09:20:37 +0200
changeset 28 bda0fb9b1ddd
parent 8 5a0cbbe0922a
permissions -rw-r--r--
refresh ldt to disable httplib2 certs validation + bump version

#!/usr/bin/env bash

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