mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
2 lines
268 B
SQL
2 lines
268 B
SQL
-- v18 (compatible with v15+): Add an index to the megolm_inbound_session table to make finding sessions to backup faster
|
|
CREATE INDEX crypto_megolm_inbound_session_backup_idx ON crypto_megolm_inbound_session(account_id, key_backup_version) WHERE session IS NOT NULL;
|