From 538e0baaf8e4f09c8b8e5b79cc1c4fce104aa49b Mon Sep 17 00:00:00 2001 From: amontenegro <a.montenegro@orcid.org> Date: Mon, 2 Sep 2024 12:04:16 -0600 Subject: [PATCH] Add the authorization state attribute field --- ...oauth2_authoriziation_code_detail_improvements.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/orcid-persistence/src/main/resources/db/updates/oauth2_authoriziation_code_detail_improvements.xml b/orcid-persistence/src/main/resources/db/updates/oauth2_authoriziation_code_detail_improvements.xml index 737e7d19198..4824fc68702 100644 --- a/orcid-persistence/src/main/resources/db/updates/oauth2_authoriziation_code_detail_improvements.xml +++ b/orcid-persistence/src/main/resources/db/updates/oauth2_authoriziation_code_detail_improvements.xml @@ -24,6 +24,17 @@ </addColumn> </changeSet> + <changeSet author="Angel Montenegro" id="ADD-AUTHORIZATION-STATE-ATTRIBUTE"> + <preConditions onFail="MARK_RAN"> + <not> + <columnExists tableName="oauth2_authoriziation_code_detail" columnName="authorization_state_attribute"/> + </not> + </preConditions> + <addColumn tableName="oauth2_authoriziation_code_detail"> + <column name="authorization_state_attribute" type="VARCHAR(500)" /> + </addColumn> + </changeSet> + <changeSet author="Angel Montenegro" id="ADD-AUTHORIZATION-URI"> <preConditions onFail="MARK_RAN"> <not>