summary refs log tree commit diff
path: root/scripts/synapse_port_db
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2016-09-27 11:54:51 +0100
committerGitHub <noreply@github.com>2016-09-27 11:54:51 +0100
commit36d621201b664b801791738965b8c601ec4551b6 (patch)
treec982db2033afcc6157860aa14e0c57a21ac9f260 /scripts/synapse_port_db
parentMerge pull request #1144 from matrix-org/erikj/sqlite_state_perf (diff)
parentUpdate port script with recently added tables (diff)
downloadsynapse-36d621201b664b801791738965b8c601ec4551b6.tar.xz
Merge pull request #1146 from matrix-org/erikj/port_script_fix
Update port script with recently added tables
Diffstat (limited to 'scripts/synapse_port_db')
-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",
 ]