This commit is contained in:
Eric Eastwood 2022-09-12 18:23:13 -05:00
parent 8871e3d635
commit 2cd2813179

View file

@ -210,7 +210,7 @@ scoped, we can reduce the possibility of a hash collision. When scoping
(`PRIMARY KEY (room_id, event_id)`) and lookups should be done through the pair
`(room_id, event_id)`. Another benefit of scoping `event_ids` to the room is
that it makes it very easy to find and clean up everything in a room when it
needs to be purged (no need to sub-`select` query or join from the `events`
needs to be purged (no need to use sub-`select` query or join from the `events`
table).
`event_id` global uniqueness has had a lot debate in places like