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
pull/5376/head
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"],
"local_group_membership": ["is_publicised", "is_admin"],
"e2e_room_keys": ["is_verified"],
"account_validity": ["email_sent"],
}