aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-09 16:09:00 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-09 16:09:00 +1300
commitd4825d57fc27384288d9f3e1c1dd9e4bd7e29160 (patch)
tree5c13d487042303ad02ad2c47170bf2854cf3e256 /debug.xml
parent2879646bc58467939349c367a7763cd1eb11fde2 (diff)
downloadtrackermap-server-d4825d57fc27384288d9f3e1c1dd9e4bd7e29160.tar.gz
trackermap-server-d4825d57fc27384288d9f3e1c1dd9e4bd7e29160.tar.bz2
trackermap-server-d4825d57fc27384288d9f3e1c1dd9e4bd7e29160.zip
Implement API resource for groups
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/debug.xml b/debug.xml
index 413c020eb..2266a1eea 100644
--- a/debug.xml
+++ b/debug.xml
@@ -125,10 +125,6 @@
SELECT * FROM devices;
</entry>
- <entry key='database.selectDevices'>
- SELECT * FROM devices d INNER JOIN user_device ud ON d.id = ud.deviceId WHERE ud.userId = :userId;
- </entry>
-
<entry key='database.insertDevice'>
INSERT INTO devices (name, uniqueId) VALUES (:name, :uniqueId);
</entry>
@@ -153,6 +149,10 @@
DELETE FROM user_device WHERE userId = :userId AND deviceId = :deviceId;
</entry>
+ <entry key='database.selectGroupsAll'>
+ SELECT * FROM groups;
+ </entry>
+
<entry key='database.insertGroup'>
INSERT INTO groups (name) VALUES (:name);
</entry>