aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-3.9.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.9.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.9.xml')
-rw-r--r--schema/changelog-3.9.xml21
1 files changed, 14 insertions, 7 deletions
diff --git a/schema/changelog-3.9.xml b/schema/changelog-3.9.xml
index 93fa6123b..9a797ff7d 100644
--- a/schema/changelog-3.9.xml
+++ b/schema/changelog-3.9.xml
@@ -8,30 +8,37 @@
<changeSet author="author" id="changelog-3.9">
+ <preConditions onFail="MARK_RAN">
+ <not>
+ <tableExists tableName="tc_servers" />
+ </not>
+ </preConditions>
+
<addColumn tableName="notifications">
<column name="web" type="BOOLEAN" defaultValueBoolean="false" />
<column name="mail" type="BOOLEAN" defaultValueBoolean="false" />
</addColumn>
<update tableName="notifications">
- <column name="web" valueBoolean="true" />
- <where>attributes = '{"web":"true"}'</where>
+ <column name="web" valueBoolean="true" />
+ <where>attributes = '{"web":"true"}'</where>
</update>
<update tableName="notifications">
- <column name="mail" valueBoolean="true" />
+ <column name="mail" valueBoolean="true" />
<where>attributes = '{"mail":"true"}'</where>
</update>
<update tableName="notifications">
- <column name="web" valueBoolean="true" />
- <column name="mail" valueBoolean="true" />
- <where>attributes = '{"web":"true","mail":"true"}'</where>
+ <column name="web" valueBoolean="true" />
+ <column name="mail" valueBoolean="true" />
+ <where>attributes = '{"web":"true","mail":"true"}'</where>
</update>
<update tableName="notifications">
- <column name="attributes" value="{}" />
+ <column name="attributes" value="{}" />
</update>
</changeSet>
+
</databaseChangeLog>