aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2020-12-01 18:59:47 +0200
committerGitHub <noreply@github.com>2020-12-01 16:59:47 +0000
commitc667a19775e3e1fc7d57cdadacefe183fbefcbe1 (patch)
tree52b12a13e8da348ba0a679f9d9cd12f4b9d1cba9 /docs
parentc16abb089ce76b34736f425cf3c63d13f1e7a387 (diff)
Assign CREATEDB permission to the test user (#1591)
During the tests databases get recreated, and this fails despite of the user being the owner of a dropped database. Maybe related to certain PostgreSQL version. Signed-off-by: Bohdan Horbeshko <bodqhrohro@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/sytest.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/sytest.md b/docs/sytest.md
index 03954f13..0d42013e 100644
--- a/docs/sytest.md
+++ b/docs/sytest.md
@@ -85,6 +85,7 @@ Set up the database:
```sh
sudo -u postgres psql -c "CREATE USER dendrite PASSWORD 'itsasecret'"
+sudo -u postgres psql -c "ALTER USER dendrite CREATEDB"
for i in dendrite0 dendrite1 sytest_template; do sudo -u postgres psql -c "CREATE DATABASE $i OWNER dendrite;"; done
mkdir -p "server-0"
cat > "server-0/database.yaml" << EOF