X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/75caec40a50069397814876d513621404e17c3f1..cb86e74f69c6b1fe62b06d037396976fadfa3ad8:/docker/postgres/openstreetmap-postgres-init.sh diff --git a/docker/postgres/openstreetmap-postgres-init.sh b/docker/postgres/openstreetmap-postgres-init.sh index de620bcec..1a7c58857 100755 --- a/docker/postgres/openstreetmap-postgres-init.sh +++ b/docker/postgres/openstreetmap-postgres-init.sh @@ -2,6 +2,7 @@ set -ex # Create 'openstreetmap' user +# Password and superuser privilege are needed to successfully run test suite psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" <<-EOSQL CREATE USER openstreetmap SUPERUSER PASSWORD 'openstreetmap'; GRANT ALL PRIVILEGES ON DATABASE openstreetmap TO openstreetmap;