Add missing BOOLEAN_COLUMNs to synapse_port_db (#6216)

Small fix to synapse_port_db to be able to convert from database schema v56.
This commit is contained in:
Bart Noordervliet 2019-10-18 11:13:59 +02:00 committed by Richard van der Hoff
parent 5859a5c569
commit dc4bec885d
2 changed files with 3 additions and 0 deletions

1
changelog.d/6216.bugfix Normal file
View File

@ -0,0 +1 @@
synapse_port_db: Add 2 additional BOOLEAN_COLUMNS to be able to convert from database schema v56.

View File

@ -55,6 +55,8 @@ BOOLEAN_COLUMNS = {
"local_group_membership": ["is_publicised", "is_admin"], "local_group_membership": ["is_publicised", "is_admin"],
"e2e_room_keys": ["is_verified"], "e2e_room_keys": ["is_verified"],
"account_validity": ["email_sent"], "account_validity": ["email_sent"],
"redactions": ["have_censored"],
"room_stats_state": ["is_federatable"],
} }