Skip to content

Commit 4fd2d3b

Browse files
committed
fix: unbreak setColumnRemarks migration on MySQL
After updating Liquibase version it's started to fail: 2 changes have validation failures columnDataType is required for setColumnRemarks on mysql, liquibase/version/0.4.4/2020-05-23--modify_condition_field.xml::modify-collections_series-condition-field::php-coder columnDataType is required for setColumnRemarks on mysql, liquibase/version/0.4.4/2020-05-23--modify_condition_field.xml::modify-series_sales-condition-field::php-coder Correction for 70c6f37 commit. Relate to #1526
1 parent 70c6f37 commit 4fd2d3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/resources/liquibase/version/0.4.4/2020-05-23--modify_condition_field.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
6-
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
6+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd">
77

88
<changeSet id="modify-collections_series-condition-field" author="php-coder" context="scheme">
99

@@ -21,6 +21,7 @@
2121
<setColumnRemarks
2222
tableName="collections_series"
2323
columnName="cond"
24+
columnDataType="VARCHAR(9)"
2425
remarks="Example: MNH, CANCELLED" />
2526

2627
</changeSet>
@@ -41,6 +42,7 @@
4142
<setColumnRemarks
4243
tableName="series_sales"
4344
columnName="cond"
45+
columnDataType="VARCHAR(9)"
4446
remarks="Example: MNH, CANCELLED" />
4547

4648
</changeSet>

0 commit comments

Comments
 (0)