aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-3.7.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-10 11:42:03 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-10 11:42:03 +1300
commit81db6816268e7355df8e4a2b9600b3ab1145d84d (patch)
treed6f83a3ec4684edb772bd82a26d182879373079e /schema/changelog-3.7.xml
parent6cfb503b400cbee3689cfb256a9779a024fe7f1d (diff)
downloadtrackermap-server-81db6816268e7355df8e4a2b9600b3ab1145d84d.tar.gz
trackermap-server-81db6816268e7355df8e4a2b9600b3ab1145d84d.tar.bz2
trackermap-server-81db6816268e7355df8e4a2b9600b3ab1145d84d.zip
Small changelog improvements
Diffstat (limited to 'schema/changelog-3.7.xml')
-rw-r--r--schema/changelog-3.7.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/schema/changelog-3.7.xml b/schema/changelog-3.7.xml
index 1d1cdbaac..427497f43 100644
--- a/schema/changelog-3.7.xml
+++ b/schema/changelog-3.7.xml
@@ -15,14 +15,14 @@
</preConditions>
<update tableName="devices">
- <column name="groupid"/>
+ <column name="groupid" />
<where>groupid NOT IN (SELECT id FROM groups)</where>
</update>
- <addForeignKeyConstraint baseColumnNames="groupid" baseTableName="devices" constraintName="fk_device_group_groupid" onDelete="SET NULL" onUpdate="RESTRICT" referencedColumnNames="id" referencedTableName="groups"/>
+ <addForeignKeyConstraint baseColumnNames="groupid" baseTableName="devices" constraintName="fk_device_group_groupid" onDelete="SET NULL" onUpdate="RESTRICT" referencedColumnNames="id" referencedTableName="groups" />
<update tableName="groups">
- <column name="groupid"/>
+ <column name="groupid" />
<where>groupid NOT IN (SELECT id FROM (SELECT DISTINCT id FROM groups) AS groups_ids)</where>
</update>
@@ -55,7 +55,7 @@
</not>
</preConditions>
- <addForeignKeyConstraint baseColumnNames="groupid" baseTableName="groups" constraintName="fk_group_group_groupid" onDelete="SET NULL" onUpdate="RESTRICT" referencedColumnNames="id" referencedTableName="groups"/>
+ <addForeignKeyConstraint baseColumnNames="groupid" baseTableName="groups" constraintName="fk_group_group_groupid" onDelete="SET NULL" onUpdate="RESTRICT" referencedColumnNames="id" referencedTableName="groups" />
</changeSet>