diff options
author | Erik Johnston <erik@matrix.org> | 2017-07-20 16:16:29 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-07-20 16:16:29 +0100 |
commit | 60a9a49f83f7ea7dc8f76ffaec17c9b42c3b19f7 (patch) | |
tree | b297766fcf14bd8208d7769b7449a32126ffc02b /scripts | |
parent | Fix port script for user directory tables (diff) | |
download | synapse-60a9a49f83f7ea7dc8f76ffaec17c9b42c3b19f7.tar.xz |
Extend comment
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/synapse_port_db | 3 |
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}, |