diff options
author | Bart Noordervliet <bart@mmvi.nl> | 2019-10-18 11:13:59 +0200 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-10-18 11:13:59 +0200 |
commit | dc4bec885df275d2973f500c1488baa6d9e25197 (patch) | |
tree | 0dfdd44b56e4a49a40391c5e516bee0c35ef7ffe | |
parent | Fix presence timeouts when synchrotron restarts. (#6212) (diff) | |
download | synapse-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.
-rw-r--r-- | changelog.d/6216.bugfix | 1 | ||||
-rwxr-xr-x | scripts/synapse_port_db | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/6216.bugfix b/changelog.d/6216.bugfix new file mode 100644 index 0000000000..5784e82d18 --- /dev/null +++ b/changelog.d/6216.bugfix @@ -0,0 +1 @@ +synapse_port_db: Add 2 additional BOOLEAN_COLUMNS to be able to convert from database schema v56. 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"], } |