diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-16 11:46:59 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-16 11:46:59 +1300 |
commit | 306098fbeda545babb2c48c80e7fe98e22abb801 (patch) | |
tree | a249093233a50a9e08cb3f0e77714ce3e7e1933b /debug.xml | |
parent | c7d721cfc55b614ab4bf3d656381b7b590ae99e9 (diff) | |
download | trackermap-server-306098fbeda545babb2c48c80e7fe98e22abb801.tar.gz trackermap-server-306098fbeda545babb2c48c80e7fe98e22abb801.tar.bz2 trackermap-server-306098fbeda545babb2c48c80e7fe98e22abb801.zip |
Update device status in the database
Diffstat (limited to 'debug.xml')
-rw-r--r-- | debug.xml | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -209,6 +209,10 @@ UPDATE device SET name = :name, uniqueId = :uniqueId WHERE id = :id; </entry> + <entry key='database.updateDeviceStatus'> + UPDATE device SET status = :status, lastUpdate = :lastUpdate WHERE id = :id; + </entry> + <entry key='database.deleteDevice'> DELETE FROM device WHERE id = :id; </entry> |