summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-27 11:19:45 +0100
committerErik Johnston <erik@matrix.org>2016-09-27 11:19:48 +0100
commitadae348fdff4d8c3737d7e526200e015a0725a95 (patch)
tree55330e0506eabc79f1814b413f3bd2bd8d6bb0bf
parentMerge pull request #1140 from matrix-org/erikj/typing_fed_timeout (diff)
downloadsynapse-adae348fdff4d8c3737d7e526200e015a0725a95.tar.xz
Update port script with recently added tables
This also fixes a bug where the port script would explode when it
encountered the newly added boolean column
`public_room_list_stream.visibility`
-rwxr-xr-xscripts/synapse_port_db9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db
index 66c61b0198..2cb2eab68b 100755
--- a/scripts/synapse_port_db
+++ b/scripts/synapse_port_db
@@ -39,6 +39,7 @@ BOOLEAN_COLUMNS = {
     "event_edges": ["is_state"],
     "presence_list": ["accepted"],
     "presence_stream": ["currently_active"],
+    "public_room_list_stream": ["visibility"],
 }
 
 
@@ -71,6 +72,14 @@ APPEND_ONLY_TABLES = [
     "event_to_state_groups",
     "rejections",
     "event_search",
+    "presence_stream",
+    "push_rules_stream",
+    "current_state_resets",
+    "ex_outlier_stream",
+    "cache_invalidation_stream",
+    "public_room_list_stream",
+    "state_group_edges",
+    "stream_ordering_to_exterm",
 ]