diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-10 11:39:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-12-10 11:39:31 +0000 |
commit | cc5f6eb6083470f3980f93f937c6251be5e971dd (patch) | |
tree | 5a05651d2eb96f44a5bd6efcc2c7b485b50a8508 /synapse/storage/data_stores/main/schema | |
parent | Newsfile (diff) | |
download | synapse-cc5f6eb6083470f3980f93f937c6251be5e971dd.tar.xz |
Only start censor background job after indices are created
Diffstat (limited to 'synapse/storage/data_stores/main/schema')
-rw-r--r-- | synapse/storage/data_stores/main/schema/delta/56/redaction_censor2.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/data_stores/main/schema/delta/56/redaction_censor2.sql b/synapse/storage/data_stores/main/schema/delta/56/redaction_censor2.sql index 49ce35d794..6c36bd5468 100644 --- a/synapse/storage/data_stores/main/schema/delta/56/redaction_censor2.sql +++ b/synapse/storage/data_stores/main/schema/delta/56/redaction_censor2.sql @@ -18,5 +18,5 @@ ALTER TABLE redactions ADD COLUMN received_ts BIGINT; INSERT INTO background_updates (update_name, progress_json) VALUES ('redactions_received_ts', '{}'); -INSERT INTO background_updates (update_name, progress_json) VALUES - ('redactions_have_censored_ts_idx', '{}'); +INSERT INTO background_updates (update_name, progress_json, depends_on) VALUES + ('redactions_have_censored_ts_idx', '{}', 'redactions_have_censored_idx'); |