6c57003d17
This patch adds an index on `events.event_id` and on `events.room_id` so that queries on this column are faster. It mostly happens for the `Deduplicator`, which runs for every backwards pagination or sync. This patch also updates the query in `filter_duplicated_events` to sort event by their `chunk_id` and `position` so that the results are constant, it helps when testing.
The file is empty.