status-go/protocol/encryption/migrations/sqlite/1636536507_add_index_bundle...

4 lines
347 B
MySQL
Raw Permalink Normal View History

2021-11-10 10:01:25 +00:00
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);