From bd821d9d60cfdeecbe5541a582e8692eea586d12 Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:09:28 -0700 Subject: [PATCH] Fix index name --- pkg/migrations/mls/20231023050806_init-schema.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,