aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-10-20 15:32:56 +0500
committerAbyss777 <abyss@fox5.ru>2016-10-20 15:32:56 +0500
commitf7a00616b14821203f89e63d9c887b3e98b9826e (patch)
tree574078027988b1c6225b64e3ac8c6816ddef2016 /debug.xml
parentdd6170837ebcda6303410f741b14e162e2ff2a29 (diff)
downloadtraccar-server-f7a00616b14821203f89e63d9c887b3e98b9826e.tar.gz
traccar-server-f7a00616b14821203f89e63d9c887b3e98b9826e.tar.bz2
traccar-server-f7a00616b14821203f89e63d9c887b3e98b9826e.zip
Extend device model with management info
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/debug.xml b/debug.xml
index ad9e346c1..67b514d13 100644
--- a/debug.xml
+++ b/debug.xml
@@ -168,11 +168,21 @@
</entry>
<entry key='database.insertDevice'>
- INSERT INTO devices (name, uniqueId, groupId, attributes) VALUES (:name, :uniqueId, :groupId, :attributes)
+ INSERT INTO devices (name, uniqueId, groupId, attributes, phone, model, contact, type)
+ VALUES (:name, :uniqueId, :groupId, :attributes, :phone, :model, :contact, :type)
</entry>
<entry key='database.updateDevice'>
- UPDATE devices SET name = :name, uniqueId = :uniqueId, groupId = :groupId, attributes = :attributes WHERE id = :id
+ UPDATE devices SET
+ name = :name,
+ uniqueId = :uniqueId,
+ groupId = :groupId,
+ attributes = :attributes,
+ phone = :phone,
+ model = :model,
+ contact = :contact,
+ type = :type
+ WHERE id = :id
</entry>
<entry key='database.updateDeviceStatus'>