aboutsummaryrefslogtreecommitdiff
path: root/setup/unix/traccar.xml
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-07-13 16:34:44 +0300
committerninioe <ninioe@gmail.com>2016-07-13 16:34:44 +0300
commit636f6e19b4ae7fbd80ff083498fface8c12ee9c8 (patch)
treeea52e5e042de0ea081ea76f7cd61a9632e8788fe /setup/unix/traccar.xml
parent0e7cb81693a1067af81b6d74544f16d01fce8b6e (diff)
parentd154cb277fe2f7b5dfe6bdaee1a013729bbf22eb (diff)
downloadtrackermap-server-636f6e19b4ae7fbd80ff083498fface8c12ee9c8.tar.gz
trackermap-server-636f6e19b4ae7fbd80ff083498fface8c12ee9c8.tar.bz2
trackermap-server-636f6e19b4ae7fbd80ff083498fface8c12ee9c8.zip
Merge remote-tracking branch 'refs/remotes/tananaev/master'
Diffstat (limited to 'setup/unix/traccar.xml')
-rw-r--r--setup/unix/traccar.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup/unix/traccar.xml b/setup/unix/traccar.xml
index 767d53d8b..83abb48fd 100644
--- a/setup/unix/traccar.xml
+++ b/setup/unix/traccar.xml
@@ -70,8 +70,8 @@
</entry>
<entry key='database.insertUser'>
- INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat)
- VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat);
+ INSERT INTO users (name, email, hashedPassword, salt, admin, map, distanceUnit, speedUnit, latitude, longitude, zoom, twelveHourFormat, attributes)
+ VALUES (:name, :email, :hashedPassword, :salt, :admin, :map, :distanceUnit, :speedUnit, :latitude, :longitude, :zoom, :twelveHourFormat, :attributes);
</entry>
<entry key='database.updateUser'>
@@ -85,7 +85,8 @@
latitude = :latitude,
longitude = :longitude,
zoom = :zoom,
- twelveHourFormat = :twelveHourFormat
+ twelveHourFormat = :twelveHourFormat,
+ attributes = :attributes
WHERE id = :id;
</entry>