aboutsummaryrefslogtreecommitdiff
path: root/default.cfg
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-06 23:33:12 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-06 23:33:12 +1200
commitf119326f307635dddc6306d4f5a4e349e808b48a (patch)
tree3c04943e57947b10ac08e4772ac17e38b66611f0 /default.cfg
parent80e166430b79df771abc73e55892dc9f5fd0b2f1 (diff)
downloadtrackermap-server-f119326f307635dddc6306d4f5a4e349e808b48a.tar.gz
trackermap-server-f119326f307635dddc6306d4f5a4e349e808b48a.tar.bz2
trackermap-server-f119326f307635dddc6306d4f5a4e349e808b48a.zip
Display markers on the map
Diffstat (limited to 'default.cfg')
-rw-r--r--default.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/default.cfg b/default.cfg
index 5401b93da..3bc523bf1 100644
--- a/default.cfg
+++ b/default.cfg
@@ -16,7 +16,7 @@
imei - String
<-->
<entry key='database.selectDevice'>
- SELECT id, unique_id as imei
+ SELECT id, uniqueId as imei
FROM device;
</entry>
@@ -32,8 +32,8 @@
extended_info - String (XML)
<-->
<entry key='database.insertPosition'>
- INSERT INTO position (device_id, server_time, device_time, fix_time, valid, latitude, longitude, altitude, speed, course, address, other)
- VALUES (:device_id, NOW(), :time, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :address, :extended_info);
+ INSERT INTO position (deviceId, serverTime, deviceTime, fixTime, valid, latitude, longitude, altitude, speed, course, address, other)
+ VALUES (:deviceId, NOW(), :time, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :address, :other);
</entry>
<!-->
@@ -41,7 +41,7 @@
id - Long
<-->
<entry key='database.updateLatestPosition'>
- UPDATE device SET position_id = :id WHERE id = :device_id;
+ UPDATE device SET positionId = :id WHERE id = :deviceId;
</entry>
<!-- Web interface -->