diff options
author | Erik Johnston <erik@matrix.org> | 2019-07-17 15:50:08 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-07-18 14:16:01 +0100 |
commit | c618a5d348295b69885953cd1970fe1f339a4e9f (patch) | |
tree | 12f6cc115edf0524351c2787cde878263ecdd577 /synapse/storage/schema | |
parent | Add membership column to current_state_events table. (diff) | |
download | synapse-c618a5d348295b69885953cd1970fe1f339a4e9f.tar.xz |
Add background update for current_state_events.membership column
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/delta/56/current_state_events_membership.sql | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/56/current_state_events_membership.sql b/synapse/storage/schema/delta/56/current_state_events_membership.sql index 5c754651cb..ec7ad5bae2 100644 --- a/synapse/storage/schema/delta/56/current_state_events_membership.sql +++ b/synapse/storage/schema/delta/56/current_state_events_membership.sql @@ -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', '{}'); |