From a25e7bd56c128fb2a1c673abf735b3e64706f9a8 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Sun, 26 Jun 2016 00:51:33 +0500 Subject: Added notifications via email Added notifications settings --- setup/windows/traccar.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'setup/windows') diff --git a/setup/windows/traccar.xml b/setup/windows/traccar.xml index 995b52c0d..0f50dc0b2 100644 --- a/setup/windows/traccar.xml +++ b/setup/windows/traccar.xml @@ -28,6 +28,20 @@ true + + org.h2.Driver @@ -252,6 +266,27 @@ DELETE FROM device_geofence WHERE deviceId = :deviceId AND geofenceId = :geofenceId; + + SELECT * FROM notifications; + + + + INSERT INTO notifications (userId, type, attributes) + VALUES (:userId, :type, :attributes); + + + + UPDATE notifications SET + userId = :userId, + type = :type, + attributes = :attributes + WHERE id = :id; + + + + DELETE FROM notifications WHERE id = :id; + + 5001 -- cgit v1.2.3