From 2fd3282e463f43b536facc5d6578acb5c3bbf95d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 6 Nov 2021 13:25:16 +0100 Subject: Clean up replay script. --- tools/purge.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/purge.sh') 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" -- cgit v1.2.3