Skip to content

Commit 6535414

Browse files
erikjohnstonMatMaul
authored andcommitted
Fix incorrect comment in new schema delta (element-hq#17936)
Added in element-hq#17912, was a bad copy and paste.
1 parent 003143c commit 6535414

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.d/17936.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix incorrect comment in new schema delta.

synapse/storage/schema/main/delta/88/04_current_state_delta_index.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
-- <https://www.gnu.org/licenses/agpl-3.0.html>.
1313

1414

15-
-- Add an index on (user_id, device_id, algorithm, ts_added_ms) on e2e_one_time_keys_json, so that OTKs can
16-
-- efficiently be issued in the same order they were uploaded.
15+
-- Add an index on `current_state_delta_stream(room_id, stream_id)` to allow
16+
-- efficient per-room lookups.
1717
INSERT INTO background_updates (ordering, update_name, progress_json) VALUES
1818
(8804, 'current_state_delta_stream_room_index', '{}');

0 commit comments

Comments
 (0)