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
This commit is contained in:
Brendan Abolivier 2019-06-10 13:51:46 +01:00 committed by GitHub
commit 843dd714cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/5325.bugfix Normal file
View file

@ -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.

View file

@ -54,6 +54,7 @@ BOOLEAN_COLUMNS = {
"group_roles": ["is_public"], "group_roles": ["is_public"],
"local_group_membership": ["is_publicised", "is_admin"], "local_group_membership": ["is_publicised", "is_admin"],
"e2e_room_keys": ["is_verified"], "e2e_room_keys": ["is_verified"],
"account_validity": ["email_sent"],
} }