Skip to content

Commit 8580ab6

Browse files
authored
Add delayed_events table to boolean column port (#19155)
The `delayed_events` table has a boolean column that should be handled by the SQLite->PostgreSQL migration script.
1 parent 077a6f7 commit 8580ab6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.d/19155.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Let the SQLite-to-PostgreSQL migration script correctly migrate a boolean column in the `delayed_events` table.

synapse/_scripts/synapse_port_db.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
BOOLEAN_COLUMNS = {
108108
"access_tokens": ["used"],
109109
"account_validity": ["email_sent"],
110+
"delayed_events": ["is_processed"],
110111
"device_lists_changes_in_room": ["converted_to_destinations"],
111112
"device_lists_outbound_pokes": ["sent"],
112113
"devices": ["hidden"],

0 commit comments

Comments
 (0)