-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Correcting mysql 5 backup to mysql 8 restore to align collation …
…shared in both mysql 5 and 8. [#184908751] Co-authored-by: Hongchol Sinn <hsinn@vmware.com>
- Loading branch information
Showing
3 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...ources/org/cloudfoundry/identity/uaa/db/hsqldb/V4_103__mysql_specific_align_collation.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 @@ | ||
--NOOP |
4 changes: 4 additions & 0 deletions
4
...sources/org/cloudfoundry/identity/uaa/db/mysql/V4_103__mysql_specific_align_collation.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,4 @@ | ||
SET foreign_key_checks = 0; | ||
ALTER TABLE SPRING_SESSION MODIFY COLUMN PRIMARY_ID char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci; | ||
ALTER TABLE SPRING_SESSION_ATTRIBUTES MODIFY COLUMN SESSION_PRIMARY_ID char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci; | ||
SET foreign_key_checks = 1; |
1 change: 1 addition & 0 deletions
1
...es/org/cloudfoundry/identity/uaa/db/postgresql/V4_103__mysql_specific_align_collation.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 @@ | ||
--NOOP |