aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-3.7.xml
diff options
context:
space:
mode:
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>