mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 20:09:23 -05:00
Add stream_id index
This commit is contained in:
parent
bd1236c0ee
commit
ac78e60de6
@ -33,6 +33,10 @@ CREATE TABLE IF NOT EXISTS receipts_linearized (
|
|||||||
event_id TEXT NOT NULL
|
event_id TEXT NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE INDEX receipts_linearized_room_tuple ON receipts_graph(
|
CREATE INDEX receipts_linearized_room_tuple ON receipts_linearized(
|
||||||
room_id, receipt_type, user_id
|
room_id, receipt_type, user_id
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE INDEX receipts_linearized_id ON receipts_linearized(
|
||||||
|
stream_id
|
||||||
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user