diff options
author | Abyss777 <abyss@fox5.ru> | 2016-07-25 17:47:50 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-07-25 17:47:50 +0500 |
commit | fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9 (patch) | |
tree | 0a9e69d6139e19a830a979a45b76f82ccbe27bb4 /setup | |
parent | 7e20896334f4f6927cf14c5272cf7d893efc3a05 (diff) | |
download | traccar-server-fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9.tar.gz traccar-server-fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9.tar.bz2 traccar-server-fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9.zip |
Added group and server attributes
Diffstat (limited to 'setup')
-rw-r--r-- | setup/unix/traccar.xml | 7 | ||||
-rw-r--r-- | setup/windows/traccar.xml | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/setup/unix/traccar.xml b/setup/unix/traccar.xml index 90cb5f74e..186e981cb 100644 --- a/setup/unix/traccar.xml +++ b/setup/unix/traccar.xml @@ -51,7 +51,8 @@ latitude = :latitude, longitude = :longitude, zoom = :zoom, - twelveHourFormat = :twelveHourFormat + twelveHourFormat = :twelveHourFormat, + attributes = :attributes WHERE id = :id; </entry> @@ -139,11 +140,11 @@ </entry> <entry key='database.insertGroup'> - INSERT INTO groups (name, groupId) VALUES (:name, :groupId); + INSERT INTO groups (name, groupId, attributes) VALUES (:name, :groupId, :attributes); </entry> <entry key='database.updateGroup'> - UPDATE groups SET name = :name, groupId = :groupId WHERE id = :id; + UPDATE groups SET name = :name, groupId = :groupId, attributes = :attributes WHERE id = :id; </entry> <entry key='database.deleteGroup'> diff --git a/setup/windows/traccar.xml b/setup/windows/traccar.xml index 25128a3e0..aa3809763 100644 --- a/setup/windows/traccar.xml +++ b/setup/windows/traccar.xml @@ -51,7 +51,8 @@ latitude = :latitude,
longitude = :longitude,
zoom = :zoom,
- twelveHourFormat = :twelveHourFormat
+ twelveHourFormat = :twelveHourFormat,
+ attributes = :attributes
WHERE id = :id;
</entry>
@@ -139,11 +140,11 @@ </entry>
<entry key='database.insertGroup'>
- INSERT INTO groups (name, groupId) VALUES (:name, :groupId);
+ INSERT INTO groups (name, groupId, attributes) VALUES (:name, :groupId, :attributes);
</entry>
<entry key='database.updateGroup'>
- UPDATE groups SET name = :name, groupId = :groupId WHERE id = :id;
+ UPDATE groups SET name = :name, groupId = :groupId, attributes = :attributes WHERE id = :id;
</entry>
<entry key='database.deleteGroup'>
|