* Fix flaky postgres test * add pgcrypto extension to test * fix postgres ref link CONTRIBUTING guide and add pgcrypto extension * Update CONTRIBUTING.md
14 lines
384 B
Bash
Executable File
14 lines
384 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "[SCRIPT] Before Script :: Setup Parse DB for Postgres"
|
|
|
|
PGPASSWORD=postgres psql -v ON_ERROR_STOP=1 -h localhost -U postgres <<-EOSQL
|
|
CREATE DATABASE parse_server_postgres_adapter_test_database;
|
|
\c parse_server_postgres_adapter_test_database;
|
|
CREATE EXTENSION pgcrypto;
|
|
CREATE EXTENSION postgis;
|
|
CREATE EXTENSION postgis_topology;
|
|
EOSQL
|