From 8184ae8a09426e2f0698822eafbb2bd114b9d8a5 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 20 Feb 2019 23:11:21 +0100 Subject: [PATCH] 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 --- changelog.d/4680.bugfix | 3 +++ scripts/synapse_port_db | 1 + 2 files changed, 4 insertions(+) create mode 100644 changelog.d/4680.bugfix diff --git a/changelog.d/4680.bugfix b/changelog.d/4680.bugfix new file mode 100644 index 0000000000..4aad8ecde3 --- /dev/null +++ b/changelog.d/4680.bugfix @@ -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 diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db index 3c7b606323..2fa01d1a18 100755 --- a/scripts/synapse_port_db +++ b/scripts/synapse_port_db @@ -53,6 +53,7 @@ BOOLEAN_COLUMNS = { "group_summary_users": ["is_public"], "group_roles": ["is_public"], "local_group_membership": ["is_publicised", "is_admin"], + "e2e_room_keys": ["is_verified"], }