Skip to content

Commit

Permalink
Adding auth code expiration time
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro committed Aug 31, 2024
1 parent 72d4221 commit bad7061
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
<changeSet author="Angel Montenegro" id="ADD-6-CHARS-AUTH-CODE">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="oauth2_authoriziation_code_detail" columnName="6_chars_authoriziation_code_value"/>
<columnExists tableName="oauth2_authoriziation_code_detail" columnName="six_chars_authoriziation_code_value"/>
</not>
</preConditions>
<addColumn tableName="oauth2_authoriziation_code_detail">
<column name="6_chars_authoriziation_code_value" type="VARCHAR(6)" />
<column name="six_chars_authoriziation_code_value" type="VARCHAR(6)" />
</addColumn>
</changeSet>

Expand All @@ -57,4 +57,15 @@
</addColumn>
</changeSet>

<changeSet author="Angel Montenegro" id="ADD-SPRING-AUHT-CODE-EXPIRES-AT">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="oauth2_authoriziation_code_detail" columnName="authorization_code_expires_at"/>
</not>
</preConditions>
<addColumn tableName="oauth2_authoriziation_code_detail">
<column name="authorization_code_expires_at" type="TIMESTAMP WITH TIME ZONE" />
</addColumn>
</changeSet>

</databaseChangeLog>

0 comments on commit bad7061

Please sign in to comment.