authserver/homestead/scripts/create-postgres.sh
author durandn
Mon, 20 Jul 2015 18:43:52 +0200
changeset 51 ed7e67d744a2
parent 8 5a0cbbe0922a
permissions -rw-r--r--
added fields for copying project via API in the iframetester

#!/usr/bin/env bash

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