changing "database.selectDevices" query

This commit is contained in:
Irving Gonzalez 2015-06-10 12:55:46 -06:00
parent a024db7609
commit c83714bdec

View File

@ -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'>