-
-
Notifications
You must be signed in to change notification settings - Fork 964
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
6 additions
and
20 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
persistence/sql/migrations/sql/20241106142200000001_identities.autocommit.cockroach.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,2 @@ | ||
CREATE INDEX identity_credential_identifiers_nid_ici_idx | ||
ON identity_credentials_identifiers (nid ASC, identity_credential_id ASC) STORING (identifier); |
6 changes: 1 addition & 5 deletions
6
persistence/sql/migrations/sql/20241106142200000001_identities.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 |
---|---|---|
@@ -1,5 +1 @@ | ||
CREATE INDEX IF NOT EXISTS identity_recovery_addresses_identity_id_idx ON identity_recovery_addresses(identity_id ASC); | ||
CREATE INDEX IF NOT EXISTS identity_verifiable_addresses_identity_id_idx ON identity_verifiable_addresses (identity_id ASC); | ||
|
||
DROP INDEX IF EXISTS identity_recovery_addresses_identity_id_id_idx; | ||
DROP INDEX IF EXISTS identity_verifiable_addresses_identity_id_id_idx; | ||
DROP INDEX identity_credential_identifiers_nid_ici_idx; |
6 changes: 1 addition & 5 deletions
6
persistence/sql/migrations/sql/20241106142200000001_identities.autocommit.mysql.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 |
---|---|---|
@@ -1,5 +1 @@ | ||
CREATE INDEX identity_recovery_addresses_identity_id_idx ON identity_recovery_addresses (identity_id ASC); | ||
CREATE INDEX identity_verifiable_addresses_identity_id_idx ON identity_verifiable_addresses (identity_id ASC); | ||
|
||
DROP INDEX identity_recovery_addresses_identity_id_id_idx ON identity_recovery_addresses; | ||
DROP INDEX identity_verifiable_addresses_identity_id_id_idx ON identity_verifiable_addresses; | ||
DROP INDEX identity_credential_identifiers_nid_ici_idx ON identity_credentials_identifiers; |
5 changes: 0 additions & 5 deletions
5
persistence/sql/migrations/sql/20241106142200000001_identities.autocommit.mysql.up.sql
This file was deleted.
Oops, something went wrong.
7 changes: 2 additions & 5 deletions
7
persistence/sql/migrations/sql/20241106142200000001_identities.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 |
---|---|---|
@@ -1,5 +1,2 @@ | ||
CREATE INDEX IF NOT EXISTS identity_recovery_addresses_identity_id_id_idx ON identity_recovery_addresses(identity_id ASC, id ASC); | ||
CREATE INDEX IF NOT EXISTS identity_verifiable_addresses_identity_id_id_idx ON identity_verifiable_addresses (identity_id ASC, id ASC); | ||
|
||
DROP INDEX IF EXISTS identity_recovery_addresses_identity_id_idx; | ||
DROP INDEX IF EXISTS identity_verifiable_addresses_identity_id_idx; | ||
CREATE INDEX identity_credential_identifiers_nid_ici_idx | ||
ON identity_credentials_identifiers (nid ASC, identity_credential_id AS); |