diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-26 01:09:49 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 01:09:49 +1200 |
commit | 4064f864e20d3d40025a94e10cf56084d2c78287 (patch) | |
tree | 0a9e69d6139e19a830a979a45b76f82ccbe27bb4 /setup/unix | |
parent | 7e20896334f4f6927cf14c5272cf7d893efc3a05 (diff) | |
parent | fb0a1689fda9a06ecf5e6a9a97ba8b2b704cacb9 (diff) | |
download | trackermap-server-4064f864e20d3d40025a94e10cf56084d2c78287.tar.gz trackermap-server-4064f864e20d3d40025a94e10cf56084d2c78287.tar.bz2 trackermap-server-4064f864e20d3d40025a94e10cf56084d2c78287.zip |
Merge pull request #2155 from Abyss777/attributes
Added group and server attributes
Diffstat (limited to 'setup/unix')
-rw-r--r-- | setup/unix/traccar.xml | 7 |
1 files changed, 4 insertions, 3 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'> |