summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-09-24 08:13:55 -0400
committerAndrew Morgan <andrew@amorgan.xyz>2020-09-24 16:24:24 +0100
commitf3e5c2e702fb2bb5c59d354b92dec3a46f4dc962 (patch)
tree84da5fe0a3bc5ed234d1ee9852eaff31a1cc3917
parentHotfix: disable autoescape by default when rendering Jinja2 templates (#8394) (diff)
downloadsynapse-f3e5c2e702fb2bb5c59d354b92dec3a46f4dc962.tar.xz
Mark the shadow_banned column as boolean in synapse_port_db. (#8386)
-rw-r--r--.buildkite/test_db.dbbin18825216 -> 19279872 bytes
-rw-r--r--changelog.d/8386.bugfix1
-rwxr-xr-xscripts/synapse_port_db1
3 files changed, 2 insertions, 0 deletions
diff --git a/.buildkite/test_db.db b/.buildkite/test_db.db
index f20567ba73..361369a581 100644
--- a/.buildkite/test_db.db
+++ b/.buildkite/test_db.db
Binary files differdiff --git a/changelog.d/8386.bugfix b/changelog.d/8386.bugfix
new file mode 100644
index 0000000000..24983a1e95
--- /dev/null
+++ b/changelog.d/8386.bugfix
@@ -0,0 +1 @@
+Fix a bug introduced in v1.20.0 which caused the `synapse_port_db` script to fail.
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db
index a34bdf1830..ecca8b6e8f 100755
--- a/scripts/synapse_port_db
+++ b/scripts/synapse_port_db
@@ -89,6 +89,7 @@ BOOLEAN_COLUMNS = {
     "redactions": ["have_censored"],
     "room_stats_state": ["is_federatable"],
     "local_media_repository": ["safe_from_quarantine"],
+    "users": ["shadow_banned"],
 }