mirror of
https://github.com/traccar/traccar.git
synced 2026-02-01 11:13:42 -05:00
Fix groups cleanup request on some MySQL 5.7.x installations
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user