-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No more CHAR datatypes, only varchar
- Loading branch information
Showing
4 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
...rc/main/resources/org/cloudfoundry/identity/uaa/db/hsqldb/V4_112__Users_id_to_Varchar.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 +1,2 @@ | ||
ALTER TABLE users ALTER COLUMN id SET DATA TYPE VARCHAR(36); | ||
ALTER TABLE users ALTER COLUMN id SET DATA TYPE VARCHAR(36); | ||
ALTER TABLE oauth_client_details ALTER COLUMN created_by SET DATA TYPE VARCHAR(36); |
3 changes: 2 additions & 1 deletion
3
...src/main/resources/org/cloudfoundry/identity/uaa/db/mysql/V4_112__Users_id_to_Varchar.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 +1,2 @@ | ||
ALTER TABLE users MODIFY id VARCHAR(36) NOT NULL; | ||
ALTER TABLE users MODIFY id VARCHAR(36) NOT NULL; | ||
ALTER TABLE oauth_client_details MODIFY created_by VARCHAR(36) NOT NULL; |
3 changes: 2 additions & 1 deletion
3
...ain/resources/org/cloudfoundry/identity/uaa/db/postgresql/V4_112__Users_id_to_Varchar.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 +1,2 @@ | ||
ALTER TABLE users ALTER COLUMN id TYPE VARCHAR(36); | ||
ALTER TABLE users ALTER COLUMN id TYPE VARCHAR(36); | ||
ALTER TABLE oauth_client_details ALTER COLUMN created_by TYPE VARCHAR(36); |
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