diff --git a/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_2_27/4.2.27-change-client-column-size.yml b/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_2_27/4.2.27-change-client-column-size.yml index 0af6ce0e901..8356b88e142 100644 --- a/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_2_27/4.2.27-change-client-column-size.yml +++ b/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_2_27/4.2.27-change-client-column-size.yml @@ -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 @@ -180,4 +179,4 @@ databaseChangeLog: name: subject indexName: idx_refresh_tokens_domain_client_subject tableName: refresh_tokens - unique: false + unique: false \ No newline at end of file diff --git a/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_5_0/4.5.0-scope-approval-external-user-id.yml b/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_5_0/4.5.0-scope-approval-external-user-id.yml index 68156b9e72a..fe0ee99dcc7 100644 --- a/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_5_0/4.5.0-scope-approval-external-user-id.yml +++ b/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_5_0/4.5.0-scope-approval-external-user-id.yml @@ -44,8 +44,6 @@ databaseChangeLog: name: domain - column: name: client_id - - column: - name: user_id - column: name: user_source - column: diff --git a/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_5_5/4.5.5-scope-approval-index.yml b/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_5_5/4.5.5-scope-approval-index.yml index ea6b38ffec5..07b1945b741 100644 --- a/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_5_5/4.5.5-scope-approval-index.yml +++ b/gravitee-am-repository/gravitee-am-repository-jdbc/src/main/resources/liquibase/changelogs/v4_5_5/4.5.5-scope-approval-index.yml @@ -3,14 +3,14 @@ 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: @@ -18,8 +18,6 @@ databaseChangeLog: name: domain - column: name: client_id - - column: - name: user_id - column: name: user_source - column: