Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f3e5c2e

Browse files
clokepanoadragon453
authored andcommitted
Mark the shadow_banned column as boolean in synapse_port_db. (#8386)
1 parent 3f4a2a7 commit f3e5c2e

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

.buildkite/test_db.db

444 KB
Binary file not shown.

changelog.d/8386.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a bug introduced in v1.20.0 which caused the `synapse_port_db` script to fail.

scripts/synapse_port_db

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ BOOLEAN_COLUMNS = {
8989
"redactions": ["have_censored"],
9090
"room_stats_state": ["is_federatable"],
9191
"local_media_repository": ["safe_from_quarantine"],
92+
"users": ["shadow_banned"],
9293
}
9394

9495

0 commit comments

Comments
 (0)