diff --git a/persistence/sql/migrations/sql/20230322144139000001_missing_login_index.down.sql b/persistence/sql/migrations/sql/20230322144139000001_missing_login_index.down.sql new file mode 100644 index 000000000000..1041896fa728 --- /dev/null +++ b/persistence/sql/migrations/sql/20230322144139000001_missing_login_index.down.sql @@ -0,0 +1 @@ +DROP INDEX identity_credential_identifiers_nid_i_ici_idx; diff --git a/persistence/sql/migrations/sql/20230322144139000001_missing_login_index.mysql.down.sql b/persistence/sql/migrations/sql/20230322144139000001_missing_login_index.mysql.down.sql new file mode 100644 index 000000000000..ac444a941ab2 --- /dev/null +++ b/persistence/sql/migrations/sql/20230322144139000001_missing_login_index.mysql.down.sql @@ -0,0 +1 @@ +DROP INDEX identity_credential_identifiers_nid_i_ici_idx ON identity_credential_identifiers; diff --git a/persistence/sql/migrations/sql/20230322144139000001_missing_login_index.up.sql b/persistence/sql/migrations/sql/20230322144139000001_missing_login_index.up.sql new file mode 100644 index 000000000000..a2f1f748dffa --- /dev/null +++ b/persistence/sql/migrations/sql/20230322144139000001_missing_login_index.up.sql @@ -0,0 +1 @@ +CREATE INDEX identity_credential_identifiers_nid_i_ici_idx ON identity_credential_identifiers (nid, identifier, identity_credential_id);