Mark the shadow_banned column as boolean in synapse_port_db. (#8386)

release-v1.20.1
Patrick Cloke 2020-09-24 08:13:55 -04:00 committed by Andrew Morgan
parent 3f4a2a7064
commit f3e5c2e702
3 changed files with 2 additions and 0 deletions

Binary file not shown.

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

@ -0,0 +1 @@
Fix a bug introduced in v1.20.0 which caused the `synapse_port_db` script to fail.

View File

@ -89,6 +89,7 @@ BOOLEAN_COLUMNS = {
"redactions": ["have_censored"],
"room_stats_state": ["is_federatable"],
"local_media_repository": ["safe_from_quarantine"],
"users": ["shadow_banned"],
}