aboutsummaryrefslogtreecommitdiff
path: root/setup/windows/traccar.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-17 23:29:36 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-17 23:29:36 +1200
commit46a264c791a6ea7b8056e642a8aede9ba1c2a27b (patch)
treec5e5639b1c2c6974c25d12c64e594afb18f8839f /setup/windows/traccar.xml
parent53183f4299b523df929d3b38fa358df6c78b4c2e (diff)
downloadtrackermap-server-46a264c791a6ea7b8056e642a8aede9ba1c2a27b.tar.gz
trackermap-server-46a264c791a6ea7b8056e642a8aede9ba1c2a27b.tar.bz2
trackermap-server-46a264c791a6ea7b8056e642a8aede9ba1c2a27b.zip
Update release config files again
Diffstat (limited to 'setup/windows/traccar.xml')
-rw-r--r--setup/windows/traccar.xml17
1 files changed, 9 insertions, 8 deletions
diff --git a/setup/windows/traccar.xml b/setup/windows/traccar.xml
index 719857e94..bf1b216af 100644
--- a/setup/windows/traccar.xml
+++ b/setup/windows/traccar.xml
@@ -75,7 +75,8 @@
speedUnit = :speedUnit,
latitude = :latitude,
longitude = :longitude,
- zoom = :zoom
+ zoom = :zoom,
+ twelveHourFormat = :twelveHourFormat
WHERE id = :id;
</entry>
@@ -87,24 +88,24 @@
DELETE FROM users WHERE id = :id;
</entry>
- <entry key='database.getPermissionsAll'>
+ <entry key='database.selectDevicePermissions'>
SELECT userId, deviceId FROM user_device;
</entry>
- <entry key='database.selectDevicesAll'>
- SELECT * FROM devices;
+ <entry key='database.selectGroupPermissions'>
+ SELECT userId, groupId FROM user_group;
</entry>
- <entry key='database.selectDevices'>
- SELECT * FROM devices d INNER JOIN user_device ud ON d.id = ud.deviceId WHERE ud.userId = :userId;
+ <entry key='database.selectDevicesAll'>
+ SELECT * FROM devices;
</entry>
<entry key='database.insertDevice'>
- INSERT INTO devices (name, uniqueId) VALUES (:name, :uniqueId);
+ INSERT INTO devices (name, uniqueId, groupId) VALUES (:name, :uniqueId, :groupId);
</entry>
<entry key='database.updateDevice'>
- UPDATE devices SET name = :name, uniqueId = :uniqueId WHERE id = :id;
+ UPDATE devices SET name = :name, uniqueId = :uniqueId, groupId = :groupId WHERE id = :id;
</entry>
<entry key='database.updateDeviceStatus'>