diff options
author | Yorhel <git@yorhel.nl> | 2017-12-29 08:59:47 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2017-12-29 09:00:15 +0100 |
commit | dc15b3f21c4004c2ede86de853eb28f218b7090e (patch) | |
tree | d95b471ba0af5c41090cd78f99033e5eda8b0344 /util/docker-init.sh | |
parent | 56c6772aa792122931f415c3049491c685f678a4 (diff) |
Experimenting with PostgreSQL 10: "UNENCRYPTED" keyword has been removed
Diffstat (limited to 'util/docker-init.sh')
-rwxr-xr-x | util/docker-init.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/docker-init.sh b/util/docker-init.sh index f815c7f8..8458ef26 100755 --- a/util/docker-init.sh +++ b/util/docker-init.sh @@ -50,9 +50,9 @@ pg_init() { # Should run as the postgres user pg_load_superuser() { psql -f /var/www/util/sql/superuser_init.sql - echo "ALTER ROLE vndb LOGIN UNENCRYPTED PASSWORD 'vndb'" | psql -U postgres - echo "ALTER ROLE vndb_site LOGIN UNENCRYPTED PASSWORD 'vndb_site'" | psql -U postgres - echo "ALTER ROLE vndb_multi LOGIN UNENCRYPTED PASSWORD 'vndb_multi'" | psql -U postgres + echo "ALTER ROLE vndb LOGIN PASSWORD 'vndb'" | psql -U postgres + echo "ALTER ROLE vndb_site LOGIN PASSWORD 'vndb_site'" | psql -U postgres + echo "ALTER ROLE vndb_multi LOGIN PASSWORD 'vndb_multi'" | psql -U postgres } # Should run as devuser |