]> git.openstreetmap.org Git - rails.git/commitdiff
Added note about password and privileges for OSM DB user
authorMichal Migurski <mike@teczno.com>
Thu, 4 Feb 2021 04:37:06 +0000 (20:37 -0800)
committerMichal Migurski <mike@teczno.com>
Sat, 13 Feb 2021 06:56:17 +0000 (22:56 -0800)
docker/postgres/openstreetmap-postgres-init.sh

index de620bcec8eabbcbc1133e056ccf730b6c121fdf..1a7c58857c9553b17ee76832a8d82b67ebe93bee 100755 (executable)
@@ -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;