diff options
author | H. Shay <hillerys@element.io> | 2023-06-05 13:50:24 -0700 |
---|---|---|
committer | H. Shay <hillerys@element.io> | 2023-06-05 13:50:24 -0700 |
commit | a317ccbc7a6922d0500f664db6a3b3c82fb5c5f4 (patch) | |
tree | cb8c27b4aff03540fb92690623eec0839b38f52f | |
parent | add triggers to `events_stream_ordering` columns in bg job and make this job ... (diff) | |
download | synapse-a317ccbc7a6922d0500f664db6a3b3c82fb5c5f4.tar.xz |
make adding indexes to `event_stream_ordering` columns bg job depend on `add_event_stream_ordering` bg job
-rw-r--r-- | synapse/storage/schema/main/delta/77/14bg_indices_event_stream_ordering.sql | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/storage/schema/main/delta/77/14bg_indices_event_stream_ordering.sql b/synapse/storage/schema/main/delta/77/14bg_indices_event_stream_ordering.sql index ec8cd522ec..9494a71251 100644 --- a/synapse/storage/schema/main/delta/77/14bg_indices_event_stream_ordering.sql +++ b/synapse/storage/schema/main/delta/77/14bg_indices_event_stream_ordering.sql @@ -13,8 +13,8 @@ * limitations under the License. */ -INSERT INTO background_updates (ordering, update_name, progress_json) +INSERT INTO background_updates (ordering, update_name, progress_json, depends_on) VALUES - (7714, 'current_state_events_stream_ordering_idx', '{}'), - (7714, 'local_current_membership_stream_ordering_idx', '{}'), - (7714, 'room_memberships_stream_ordering_idx', '{}'); + (7714, 'current_state_events_stream_ordering_idx', '{}', 'add_event_stream_ordering'), + (7714, 'local_current_membership_stream_ordering_idx', '{}', 'add_event_stream_ordering'), + (7714, 'room_memberships_stream_ordering_idx', '{}', 'add_event_stream_ordering'); |