aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-10-05 10:40:20 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-10-05 10:40:20 +1300
commit2b22e09688ea303b4c9fc2f5f5dda59ec00573ae (patch)
tree267a01c62502d550396b8a01238eab0e5395ecf7
parent0239489230ff7c9fc16d0dd8911123700b535b31 (diff)
downloadtrackermap-server-2b22e09688ea303b4c9fc2f5f5dda59ec00573ae.tar.gz
trackermap-server-2b22e09688ea303b4c9fc2f5f5dda59ec00573ae.tar.bz2
trackermap-server-2b22e09688ea303b4c9fc2f5f5dda59ec00573ae.zip
Store address by default
-rw-r--r--default.cfg4
-rw-r--r--setup/linux/traccar.cfg4
-rw-r--r--setup/macosx/traccar.cfg4
-rw-r--r--setup/windows/traccar.cfg4
4 files changed, 8 insertions, 8 deletions
diff --git a/default.cfg b/default.cfg
index 8c5cb2ddf..7e64b0216 100644
--- a/default.cfg
+++ b/default.cfg
@@ -33,8 +33,8 @@
extended_info - String (XML)
<-->
<entry key='database.insertPosition'>
- INSERT INTO positions (device_id, time, valid, latitude, longitude, altitude, speed, course, power, other)
- VALUES (:device_id, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :power, :extended_info);
+ INSERT INTO positions (device_id, time, valid, latitude, longitude, altitude, speed, course, power, address, other)
+ VALUES (:device_id, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :power, :address, :extended_info);
</entry>
<!-->
diff --git a/setup/linux/traccar.cfg b/setup/linux/traccar.cfg
index 99f59914a..52c99b315 100644
--- a/setup/linux/traccar.cfg
+++ b/setup/linux/traccar.cfg
@@ -32,8 +32,8 @@
extended_info - String (XML)
<-->
<entry key='database.insertPosition'>
- INSERT INTO positions (device_id, time, valid, latitude, longitude, altitude, speed, course, power, other)
- VALUES (:device_id, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :power, :extended_info);
+ INSERT INTO positions (device_id, time, valid, latitude, longitude, altitude, speed, course, power, address, other)
+ VALUES (:device_id, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :power, :address, :extended_info);
</entry>
<!-->
diff --git a/setup/macosx/traccar.cfg b/setup/macosx/traccar.cfg
index 99f59914a..52c99b315 100644
--- a/setup/macosx/traccar.cfg
+++ b/setup/macosx/traccar.cfg
@@ -32,8 +32,8 @@
extended_info - String (XML)
<-->
<entry key='database.insertPosition'>
- INSERT INTO positions (device_id, time, valid, latitude, longitude, altitude, speed, course, power, other)
- VALUES (:device_id, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :power, :extended_info);
+ INSERT INTO positions (device_id, time, valid, latitude, longitude, altitude, speed, course, power, address, other)
+ VALUES (:device_id, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :power, :address, :extended_info);
</entry>
<!-->
diff --git a/setup/windows/traccar.cfg b/setup/windows/traccar.cfg
index a58f6e7d4..879f3e438 100644
--- a/setup/windows/traccar.cfg
+++ b/setup/windows/traccar.cfg
@@ -32,8 +32,8 @@
extended_info - String (XML)
<-->
<entry key='database.insertPosition'>
- INSERT INTO positions (device_id, time, valid, latitude, longitude, altitude, speed, course, power, other)
- VALUES (:device_id, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :power, :extended_info);
+ INSERT INTO positions (device_id, time, valid, latitude, longitude, altitude, speed, course, power, address, other)
+ VALUES (:device_id, :time, :valid, :latitude, :longitude, :altitude, :speed, :course, :power, :address, :extended_info);
</entry>
<!-->