aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-07 16:05:12 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-07 16:05:12 +1200
commit708e5c31e0fb0d06b1cfb814e1c34f7960901c72 (patch)
tree83f6451c6169930ce5e009acb3678358d89e71da
parent6bf34cb1235d98acfb230c9d07c8b280ef7c9544 (diff)
downloadtrackermap-server-708e5c31e0fb0d06b1cfb814e1c34f7960901c72.tar.gz
trackermap-server-708e5c31e0fb0d06b1cfb814e1c34f7960901c72.tar.bz2
trackermap-server-708e5c31e0fb0d06b1cfb814e1c34f7960901c72.zip
Store protocol to the database
-rw-r--r--debug.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.xml b/debug.xml
index 8dea1ae59..3c0ff81ac 100644
--- a/debug.xml
+++ b/debug.xml
@@ -233,8 +233,8 @@
</entry>
<entry key='database.insertPosition'>
- INSERT INTO position (deviceId, serverTime, deviceTime, fixTime, valid, latitude, longitude, altitude, speed, course, address, other)
- VALUES (:deviceId, CURRENT_TIMESTAMP(), :time, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :address, :other);
+ INSERT INTO position (deviceId, protocol, serverTime, deviceTime, fixTime, valid, latitude, longitude, altitude, speed, course, address, other)
+ VALUES (:deviceId, :protocol, CURRENT_TIMESTAMP(), :time, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :address, :other);
</entry>
<entry key='database.selectLatestPositions'>