aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-25 19:05:33 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-25 19:05:33 +1200
commit87156d38c250abd9a1cba9b9af289d5ff0acb075 (patch)
treed13f72cffc3c6b4ba06a43b68f91a536c58f8fc0 /debug.xml
parentf449d805a01e709b06c4b06e6dcb35d1651f73ad (diff)
downloadtrackermap-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.tar.gz
trackermap-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.tar.bz2
trackermap-server-87156d38c250abd9a1cba9b9af289d5ff0acb075.zip
Add server and user attributes
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml23
1 files changed, 21 insertions, 2 deletions
diff --git a/debug.xml b/debug.xml
index 1f54b6f42..88f9a859e 100644
--- a/debug.xml
+++ b/debug.xml
@@ -138,7 +138,16 @@
</entry>
<entry key='database.updateServer'>
- UPDATE server SET registration = :registration WHERE id = :id;
+ UPDATE server SET
+ registration = :registration,
+ map = :map,
+ language = :language,
+ distanceUnit = :distanceUnit,
+ speedUnit = :speedUnit,
+ latitude = :latitude,
+ longitude = :longitude,
+ zoom = :zoom
+ WHERE id = :id;
</entry>
<entry key='database.loginUser'>
@@ -156,7 +165,17 @@
</entry>
<entry key='database.updateUser'>
- UPDATE "user" SET name = :name, email = :email, admin = :admin
+ UPDATE "user" SET
+ name = :name,
+ email = :email,
+ admin = :admin,
+ map = :map,
+ language = :language,
+ distanceUnit = :distanceUnit,
+ speedUnit = :speedUnit,
+ latitude = :latitude,
+ longitude = :longitude,
+ zoom = :zoom
WHERE id = :id;
</entry>