aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-3.7.xml
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-21 12:32:44 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-21 12:32:44 +0500
commit9cc862ea2c3fed6eb69dea8e6f8a646fc7995dbe (patch)
tree252ebca450636729e13dab2bb8b3d25bc2b0c603 /schema/changelog-3.7.xml
parent208b66427643d50d2a5fd0dd29b73abe086ce9db (diff)
downloadtrackermap-server-9cc862ea2c3fed6eb69dea8e6f8a646fc7995dbe.tar.gz
trackermap-server-9cc862ea2c3fed6eb69dea8e6f8a646fc7995dbe.tar.bz2
trackermap-server-9cc862ea2c3fed6eb69dea8e6f8a646fc7995dbe.zip
Fix groups cleanup request on some MySQL 5.7.x installations
Diffstat (limited to 'schema/changelog-3.7.xml')
-rw-r--r--schema/changelog-3.7.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/schema/changelog-3.7.xml b/schema/changelog-3.7.xml
index d82dbe91b..1bae2aaff 100644
--- a/schema/changelog-3.7.xml
+++ b/schema/changelog-3.7.xml
@@ -17,7 +17,7 @@
<update tableName="groups">
<column name="groupid"/>
- <where>groupid NOT IN (SELECT id FROM (SELECT id FROM groups) AS groups_ids)</where>
+ <where>groupid NOT IN (SELECT id FROM (SELECT DISTINCT id FROM groups) AS groups_ids)</where>
</update>
<addColumn tableName="devices">