aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-18 11:12:14 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-18 11:12:14 +0500
commit94ea366eb33694447812e6d63133aea28379d6f4 (patch)
treedac204b1fa084c4cfdab8cfec932edebedbe9624 /debug.xml
parentd3e063cf9de8a45bed4dfe87b73aadfd8d2edeab (diff)
downloadtrackermap-server-94ea366eb33694447812e6d63133aea28379d6f4.tar.gz
trackermap-server-94ea366eb33694447812e6d63133aea28379d6f4.tar.bz2
trackermap-server-94ea366eb33694447812e6d63133aea28379d6f4.zip
- Added attributes to devices
- Fixed license header for DeviceManager.java - Fixed editing attributes for not saved (new) object.
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.xml b/debug.xml
index a55d1a6a6..2bd96021f 100644
--- a/debug.xml
+++ b/debug.xml
@@ -159,11 +159,11 @@
</entry>
<entry key='database.insertDevice'>
- INSERT INTO devices (name, uniqueId, groupId) VALUES (:name, :uniqueId, :groupId);
+ INSERT INTO devices (name, uniqueId, groupId, attributes) VALUES (:name, :uniqueId, :groupId, :attributes);
</entry>
<entry key='database.updateDevice'>
- UPDATE devices SET name = :name, uniqueId = :uniqueId, groupId = :groupId WHERE id = :id;
+ UPDATE devices SET name = :name, uniqueId = :uniqueId, groupId = :groupId, attributes = :attributes WHERE id = :id;
</entry>
<entry key='database.updateDeviceStatus'>