From 94ea366eb33694447812e6d63133aea28379d6f4 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 18 Jul 2016 11:12:14 +0500 Subject: - Added attributes to devices - Fixed license header for DeviceManager.java - Fixed editing attributes for not saved (new) object. --- debug.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debug.xml') diff --git a/debug.xml b/debug.xml index a55d1a6a6..2bd96021f 100644 --- a/debug.xml +++ b/debug.xml @@ -159,11 +159,11 @@ - INSERT INTO devices (name, uniqueId, groupId) VALUES (:name, :uniqueId, :groupId); + INSERT INTO devices (name, uniqueId, groupId, attributes) VALUES (:name, :uniqueId, :groupId, :attributes); - 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; -- cgit v1.2.3