Skip to content

Commit d179123

Browse files
authored
Merge pull request #1101 from opencrvs/fix-reset
fix: pass `ANALYTICS_POSTGRES_DB` in clear-all-data
2 parents d540350 + 6246029 commit d179123

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

infrastructure/clear-all-data.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ docker run --rm --network=$NETWORK \
141141
-e EVENTS_MIGRATOR_ROLE="${EVENTS_MIGRATOR_ROLE}" \
142142
-e EVENTS_APP_ROLE="${EVENTS_APP_ROLE}" \
143143
-e ANALYTICS_POSTGRES_USER="${ANALYTICS_POSTGRES_USER}" \
144+
-e ANALYTICS_POSTGRES_DB="${ANALYTICS_POSTGRES_DB}" \
144145
postgres:17.6 bash -c '
145146
psql -h postgres -U "$POSTGRES_USER" -d postgres -v ON_ERROR_STOP=1 <<EOF
146147
DROP DATABASE IF EXISTS "$POSTGRES_DB" WITH (FORCE);

0 commit comments

Comments
 (0)