diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-09 16:09:00 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-09 16:09:00 +1300 |
commit | d4825d57fc27384288d9f3e1c1dd9e4bd7e29160 (patch) | |
tree | 5c13d487042303ad02ad2c47170bf2854cf3e256 /debug.xml | |
parent | 2879646bc58467939349c367a7763cd1eb11fde2 (diff) | |
download | trackermap-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.xml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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> |