mirror of
https://github.com/jackc/pgx.git
synced 2025-05-02 05:30:04 +00:00
10 lines
259 B
Bash
Executable File
10 lines
259 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eux
|
|
|
|
if [ "${PGVERSION-}" != "" ]
|
|
then
|
|
psql -U postgres -c 'create database pgx_test'
|
|
psql -U postgres pgx_test -c 'create domain uint64 as numeric(20,0)'
|
|
psql -U postgres -c "create user pgx_md5 SUPERUSER PASSWORD 'secret'"
|
|
fi
|