From ff22672fd6b805975e703782f02a8bd2243ca23d Mon Sep 17 00:00:00 2001
From: Michael Kaye <1917473+michaelkaye@users.noreply.github.com>
Date: Thu, 23 Jul 2020 12:48:49 +0100
Subject: [PATCH] Reorder database docs to promote postgresql. (#7933)

---
 README.rst           | 10 +++++-----
 changelog.d/7933.doc |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)
 create mode 100644 changelog.d/7933.doc

diff --git a/README.rst b/README.rst
index 38376e23c..f7116b348 100644
--- a/README.rst
+++ b/README.rst
@@ -188,12 +188,8 @@ Using PostgreSQL
 ================
 
 Synapse offers two database engines:
- * `SQLite <https://sqlite.org/>`_
  * `PostgreSQL <https://www.postgresql.org>`_
-
-By default Synapse uses SQLite in and doing so trades performance for convenience.
-SQLite is only recommended in Synapse for testing purposes or for servers with
-light workloads.
+ * `SQLite <https://sqlite.org/>`_
 
 Almost all installations should opt to use PostgreSQL. Advantages include:
 
@@ -207,6 +203,10 @@ Almost all installations should opt to use PostgreSQL. Advantages include:
 For information on how to install and use PostgreSQL, please see
 `docs/postgres.md <docs/postgres.md>`_.
 
+By default Synapse uses SQLite and in doing so trades performance for convenience.
+SQLite is only recommended in Synapse for testing purposes or for servers with
+light workloads.
+
 .. _reverse-proxy:
 
 Using a reverse proxy with Synapse
diff --git a/changelog.d/7933.doc b/changelog.d/7933.doc
new file mode 100644
index 000000000..7022fd578
--- /dev/null
+++ b/changelog.d/7933.doc
@@ -0,0 +1 @@
+Reorder database paragraphs to promote postgres over sqlite.