From 6d5a4328e52a67df35545647e550223a7bf8d9a4 Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ccxvii.net>
Date: Sat, 7 Oct 2023 13:34:54 +0200
Subject: Fix sending out ready to start reminders.

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

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index 4c64ecd..536a831 100644
--- a/schema.sql
+++ b/schema.sql
@@ -468,7 +468,7 @@ create view ready_to_start_reminder as
 		and not exists (
 			select 1 from players
 			where
-				players.game_id = players.game_id
+				players.game_id = games.game_id
 				and is_invite
 		)
 	;
-- 
cgit v1.2.3

