aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-26 15:22:03 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-26 15:22:03 +0500
commit8ce7ef517c2913483eee7a09fd19e98cfd37b6e8 (patch)
treec6c879b5889a18e0cd0086cd748c44281cede3fb /setup
parent60c442ac19776f0e07fafd1db8a0b75f971fd40e (diff)
downloadtrackermap-server-8ce7ef517c2913483eee7a09fd19e98cfd37b6e8.tar.gz
trackermap-server-8ce7ef517c2913483eee7a09fd19e98cfd37b6e8.tar.bz2
trackermap-server-8ce7ef517c2913483eee7a09fd19e98cfd37b6e8.zip
Do not store device status in database
Diffstat (limited to 'setup')
-rw-r--r--setup/unix/traccar.xml2
-rw-r--r--setup/windows/traccar.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/setup/unix/traccar.xml b/setup/unix/traccar.xml
index 186e981cb..da09d74d6 100644
--- a/setup/unix/traccar.xml
+++ b/setup/unix/traccar.xml
@@ -120,7 +120,7 @@
</entry>
<entry key='database.updateDeviceStatus'>
- UPDATE devices SET status = :status, lastUpdate = :lastUpdate WHERE id = :id;
+ UPDATE devices SET lastUpdate = :lastUpdate WHERE id = :id;
</entry>
<entry key='database.deleteDevice'>
diff --git a/setup/windows/traccar.xml b/setup/windows/traccar.xml
index aa3809763..a3971e4f8 100644
--- a/setup/windows/traccar.xml
+++ b/setup/windows/traccar.xml
@@ -120,7 +120,7 @@
</entry>
<entry key='database.updateDeviceStatus'>
- UPDATE devices SET status = :status, lastUpdate = :lastUpdate WHERE id = :id;
+ UPDATE devices SET lastUpdate = :lastUpdate WHERE id = :id;
</entry>
<entry key='database.deleteDevice'>