X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/75caec40a50069397814876d513621404e17c3f1..d6f8302eaeac711f8738c956f46c92de9743fed3:/docker/postgres/openstreetmap-postgres-init.sh?ds=inline 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;