summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-10 13:51:46 +0100
committerGitHub <noreply@github.com>2019-06-10 13:51:46 +0100
commit843dd714cb4b26c835f7b9a8da4cd0bf57255587 (patch)
tree9a2ae37c7902201102c874132fdcfda6b94d8605
parentMerge pull request #5363 from matrix-org/babolivier/account_validity_send_mai... (diff)
parentRewrite changelog (diff)
downloadsynapse-843dd714cb4b26c835f7b9a8da4cd0bf57255587.tar.xz
Merge pull request #5325 from matrix-org/babolivier/port_db_account_validity
Add account_validity's email_sent column to the list of boolean columns in synapse_port_db
-rw-r--r--changelog.d/5325.bugfix1
-rwxr-xr-xscripts/synapse_port_db1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/5325.bugfix b/changelog.d/5325.bugfix
new file mode 100644
index 0000000000..b9413388f5
--- /dev/null
+++ b/changelog.d/5325.bugfix
@@ -0,0 +1 @@
+Fix a bug where running synapse_port_db would cause the account validity feature to fail because it didn't set the type of the email_sent column to boolean.
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db
index 41be9c9220..b6ba19c776 100755
--- a/scripts/synapse_port_db
+++ b/scripts/synapse_port_db
@@ -54,6 +54,7 @@ BOOLEAN_COLUMNS = {
     "group_roles": ["is_public"],
     "local_group_membership": ["is_publicised", "is_admin"],
     "e2e_room_keys": ["is_verified"],
+    "account_validity": ["email_sent"],
 }