-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto/sqlstore: add index to crypto_olm_sessions table to speed up l…
…ookups by sender_key (#323) Co-authored-by: Tulir Asokan <[email protected]>
- Loading branch information
1 parent
f7e5f0a
commit 4b970e0
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- v16 (compatible with v15+): Add index to crypto_olm_sessions to speedup lookups by sender_key | ||
CREATE INDEX crypto_olm_session_sender_key_idx ON crypto_olm_session (account_id, sender_key); |