authserver/homestead/scripts/create-postgres.sh
author durandn
Wed, 22 Jul 2015 16:34:04 +0200
changeset 57 03796d1f704c
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Added a no-tooltip option for Segments

#!/usr/bin/env bash

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