7 lines
207 B
Bash
7 lines
207 B
Bash
#!/bin/sh
|
|
set -eu
|
|
psql "$1" -v ON_ERROR_STOP=1 -c \
|
|
"CREATE ROLE objectstore LOGIN PASSWORD 'ha-test-database-password'"
|
|
psql "$1" -v ON_ERROR_STOP=1 -c \
|
|
'CREATE DATABASE objectstore OWNER objectstore'
|