authserver/homestead/scripts/create-postgres.sh
author rougeronj
Thu, 17 Sep 2015 18:19:30 +0200
changeset 151 bbf1f87578fe
parent 8 5a0cbbe0922a
permissions -rw-r--r--
fix style bug in IE: make the scroll bar overlay the content so it doesn't increase the width of the container and ruin the all the layout

#!/usr/bin/env bash

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