authserver/homestead/scripts/create-postgres.sh
author rougeronj
Tue, 08 Sep 2015 15:25:32 +0200
changeset 104 64ad4987d31c
parent 8 5a0cbbe0922a
permissions -rw-r--r--
add class "selected" on the marker just created bring the selected/hover marker to the foreground

#!/usr/bin/env bash

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