aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-3.17.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-10 11:30:48 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-10 11:30:48 +1300
commit6cfb503b400cbee3689cfb256a9779a024fe7f1d (patch)
tree4d1e179cdfd200e4f26290aaa02352a3ff17b814 /schema/changelog-3.17.xml
parent1264c4cec35c7e26aaaa32362bbf5ab3d97635aa (diff)
downloadtrackermap-server-6cfb503b400cbee3689cfb256a9779a024fe7f1d.tar.gz
trackermap-server-6cfb503b400cbee3689cfb256a9779a024fe7f1d.tar.bz2
trackermap-server-6cfb503b400cbee3689cfb256a9779a024fe7f1d.zip
Add clean 4.0 changelog (fix #4035)
Diffstat (limited to 'schema/changelog-3.17.xml')
-rw-r--r--schema/changelog-3.17.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/schema/changelog-3.17.xml b/schema/changelog-3.17.xml
index 09d07fcf1..dd4e18b2a 100644
--- a/schema/changelog-3.17.xml
+++ b/schema/changelog-3.17.xml
@@ -10,6 +10,9 @@
<preConditions onFail="MARK_RAN">
<not>
+ <tableExists tableName="tc_servers" />
+ </not>
+ <not>
<columnExists tableName="users" columnName="administrator" />
</not>
</preConditions>
@@ -20,6 +23,12 @@
<changeSet author="author" id="changelog-3.17">
+ <preConditions onFail="MARK_RAN">
+ <not>
+ <tableExists tableName="tc_servers" />
+ </not>
+ </preConditions>
+
<addColumn tableName="events">
<column name="maintenanceid" type="INT" />
</addColumn>
@@ -82,4 +91,5 @@
<addForeignKeyConstraint baseTableName="device_maintenance" baseColumnNames="maintenanceid" constraintName="fk_device_maintenance_maintenanceid" referencedTableName="maintenances" referencedColumnNames="id" onDelete="CASCADE" />
</changeSet>
+
</databaseChangeLog>