diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-06-03 12:13:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-03 12:13:35 -0400 |
commit | 6b46c3eb3d526d903e1e4833b2e8ae9b73de8502 (patch) | |
tree | 30194c16643556879c2dc63e259e17d493755cf4 /synapse/_scripts | |
parent | Improve URL previews for some pages (#12951) (diff) | |
download | synapse-6b46c3eb3d526d903e1e4833b2e8ae9b73de8502.tar.xz |
Remove groups code from synapse_port_db. (#12899)
Diffstat (limited to 'synapse/_scripts')
-rwxr-xr-x | synapse/_scripts/synapse_port_db.py | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py index d7dfa92bd1..4939573f30 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py @@ -102,14 +102,6 @@ BOOLEAN_COLUMNS = { "devices": ["hidden"], "device_lists_outbound_pokes": ["sent"], "users_who_share_rooms": ["share_private"], - "groups": ["is_public"], - "group_rooms": ["is_public"], - "group_users": ["is_public", "is_admin"], - "group_summary_rooms": ["is_public"], - "group_room_categories": ["is_public"], - "group_summary_users": ["is_public"], - "group_roles": ["is_public"], - "local_group_membership": ["is_publicised", "is_admin"], "e2e_room_keys": ["is_verified"], "account_validity": ["email_sent"], "redactions": ["have_censored"], @@ -175,6 +167,21 @@ IGNORED_TABLES = { "ui_auth_sessions", "ui_auth_sessions_credentials", "ui_auth_sessions_ips", + # Groups/communities is no longer supported. + "group_attestations_remote", + "group_attestations_renewals", + "group_invites", + "group_roles", + "group_room_categories", + "group_rooms", + "group_summary_roles", + "group_summary_room_categories", + "group_summary_rooms", + "group_summary_users", + "group_users", + "groups", + "local_group_membership", + "local_group_updates", } |