mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
c66a06ac6b
This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage.
5 lines
174 B
SQL
5 lines
174 B
SQL
CREATE INDEX events_order ON events (topological_ordering, stream_ordering);
|
|
CREATE INDEX events_order_room ON events (
|
|
room_id, topological_ordering, stream_ordering
|
|
);
|