Skip to content

Commit

Permalink
Fix unknown column queue_coming_from in field list
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa authored Dec 28, 2023
1 parent c13458c commit b62dc62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/main/resources/liquibase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -350,15 +350,15 @@
<addForeignKeyConstraint baseColumnNames="location_coming_from" baseTableName="queue_entry" constraintName="queue_entry_location_coming_from_id_fk" onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="queue_id" referencedTableName="queue"/>
</changeSet>

<changeSet id="rename_queue_entry_location_coming_from_column_20230914" author="cynthiakamau" dbms="mysql">
<changeSet id="rename_queue_entry_location_coming_from_column_20230914" author="cynthiakamau">
<preConditions onFail="MARK_RAN">
<columnExists tableName="queue_entry" columnName="location_coming_from"/>
</preConditions>
<comment>Rename location_coming_from to queue_coming_from</comment>
<renameColumn tableName="queue_entry" oldColumnName="location_coming_from" newColumnName="queue_coming_from" columnDataType="int" />
</changeSet>

<changeSet id="drop_queue_entry_location_coming_from_fk_20230914" author="cynthiakamau" dbms="mysql">
<changeSet id="drop_queue_entry_location_coming_from_fk_20230914" author="cynthiakamau">
<preConditions onFail="MARK_RAN">
<foreignKeyConstraintExists foreignKeyName="queue_entry_location_coming_from_id_fk" />
</preConditions>
Expand Down

0 comments on commit b62dc62

Please sign in to comment.