From 60a9a49f83f7ea7dc8f76ffaec17c9b42c3b19f7 Mon Sep 17 00:00:00 2001
From: Erik Johnston <erik@matrix.org>
Date: Thu, 20 Jul 2017 16:16:29 +0100
Subject: [PATCH] Extend comment

---
 scripts/synapse_port_db | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db
index 8da8a3b1d2..bc167b59af 100755
--- a/scripts/synapse_port_db
+++ b/scripts/synapse_port_db
@@ -262,7 +262,8 @@ class Porter(object):
             return
 
         if table == "user_directory_stream_pos":
-            # We need to make sure there is a single row, `(X, null)`
+            # We need to make sure there is a single row, `(X, null), as that is
+            # what synapse expects to be there.
             yield self.postgres_store._simple_insert(
                 table=table,
                 values={"stream_id": None},
-- 
GitLab