Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit b13d5b2

Browse files
committed
Switch to Single DB Test Setup
1 parent 8ef60b7 commit b13d5b2

5 files changed

Lines changed: 78 additions & 179 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
set -e
3+
4+
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
5+
CREATE DATABASE zars_fhir;
6+
GRANT ALL PRIVILEGES ON DATABASE zars_fhir TO liquibase_user;
7+
CREATE DATABASE zars_bpe;
8+
GRANT ALL PRIVILEGES ON DATABASE zars_bpe TO liquibase_user;
9+
CREATE DATABASE dic_1_fhir;
10+
GRANT ALL PRIVILEGES ON DATABASE dic_1_fhir TO liquibase_user;
11+
CREATE DATABASE dic_1_bpe;
12+
GRANT ALL PRIVILEGES ON DATABASE dic_1_bpe TO liquibase_user;
13+
CREATE DATABASE dic_2_fhir;
14+
GRANT ALL PRIVILEGES ON DATABASE dic_2_fhir TO liquibase_user;
15+
CREATE DATABASE dic_2_bpe;
16+
GRANT ALL PRIVILEGES ON DATABASE dic_2_bpe TO liquibase_user;
17+
EOSQL

0 commit comments

Comments
 (0)