diff options
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'> |