summaryrefslogtreecommitdiff
path: root/tools/purge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/purge.sh')
-rw-r--r--tools/purge.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/purge.sh b/tools/purge.sh
index a47bcdd..8084e03 100644
--- a/tools/purge.sh
+++ b/tools/purge.sh
@@ -12,3 +12,5 @@ sqlite3 db "DELETE FROM games $WHERE_TIMEOUT_OPEN"
echo "--- TIMED OUT ACTIVE GAMES ---"
sqlite3 db "SELECT * FROM game_view $WHERE_TIMEOUT_ACTIVE"
sqlite3 db "UPDATE games SET status = 3 $WHERE_TIMEOUT_ACTIVE"
+
+sqlite3 db "DELETE FROM replay WHERE game_id < 1346"