diff options
Diffstat (limited to 'setup/windows/traccar.xml')
-rw-r--r-- | setup/windows/traccar.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/windows/traccar.xml b/setup/windows/traccar.xml index 049034b01..6220263ef 100644 --- a/setup/windows/traccar.xml +++ b/setup/windows/traccar.xml @@ -111,11 +111,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'>
|