mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
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:
commit
843dd714cb
2 changed files with 2 additions and 0 deletions
1
changelog.d/5325.bugfix
Normal file
1
changelog.d/5325.bugfix
Normal 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.
|
|
@ -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"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue