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

pull/8401/head
Patrick Cloke 2020-09-24 08:13:55 -04:00 committed by GitHub
parent 2983049a77
commit 13099ae431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"],
}