Remove groups code from synapse_port_db. (#12899)

This commit is contained in:
Patrick Cloke 2022-06-03 12:13:35 -04:00 committed by GitHub
parent 01df5bacac
commit 6b46c3eb3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 15 deletions

View file

@ -29,11 +29,6 @@ class GroupServerStore(SQLBaseStore):
db_conn: LoggingDatabaseConnection,
hs: "HomeServer",
):
database.updates.register_background_index_update(
update_name="local_group_updates_index",
index_name="local_group_updates_stream_id_index",
table="local_group_updates",
columns=("stream_id",),
unique=True,
)
# Register a legacy groups background update as a no-op.
database.updates.register_noop_background_update("local_group_updates_index")
super().__init__(database, db_conn, hs)