diff options
author | Abyss777 <abyss@fox5.ru> | 2016-10-20 15:32:56 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-10-20 15:32:56 +0500 |
commit | f7a00616b14821203f89e63d9c887b3e98b9826e (patch) | |
tree | 574078027988b1c6225b64e3ac8c6816ddef2016 /debug.xml | |
parent | dd6170837ebcda6303410f741b14e162e2ff2a29 (diff) | |
download | trackermap-server-f7a00616b14821203f89e63d9c887b3e98b9826e.tar.gz trackermap-server-f7a00616b14821203f89e63d9c887b3e98b9826e.tar.bz2 trackermap-server-f7a00616b14821203f89e63d9c887b3e98b9826e.zip |
Extend device model with management info
Diffstat (limited to 'debug.xml')
-rw-r--r-- | debug.xml | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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'> |