-
Notifications
You must be signed in to change notification settings - Fork 826
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MySQL DB migrations for removing old alias_zid indexes and adding…
… new one on aliasZid and identity_zone_id
- Loading branch information
1 parent
fe4a35c
commit 086f1cb
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...c/main/resources/org/cloudfoundry/identity/uaa/db/mysql/V4_110__Drop_AliasZid_Indexes.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 @@ | ||
DROP INDEX identity_provider_alias_zid__idx ON identity_provider LOCK = SHARED; | ||
DROP INDEX users_alias_zid__idx ON users LOCK = SHARED; |
2 changes: 2 additions & 0 deletions
2
...rces/org/cloudfoundry/identity/uaa/db/mysql/V4_111__Create_AliasZid_And_IdzId_Indexes.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_provider_alias_zid_idz_id__idx on identity_provider (alias_zid, identity_zone_id) LOCK = SHARED; | ||
CREATE INDEX users_alias_zid_idz_id__idx on users (alias_zid, identity_zone_id) LOCK = SHARED; |