mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-28 22:19:29 -04:00
Add background update for current_state_events.membership column
This commit is contained in:
parent
6de09e07a6
commit
c618a5d348
2 changed files with 54 additions and 0 deletions
|
@ -17,3 +17,6 @@
|
|||
-- room_memberships, which can be surprisingly costly (we do such queries
|
||||
-- very frequently).
|
||||
ALTER TABLE current_state_events ADD membership TEXT;
|
||||
|
||||
INSERT INTO background_updates (update_name, progress_json) VALUES
|
||||
('current_state_events_membership', '{}');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue