summary refs log tree commit diff
path: root/scripts/synapse_port_db
diff options
context:
space:
mode:
authorBart Noordervliet <bart@mmvi.nl>2019-10-18 11:13:59 +0200
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-10-18 11:13:59 +0200
commitdc4bec885df275d2973f500c1488baa6d9e25197 (patch)
tree0dfdd44b56e4a49a40391c5e516bee0c35ef7ffe /scripts/synapse_port_db
parentFix presence timeouts when synchrotron restarts. (#6212) (diff)
downloadsynapse-dc4bec885df275d2973f500c1488baa6d9e25197.tar.xz
Add missing BOOLEAN_COLUMNs to synapse_port_db (#6216)
Small fix to synapse_port_db to be able to convert from database schema v56.
Diffstat (limited to 'scripts/synapse_port_db')
-rwxr-xr-xscripts/synapse_port_db2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db
index b6ba19c776..3f942abdb6 100755
--- a/scripts/synapse_port_db
+++ b/scripts/synapse_port_db
@@ -55,6 +55,8 @@ BOOLEAN_COLUMNS = {
     "local_group_membership": ["is_publicised", "is_admin"],
     "e2e_room_keys": ["is_verified"],
     "account_validity": ["email_sent"],
+    "redactions": ["have_censored"],
+    "room_stats_state": ["is_federatable"],
 }