File tree 3 files changed +36
-0
lines changed
src/main/resources/liquibase
3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 13
13
<include file =" version/0.4.xml" relativeToChangelogFile =" true" />
14
14
<include file =" version/0.4.1.xml" relativeToChangelogFile =" true" />
15
15
<include file =" version/0.4.2.xml" relativeToChangelogFile =" true" />
16
+ <include file =" version/0.4.3.xml" relativeToChangelogFile =" true" />
16
17
17
18
<include file =" test-data.xml" relativeToChangelogFile =" true" />
18
19
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <databaseChangeLog
3
+ xmlns=" http://www.liquibase.org/xml/ns/dbchangelog"
4
+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation=" http://www.liquibase.org/xml/ns/dbchangelog
6
+ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd" >
7
+
8
+ <include file =" 0.4.3/2020-03-07--site_parser_params_value_length.xml" relativeToChangelogFile =" true" />
9
+
10
+ </databaseChangeLog >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <databaseChangeLog
3
+ xmlns=" http://www.liquibase.org/xml/ns/dbchangelog"
4
+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation=" http://www.liquibase.org/xml/ns/dbchangelog
6
+ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd" >
7
+
8
+ <changeSet id =" increase-length-of-site_parser_params-value-field" author =" php-coder" context =" scheme" >
9
+
10
+ <modifyDataType tableName =" site_parser_params"
11
+ columnName=" value"
12
+ newDataType=" VARCHAR(100)" />
13
+
14
+ <!--
15
+ modifyDataType loses NOT NULL property on MySQL:
16
+ http://forum.liquibase.org/topic/warning-of-losing-primary-key-autoincrement-for-mysql
17
+ In order to fix that, we patch the SQL query to specify NOT NULL again.
18
+ -->
19
+ <modifySql dbms =" mysql" >
20
+ <append value =" NOT NULL" />
21
+ </modifySql >
22
+
23
+ </changeSet >
24
+
25
+ </databaseChangeLog >
You can’t perform that action at this time.
0 commit comments