diff --git a/pkg/migrations/mls/20231023050806_init-schema.up.sql b/pkg/migrations/mls/20231023050806_init-schema.up.sql index b6aa90d5..7b2c54ca 100644 --- a/pkg/migrations/mls/20231023050806_init-schema.up.sql +++ b/pkg/migrations/mls/20231023050806_init-schema.up.sql @@ -33,7 +33,7 @@ CREATE INDEX idx_installations_revoked_at ON installations(revoked_at); --bun:split -- Adding indexes for the key_packages table -CREATE INDEX idx_key_packages_installation_id_not_is_last_resort_created_at ON key_packages( +CREATE INDEX idx_key_packages_installation_id_not_consumed_is_last_resort_created_at ON key_packages( installation_id, not_consumed, is_last_resort,