From 93c7a6e1443d19e8f924ba0bdaeffb3c755c4d7f Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ccxvii.net>
Date: Thu, 21 Sep 2023 21:33:20 +0200
Subject: Only update ELO if at least 5 moves were made.

---
 schema.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index d4cb397..f38ba53 100644
--- a/schema.sql
+++ b/schema.sql
@@ -156,6 +156,7 @@ create view rated_games_view as
 		games
 	where
 		status > 1
+		and moves > 5
 		and user_count = player_count
 		and player_count > 1
 		and not exists (
-- 
cgit v1.2.3

