diff options
author | Erik Johnston <erik@matrix.org> | 2023-07-05 10:43:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-05 09:43:19 +0000 |
commit | 95a96b21eb98c638ae36814ec74ba468226e373c (patch) | |
tree | 96dd63eb54af01b3ced5a3611fa4600f4788d202 /synapse/_scripts | |
parent | use Image.LANCZOS instead of Image.ANTIALIAS for thumbnail resize (#15876) (diff) | |
download | synapse-95a96b21eb98c638ae36814ec74ba468226e373c.tar.xz |
Add foreign key constraint to `event_forward_extremities`. (#15751)
Diffstat (limited to 'synapse/_scripts')
-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 a803ada8ad..e126a2e0c5 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py @@ -61,6 +61,7 @@ from synapse.storage.databases.main.deviceinbox import DeviceInboxBackgroundUpda from synapse.storage.databases.main.devices import DeviceBackgroundUpdateStore from synapse.storage.databases.main.e2e_room_keys import EndToEndRoomKeyBackgroundStore from synapse.storage.databases.main.end_to_end_keys import EndToEndKeyBackgroundStore +from synapse.storage.databases.main.event_federation import EventFederationWorkerStore from synapse.storage.databases.main.event_push_actions import EventPushActionsStore from synapse.storage.databases.main.events_bg_updates import ( EventsBackgroundUpdatesStore, @@ -239,6 +240,7 @@ class Store( PresenceBackgroundUpdateStore, ReceiptsBackgroundUpdateStore, RelationsWorkerStore, + EventFederationWorkerStore, ): def execute(self, f: Callable[..., R], *args: Any, **kwargs: Any) -> Awaitable[R]: return self.db_pool.runInteraction(f.__name__, f, *args, **kwargs) |