diff options
author | Eric Eastwood <eric.eastwood@beta.gouv.fr> | 2024-08-06 15:30:51 -0500 |
---|---|---|
committer | Eric Eastwood <eric.eastwood@beta.gouv.fr> | 2024-08-06 15:30:51 -0500 |
commit | f96d0c36a3b07cc91d483c81cdf2bbeb0b407d56 (patch) | |
tree | fc41e2201494dd14fc913d2ac884f0cca259f3a8 | |
parent | Fill in `sliding_sync_non_join_memberships` when current state changes (diff) | |
download | synapse-f96d0c36a3b07cc91d483c81cdf2bbeb0b407d56.tar.xz |
Special treatment for boolean columns
See https://github.com/element-hq/synapse/blob/1dfa59b238cee0dc62163588cc9481896c288979/docs/development/database_schema.md#boolean-columns
-rwxr-xr-x | synapse/_scripts/synapse_port_db.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py index 5c6db8118f..95c6783905 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py @@ -129,6 +129,8 @@ BOOLEAN_COLUMNS = { "remote_media_cache": ["authenticated"], "room_stats_state": ["is_federatable"], "rooms": ["is_public", "has_auth_chain_index"], + "sliding_sync_joined_rooms": ["is_encrypted"], + "sliding_sync_non_join_memberships": ["is_encrypted"], "users": ["shadow_banned", "approved", "locked", "suspended"], "un_partial_stated_event_stream": ["rejection_status_changed"], "users_who_share_rooms": ["share_private"], |