authserver/homestead/scripts/create-postgres.sh
author durandn
Mon, 02 Nov 2015 16:02:47 +0100
changeset 175 21c941c07e7c
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Changes and fixes for Segments scenarii (segment boxes colors and position, annotations list improvements)

#!/usr/bin/env bash

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