Added note about password and privileges for OSM DB user

This commit is contained in:
Michal Migurski 2021-02-03 20:37:06 -08:00
parent 75caec40a5
commit 87c62fec3b

View file

@ -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;