diff --git a/persistence/sql/migrations/sql/20241106142200000002_identities.autocommit.down.sql b/persistence/sql/migrations/sql/20241106142200000002_identities.autocommit.down.sql index 407d5f476304..d6b71451755d 100644 --- a/persistence/sql/migrations/sql/20241106142200000002_identities.autocommit.down.sql +++ b/persistence/sql/migrations/sql/20241106142200000002_identities.autocommit.down.sql @@ -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; diff --git a/persistence/sql/migrations/sql/20241106142200000002_identities.autocommit.up.sql b/persistence/sql/migrations/sql/20241106142200000002_identities.autocommit.up.sql index 6e0cb618c7b7..75f08549f757 100644 --- a/persistence/sql/migrations/sql/20241106142200000002_identities.autocommit.up.sql +++ b/persistence/sql/migrations/sql/20241106142200000002_identities.autocommit.up.sql @@ -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; diff --git a/persistence/sql/migrations/sql/20241106142200000002_identities.mysql.autocommit.down.sql b/persistence/sql/migrations/sql/20241106142200000002_identities.mysql.autocommit.down.sql index 4f0903c917e5..1eef66d657ce 100644 --- a/persistence/sql/migrations/sql/20241106142200000002_identities.mysql.autocommit.down.sql +++ b/persistence/sql/migrations/sql/20241106142200000002_identities.mysql.autocommit.down.sql @@ -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; diff --git a/persistence/sql/migrations/sql/20241106142200000002_identities.mysql.autocommit.up.sql b/persistence/sql/migrations/sql/20241106142200000002_identities.mysql.autocommit.up.sql index aee0879d44ea..bd4b293aa682 100644 --- a/persistence/sql/migrations/sql/20241106142200000002_identities.mysql.autocommit.up.sql +++ b/persistence/sql/migrations/sql/20241106142200000002_identities.mysql.autocommit.up.sql @@ -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;