-
Notifications
You must be signed in to change notification settings - Fork 970
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: drop unused indices post index migration (#4201)
- Loading branch information
Showing
4 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
persistence/sql/migrations/sql/20241108105000000001_index_cleanup.autocommit.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CREATE INDEX IF NOT EXISTS identity_credential_identifiers_nid_ici_i_idx | ||
ON identity_credential_identifiers (nid ASC, identity_credential_id ASC, identifier ASC); | ||
|
||
CREATE INDEX IF NOT EXISTS identity_credential_identifiers_identity_credential_id_idx | ||
ON identity_credential_identifiers (identity_credential_id ASC); |
5 changes: 5 additions & 0 deletions
5
persistence/sql/migrations/sql/20241108105000000001_index_cleanup.autocommit.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- This index is replaced by identity_credential_identifiers_ici_nid_i_idx (included in the previous OEL release) | ||
DROP INDEX IF EXISTS identity_credential_identifiers_nid_ici_i_idx; | ||
|
||
-- This index is replaced by identity_credential_identifiers_ici_nid_i_idx (included in the previous OEL release) | ||
DROP INDEX IF EXISTS identity_credential_identifiers_identity_credential_id_idx; |
5 changes: 5 additions & 0 deletions
5
persistence/sql/migrations/sql/20241108105000000001_index_cleanup.mysql.autocommit.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CREATE INDEX identity_credential_identifiers_nid_ici_i_idx | ||
ON identity_credential_identifiers (nid ASC, identity_credential_id ASC, identifier ASC); | ||
|
||
CREATE INDEX identity_credential_identifiers_identity_credential_id_idx | ||
ON identity_credential_identifiers (identity_credential_id ASC); |
5 changes: 5 additions & 0 deletions
5
persistence/sql/migrations/sql/20241108105000000001_index_cleanup.mysql.autocommit.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- This index is replaced by identity_credential_identifiers_ici_nid_i_idx (included in the previous OEL release) | ||
DROP INDEX identity_credential_identifiers_nid_ici_i_idx ON identity_credential_identifiers; | ||
|
||
-- This index is replaced by identity_credential_identifiers_ici_nid_i_idx (included in the previous OEL release) | ||
DROP INDEX identity_credential_identifiers_identity_credential_id_idx ON identity_credential_identifiers; |