aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-07-13 15:29:39 +0300
committerninioe <ninioe@gmail.com>2016-07-13 15:29:39 +0300
commit0e7cb81693a1067af81b6d74544f16d01fce8b6e (patch)
tree2c7069e1d124406d86a7abfa02e3cb7bae4fdf37 /debug.xml
parentd045c1e2174146ddc8ad8b2ef4442863f3d84a11 (diff)
downloadtrackermap-server-0e7cb81693a1067af81b6d74544f16d01fce8b6e.tar.gz
trackermap-server-0e7cb81693a1067af81b6d74544f16d01fce8b6e.tar.bz2
trackermap-server-0e7cb81693a1067af81b6d74544f16d01fce8b6e.zip
changes Anton asked me
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml13
1 files changed, 6 insertions, 7 deletions
diff --git a/debug.xml b/debug.xml
index 20287587b..60e2c65e8 100644
--- a/debug.xml
+++ b/debug.xml
@@ -65,15 +65,10 @@
<!-- DATABASE CONFIG -->
<!--<entry key='database.driverFile'>hsqldb.jar</entry>-->
- <!--<entry key='database.driver'>org.h2.Driver</entry>
+ <entry key='database.driver'>org.h2.Driver</entry>
<entry key='database.url'>jdbc:h2:./target/database</entry>
<entry key='database.user'>sa</entry>
- <entry key='database.password'></entry>-->
-
- <entry key='database.driver'>com.mysql.jdbc.Driver</entry>
- <entry key='database.url'>jdbc:mysql://127.0.0.1:3306/traccar?allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=ANSI_QUOTES</entry>
- <entry key='database.user'>traccar</entry>
- <entry key='database.password'>###########</entry>
+ <entry key='database.password'></entry>
<entry key='database.ignoreUnknown'>true</entry>
@@ -320,6 +315,10 @@
DELETE FROM notifications WHERE id = :id;
</entry>
+ <entry key='database.clearPositionsHistory'>
+ DELETE FROM positions WHERE deviceid = :deviceId and servertime &lt; :serverTime;
+ </entry>
+
<!-- PROTOCOL CONFIG -->
<entry key='gps103.port'>5001</entry>