From 2eabb0adb405d08cbcf3ff978ba73ce08646e342 Mon Sep 17 00:00:00 2001
From: self <self@awful.systems>
Date: Mon, 21 Aug 2023 13:47:55 -0700
Subject: [PATCH] docs: add database information

---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index c185d4a..8c1e2c4 100644
--- a/README.md
+++ b/README.md
@@ -78,3 +78,12 @@ your chosen log monitoring software.
 - `lemmy-ui-prod`: The Web frontend to the production Lemmy server.
 - `lemmy-dev`: The development Lemmy server.
 - `lemmy-ui-dev`: The Web frontend to the development Lemmy server.
+
+## Databases
+
+- For development, the database user is `lemmy_dev` and the Postgres database is
+  `lemmy_dev` on `these.awful.systems`. Use `sudo -u lemmy_dev psql` on that
+  host to access the database. 
+- For production, the database user is `lemmy` and the Postgres database is
+  `lemmy` on `more.awful.systems`. Use `sudo -u lemmy_dev psql` on that host to
+  access the database.
-- 
2.44.1