Skip to content

Commit

Permalink
Merge pull request #1045 from /issues/1044-lb-signature-body
Browse files Browse the repository at this point in the history
Fix #1044: Missing column signature_data_body in Liquibase
  • Loading branch information
romanstrobl authored Sep 12, 2023
2 parents 9794673 + 988a34d commit 80335fc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd">

<changeSet id="1" logicalFilePath="powerauth-java-server/1.5.x/20230324-add-column-signature-data-body" author="Roman Strobl">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="pa_signature_audit" columnName="signature_data_body"/>
</not>
</preConditions>
<comment>Add signature_data_body column of type Clob</comment>
<addColumn tableName="pa_signature_audit">
<column name="signature_data_body" type="clob"/>
</addColumn>
</changeSet>

</databaseChangeLog>
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd">

<include file="20230316-add-column-signature-data-body.xml" relativeToChangelogFile="true" />
<include file="20230323-add-column-signature-metadata.xml" relativeToChangelogFile="true" />
<include file="20230426-add-column-totp-seed.xml" relativeToChangelogFile="true" />
<include file="20230723-add-table-unique-value.xml" relativeToChangelogFile="true" />
Expand Down

0 comments on commit 80335fc

Please sign in to comment.