summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-20 16:16:29 +0100
committerErik Johnston <erik@matrix.org>2017-07-20 16:16:29 +0100
commit60a9a49f83f7ea7dc8f76ffaec17c9b42c3b19f7 (patch)
treeb297766fcf14bd8208d7769b7449a32126ffc02b /scripts
parentFix port script for user directory tables (diff)
downloadsynapse-60a9a49f83f7ea7dc8f76ffaec17c9b42c3b19f7.tar.xz
Extend comment
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/synapse_port_db3
1 files changed, 2 insertions, 1 deletions
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},