mirror of
https://github.com/traccar/traccar.git
synced 2025-01-09 04:07:38 +08:00
changing "database.selectDevices" query
This commit is contained in:
parent
a024db7609
commit
c83714bdec
@ -170,7 +170,7 @@
|
||||
</entry>
|
||||
|
||||
<entry key='database.selectDevices'>
|
||||
SELECT * FROM device WHERE id IN (SELECT deviceId FROM user_device WHERE userId = :userId);
|
||||
SELECT * FROM device d INNER JOIN user_device ud ON d.id = ud.deviceId WHERE ud.userId = :userId;
|
||||
</entry>
|
||||
|
||||
<entry key='database.insertDevice'>
|
||||
|
Loading…
Reference in New Issue
Block a user