diff options
author | ninioe <ninioe@gmail.com> | 2016-07-13 15:29:39 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-07-13 15:29:39 +0300 |
commit | 0e7cb81693a1067af81b6d74544f16d01fce8b6e (patch) | |
tree | 2c7069e1d124406d86a7abfa02e3cb7bae4fdf37 /debug.xml | |
parent | d045c1e2174146ddc8ad8b2ef4442863f3d84a11 (diff) | |
download | trackermap-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.xml | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -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&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&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 < :serverTime; + </entry> + <!-- PROTOCOL CONFIG --> <entry key='gps103.port'>5001</entry> |