aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <atananaev@lyft.com>2020-12-29 11:22:01 -0800
committerAnton Tananaev <atananaev@lyft.com>2020-12-29 11:22:01 -0800
commitc0dee04079cb2edb855e6eeeab9cb6f1b43fa465 (patch)
tree4692f986852f2b7a557c47a332f40e5ce82d2058 /setup
parent47468774b6b87c67d8ba98e52bfece04d6d48d1a (diff)
downloadtraccar-server-c0dee04079cb2edb855e6eeeab9cb6f1b43fa465.tar.gz
traccar-server-c0dee04079cb2edb855e6eeeab9cb6f1b43fa465.tar.bz2
traccar-server-c0dee04079cb2edb855e6eeeab9cb6f1b43fa465.zip
Migrate keys and remove database cleanup
Diffstat (limited to 'setup')
-rw-r--r--setup/default.xml8
1 files changed, 0 insertions, 8 deletions
diff --git a/setup/default.xml b/setup/default.xml
index 882892e5d..4acfe7c22 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -63,14 +63,6 @@
SELECT * FROM tc_events WHERE deviceId = :deviceId AND serverTime BETWEEN :from AND :to ORDER BY serverTime
</entry>
- <entry key='database.deletePositions'>
- DELETE FROM tc_positions WHERE serverTime &lt; :serverTime AND id NOT IN (SELECT positionId FROM tc_devices WHERE positionId IS NOT NULL)
- </entry>
-
- <entry key='database.deleteEvents'>
- DELETE FROM tc_events WHERE serverTime &lt; :serverTime
- </entry>
-
<entry key='database.selectStatistics'>
SELECT * FROM tc_statistics WHERE captureTime BETWEEN :from AND :to ORDER BY captureTime
</entry>