aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-08 23:31:06 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-08 23:31:06 +1300
commit3e76be5531f89fb906598435096e3eff54f86944 (patch)
tree69670b2ea6e073bcb352e34d29fc459816665427 /debug.xml
parentc0d07811425497f10e41519e090f02cfdffb3c9a (diff)
downloadtrackermap-server-3e76be5531f89fb906598435096e3eff54f86944.tar.gz
trackermap-server-3e76be5531f89fb906598435096e3eff54f86944.tar.bz2
trackermap-server-3e76be5531f89fb906598435096e3eff54f86944.zip
Add group queries and recourse
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/debug.xml b/debug.xml
index eb2038cd5..102272cb3 100644
--- a/debug.xml
+++ b/debug.xml
@@ -149,6 +149,26 @@
DELETE FROM user_device WHERE userId = :userId AND deviceId = :deviceId;
</entry>
+ <entry key='database.insertGroup'>
+ INSERT INTO groups (name) VALUES (:name);
+ </entry>
+
+ <entry key='database.updateGroup'>
+ UPDATE groups SET name = :name WHERE id = :id;
+ </entry>
+
+ <entry key='database.deleteGroup'>
+ DELETE FROM groups WHERE id = :id;
+ </entry>
+
+ <entry key='database.linkGroup'>
+ INSERT INTO user_group (userId, groupId) VALUES (:userId, :groupId);
+ </entry>
+
+ <entry key='database.unlinkGroup'>
+ DELETE FROM user_group WHERE userId = :userId AND groupId = :groupId;
+ </entry>
+
<entry key='database.selectPositions'>
SELECT * FROM positions WHERE deviceId = :deviceId AND fixTime BETWEEN :from AND :to ORDER BY fixTime;
</entry>