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.
This commit is contained in:
Andrew Ferrazzutti 2025-11-10 07:17:42 -05:00 committed by GitHub
parent 077a6f7e63
commit 8580ab60c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
changelog.d/19155.bugfix Normal file
View File

@ -0,0 +1 @@
Let the SQLite-to-PostgreSQL migration script correctly migrate a boolean column in the `delayed_events` table.

View File

@ -107,6 +107,7 @@ logger = logging.getLogger("synapse_port_db")
BOOLEAN_COLUMNS = {
"access_tokens": ["used"],
"account_validity": ["email_sent"],
"delayed_events": ["is_processed"],
"device_lists_changes_in_room": ["converted_to_destinations"],
"device_lists_outbound_pokes": ["sent"],
"devices": ["hidden"],