aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-16 11:46:59 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-16 11:46:59 +1300
commit306098fbeda545babb2c48c80e7fe98e22abb801 (patch)
treea249093233a50a9e08cb3f0e77714ce3e7e1933b /debug.xml
parentc7d721cfc55b614ab4bf3d656381b7b590ae99e9 (diff)
downloadtraccar-server-306098fbeda545babb2c48c80e7fe98e22abb801.tar.gz
traccar-server-306098fbeda545babb2c48c80e7fe98e22abb801.tar.bz2
traccar-server-306098fbeda545babb2c48c80e7fe98e22abb801.zip
Update device status in the database
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug.xml b/debug.xml
index 47f17bdae..b09a73d0a 100644
--- a/debug.xml
+++ b/debug.xml
@@ -209,6 +209,10 @@
UPDATE device SET name = :name, uniqueId = :uniqueId WHERE id = :id;
</entry>
+ <entry key='database.updateDeviceStatus'>
+ UPDATE device SET status = :status, lastUpdate = :lastUpdate WHERE id = :id;
+ </entry>
+
<entry key='database.deleteDevice'>
DELETE FROM device WHERE id = :id;
</entry>