Fix stats_separated SQL

Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
This commit is contained in:
Olivier Wilkinson (reivilibre) 2019-08-08 16:36:16 +01:00
parent 69234072d3
commit 9ee50ccdf2

View file

@ -168,7 +168,7 @@ CREATE INDEX IF NOT EXISTS user_stats_historical_end_ts ON user_stats_historical
-- Set up staging tables
-- we depend on current_state_events_membership because this is used
-- in our counting.
INSERT INTO background_updates (update_name, progress_json) VALUES
INSERT INTO background_updates (update_name, progress_json, depends_on) VALUES
('populate_stats_prepare', '{}', 'current_state_events_membership');
-- Run through each room and update stats