0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 01:23:51 +01:00

Consider e2e_room_keys.is_verified column as boolean

This column was considered as an int, crashing the whole
migration process

Signed-off-by: Eric <eric@pedr0.net>
This commit is contained in:
Eric 2019-02-20 23:11:21 +01:00
parent 82fca11fc1
commit 8184ae8a09
2 changed files with 4 additions and 0 deletions

3
changelog.d/4680.bugfix Normal file
View file

@ -0,0 +1,3 @@
Fix an issue in the database migration script where the
`e2e_room_keys.is_verified` column wasn't considered as
a boolean

View file

@ -53,6 +53,7 @@ BOOLEAN_COLUMNS = {
"group_summary_users": ["is_public"], "group_summary_users": ["is_public"],
"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"],
} }