summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-08 16:36:16 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-08 16:36:16 +0100
commit9ee50ccdf2c241cfcf4a2de490305c3cfb4c6ace (patch)
tree84d077bb9cc9564f2cdf86d8f15c4dbbc453b82d
parentRemove obsolete functions for updating stats absolutely. (diff)
downloadsynapse-9ee50ccdf2c241cfcf4a2de490305c3cfb4c6ace.tar.xz
Fix stats_separated SQL
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/schema/delta/56/stats_separated.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/56/stats_separated.sql b/synapse/storage/schema/delta/56/stats_separated.sql
index 5fc584cede..0e80c9f967 100644
--- a/synapse/storage/schema/delta/56/stats_separated.sql
+++ b/synapse/storage/schema/delta/56/stats_separated.sql
@@ -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