diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-21 14:17:09 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-21 14:17:09 +1300 |
commit | eb15c16571c0070ae60f39dce6ae974128ff1be1 (patch) | |
tree | 8195f8ab0e05ff23153782dec1444f8fda790264 /debug.xml | |
parent | dd6170837ebcda6303410f741b14e162e2ff2a29 (diff) | |
parent | 1756637b8727f592712950e12a99521e5f5c636e (diff) | |
download | trackermap-server-eb15c16571c0070ae60f39dce6ae974128ff1be1.tar.gz trackermap-server-eb15c16571c0070ae60f39dce6ae974128ff1be1.tar.bz2 trackermap-server-eb15c16571c0070ae60f39dce6ae974128ff1be1.zip |
Merge pull request #2466 from Abyss777/device_management_info
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, category) + VALUES (:name, :uniqueId, :groupId, :attributes, :phone, :model, :contact, :category) </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, + category = :category + WHERE id = :id </entry> <entry key='database.updateDeviceStatus'> |