Skip to content

Commit

Permalink
REPORT-888 - Add MariaDb into changeSet Entries (#232)
Browse files Browse the repository at this point in the history
Co-authored-by: Amos Laboso <[email protected]>
  • Loading branch information
alaboso and Amos Laboso authored May 2, 2022
1 parent e56d4d3 commit 218061c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/src/main/resources/liquibase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
<addForeignKeyConstraint baseTableName="reporting_report_design" baseColumnNames="retired_by" constraintName="retired_by_for_reporting_report_design" referencedTableName="users" referencedColumnNames="user_id" deferrable="false" initiallyDeferred="false" />
</changeSet>

<changeSet id="reporting_report_design_2" author="mseaton" dbms="mysql">
<changeSet id="reporting_report_design_2" author="mseaton" dbms="mysql,mariadb">
<validCheckSum>8:53ee2581fae69de6011402f9ccf56cdd</validCheckSum> <!-- checksum before mariadb dbms check -->
<preConditions onFail="MARK_RAN">
<not><columnExists tableName="reporting_report_design" columnName="report_definition_uuid"/></not>
</preConditions>
Expand Down Expand Up @@ -89,7 +90,8 @@
</sql>
</changeSet>

<changeSet id="reporting_report_design_3" author="mseaton" dbms="mysql">
<changeSet id="reporting_report_design_3" author="mseaton" dbms="mysql,mariadb">
<validCheckSum>8:376812e41a0a69544e5d3a03f3a99c7f</validCheckSum> <!-- checksum before mariadb dbms check -->
<sql>
alter table reporting_report_design modify report_definition_uuid char(38) not null;
</sql>
Expand Down

0 comments on commit 218061c

Please sign in to comment.