Adding the e2ekey database to the create_db script and docs (#1206)

Signed-off-by: Creed Haymond <creedasaurus@gmail.com>
This commit is contained in:
Creed Haymond 2020-07-20 02:18:48 -06:00 committed by GitHub
parent 986498f5a5
commit f3c482b078
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/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 createdb -U dendrite -O dendrite dendrite_$db
done done

View file

@ -109,7 +109,7 @@ Assuming that Postgres 9.5 (or later) is installed:
* Create the component databases: * Create the component databases:
```bash ```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 sudo -u postgres createdb -O dendrite dendrite_$i
done done
``` ```