mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-03 06:06:05 -04:00
Only start censor background job after indices are created
This commit is contained in:
parent
52fe9788bc
commit
cc5f6eb608
2 changed files with 9 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue