diff options
author | Anton Tananaev <atananaev@lyft.com> | 2020-12-29 11:22:01 -0800 |
---|---|---|
committer | Anton Tananaev <atananaev@lyft.com> | 2020-12-29 11:22:01 -0800 |
commit | c0dee04079cb2edb855e6eeeab9cb6f1b43fa465 (patch) | |
tree | 4692f986852f2b7a557c47a332f40e5ce82d2058 /setup | |
parent | 47468774b6b87c67d8ba98e52bfece04d6d48d1a (diff) | |
download | trackermap-server-c0dee04079cb2edb855e6eeeab9cb6f1b43fa465.tar.gz trackermap-server-c0dee04079cb2edb855e6eeeab9cb6f1b43fa465.tar.bz2 trackermap-server-c0dee04079cb2edb855e6eeeab9cb6f1b43fa465.zip |
Migrate keys and remove database cleanup
Diffstat (limited to 'setup')
-rw-r--r-- | setup/default.xml | 8 |
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 < :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 < :serverTime - </entry> - <entry key='database.selectStatistics'> SELECT * FROM tc_statistics WHERE captureTime BETWEEN :from AND :to ORDER BY captureTime </entry> |