Skip to content

Commit

Permalink
Update changelog to support PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher authored Sep 11, 2024
1 parent 704eae3 commit 0f14570
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions api/src/main/resources/liquibase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -971,15 +971,26 @@
referencedTableName="users" referencedColumnNames="user_id"/>
</changeSet>

<changeSet id="fix_target_uuid_column" author="moses_mutesa" dbms="mysql,mariadb,postgresql">
<changeSet id="fix_target_uuid_column" author="moses_mutesa" dbms="mysql,mariadb">
<preConditions onFail="MARK_RAN" onError="WARN">
<tableExists tableName="fhir_reference"/>
<columnExists tableName="fhir_reference" columnName="target_uuid"/>
<columnExists tableName="fhir_reference" columnName="target_uuid"/>
<indexExists tableName="fhir_reference" indexName="target_uuid"/>
</preConditions>
<modifyDataType columnName="target_uuid" newDataType="char(38)" tableName="fhir_reference"/>
<dropUniqueConstraint constraintName="target_uuid" tableName="fhir_reference" uniqueColumns="target_uuid"/>
</changeSet>

<changeSet id="fix_target_uuid_column" author="moses_mutesa" dbms="postgresql">
<preConditions onFail="MARK_RAN" onError="WARN">
<tableExists tableName="fhir_reference"/>
<columnExists tableName="fhir_reference" columnName="target_uuid"/>
<indexExists tableName="fhir_reference" indexName="fhir_reference_target_uuid_key"/>
</preConditions>
<modifyDataType columnName="target_uuid" newDataType="char(38)" tableName="fhir_reference"/>
<dropUniqueConstraint constraintName="fhir_reference_target_uuid_key" tableName="fhir_reference" uniqueColumns="target_uuid"/>
</changeSet>

<changeSet id="drop_fhir_duration_unit_map_20220412" author="mseaton">
<preConditions onFail="MARK_RAN" onError="WARN">
<tableExists tableName="fhir_duration_unit_map"/>
Expand Down

0 comments on commit 0f14570

Please sign in to comment.