diff options
-rw-r--r-- | schema/changelog-5.0.xml (renamed from schema/changelog-4.16.xml) | 10 | ||||
-rw-r--r-- | schema/changelog-master.xml | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/schema/changelog-4.16.xml b/schema/changelog-5.0.xml index 8bf3a41d5..0e8474eef 100644 --- a/schema/changelog-4.16.xml +++ b/schema/changelog-5.0.xml @@ -4,9 +4,15 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd" - logicalFilePath="changelog-4.16"> + logicalFilePath="changelog-5.0"> - <changeSet author="author" id="changelog-4.16"> + <changeSet author="author" id="changelog-5.0"> + + <preConditions onFail="MARK_RAN"> + <not> + <columnExists tableName="tc_servers" columnName="disablereports" /> + </not> + </preConditions> <addColumn tableName="tc_servers"> <column name="disablereports" type="BOOLEAN" defaultValueBoolean="false" /> diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml index d79e084f6..bb2b3e2f3 100644 --- a/schema/changelog-master.xml +++ b/schema/changelog-master.xml @@ -29,6 +29,7 @@ <include file="changelog-4.11.xml" relativeToChangelogFile="true" /> <include file="changelog-4.13.xml" relativeToChangelogFile="true" /> <include file="changelog-4.15.xml" relativeToChangelogFile="true" /> - <include file="changelog-4.16.xml" relativeToChangelogFile="true" /> + + <include file="changelog-5.0.xml" relativeToChangelogFile="true" /> </databaseChangeLog> |