From f3c482b078c2fbb6d6d7a41be44c2e841d70d8b8 Mon Sep 17 00:00:00 2001 From: Creed Haymond Date: Mon, 20 Jul 2020 02:18:48 -0600 Subject: [PATCH] Adding the e2ekey database to the create_db script and docs (#1206) Signed-off-by: Creed Haymond --- build/docker/postgres/create_db.sh | 2 +- docs/INSTALL.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/docker/postgres/create_db.sh b/build/docker/postgres/create_db.sh index a884b5ccd..fdda03469 100644 --- a/build/docker/postgres/create_db.sh +++ b/build/docker/postgres/create_db.sh @@ -1,5 +1,5 @@ #!/bin/bash -for db in account device mediaapi syncapi roomserver serverkey federationsender currentstate appservice naffka; do +for db in account device mediaapi syncapi roomserver serverkey federationsender currentstate appservice e2ekey naffka; do createdb -U dendrite -O dendrite dendrite_$db done diff --git a/docs/INSTALL.md b/docs/INSTALL.md index cf8adee81..dedcf1517 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -109,7 +109,7 @@ Assuming that Postgres 9.5 (or later) is installed: * Create the component databases: ```bash - for i in account device mediaapi syncapi roomserver serverkey federationsender currentstate appservice naffka; do + for i in account device mediaapi syncapi roomserver serverkey federationsender currentstate appservice e2ekey naffka; do sudo -u postgres createdb -O dendrite dendrite_$i done ```