status-go/protocol/encryption/migrations/sqlite/1636536507_add_index_bundles.up.sql
2021-11-15 10:17:25 +00:00

4 lines
347 B
SQL

CREATE INDEX encryption_bundles_expired_identity_installation_id_version on bundles (expired, identity, installation_id, version);
CREATE INDEX encryption_bundles_expired_identity_installation_id on bundles (identity, installation_id, version);
CREATE INDEX ratchet_info_v2_identity_installation_id on ratchet_info_v2 (identity, installation_id);