diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-21 14:11:30 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-21 14:11:30 -0700 |
commit | 4616e04a34e42e8f415c31fa3b871d9ab2608c96 (patch) | |
tree | 6757389ca14ff24a71c5ba437ddcc7381437dce2 /schema | |
parent | 445acb5da5ba9e321a016630d58147c7e69fe916 (diff) | |
download | trackermap-server-4616e04a34e42e8f415c31fa3b871d9ab2608c96.tar.gz trackermap-server-4616e04a34e42e8f415c31fa3b871d9ab2608c96.tar.bz2 trackermap-server-4616e04a34e42e8f415c31fa3b871d9ab2608c96.zip |
Rename changelog version
Diffstat (limited to 'schema')
-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> |