Skip to content

Commit

Permalink
fix: gracefully handle unused index (#4196)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Nov 7, 2024
1 parent 57eb414 commit 3dbeb64
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
CREATE INDEX IF NOT EXISTS identity_credential_identifiers_identity_credential_id_idx
ON identity_credential_identifiers (identity_credential_id ASC);

DROP INDEX IF EXISTS identity_credential_identifiers_ici_nid_i_idx;
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
CREATE INDEX IF NOT EXISTS identity_credential_identifiers_ici_nid_i_idx
ON identity_credential_identifiers (identity_credential_id ASC, nid ASC, identifier ASC);

DROP INDEX IF EXISTS identity_credential_identifiers_identity_credential_id_idx;
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
CREATE INDEX identity_credential_identifiers_identity_credential_id_idx
ON identity_credential_identifiers (identity_credential_id ASC);

DROP INDEX identity_credential_identifiers_ici_nid_i_idx ON identity_credential_identifiers;
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
CREATE INDEX identity_credential_identifiers_ici_nid_i_idx
ON identity_credential_identifiers (identity_credential_id ASC, nid ASC, identifier ASC);

DROP INDEX identity_credential_identifiers_identity_credential_id_idx ON identity_credential_identifiers;

0 comments on commit 3dbeb64

Please sign in to comment.