authserver/homestead/scripts/create-postgres.sh
author durandn
Mon, 02 Nov 2015 17:22:36 +0100
changeset 177 35ee3f9523b7
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Fixed containers position for Segments student (single and group mode) scenario and Segments preview scenario

#!/usr/bin/env bash

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