Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.5.x] fix: change field size for client #5276

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Change client column from 64 to 255 characters.
databaseChangeLog:
- changeSet:
id: 4.2.27-change-client-column-size-scope-approval-new-field # remove index introduced in 4.5.0
id: 4.2.27-change-client-column-size-scope-approval-remove-index # remove index introduced in 4.5.0
author: GraviteeSource Team
dbms: mssql
onError: MARK_RAN
preConditions:
- onFail: MARK_RAN
Expand Down Expand Up @@ -180,4 +179,4 @@ databaseChangeLog:
name: subject
indexName: idx_refresh_tokens_domain_client_subject
tableName: refresh_tokens
unique: false
unique: false
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ databaseChangeLog:
name: domain
- column:
name: client_id
- column:
name: user_id
- column:
name: user_source
- column:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,21 @@ databaseChangeLog:
- changeSet:
id: 4.5.5-scope-approval-index
author: GraviteeSource Team
dbms: mssql
validCheckSum: ANY
onError: MARK_RAN
preConditions:
- onFail: MARK_RAN
- not:
- indexExists:
tableName: scope_approvals
indexName: idx_scope_approvals_domain_client_user_id_extid_scope
- indexExists:
tableName: scope_approvals
indexName: idx_scope_approvals_domain_client_user_id_extid_scope
changes:
- createIndex:
columns:
- column:
name: domain
- column:
name: client_id
- column:
name: user_id
- column:
name: user_source
- column:
Expand Down