diff options
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> |