diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-08-22 18:21:14 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-22 18:41:20 +0200 |
commit | 420badd2916809e7b5048f3138f132e5bebfe636 (patch) | |
tree | 20cdbcc2a7d71fd3c4e480011be80f2aa076ce7d /schema.sql | |
parent | 4b3f2aff171313893c944381f102972558b35e22 (diff) | |
download | server-420badd2916809e7b5048f3138f132e5bebfe636.tar.gz |
Don't count unstarted games as "waiting" in header.
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -144,15 +144,7 @@ create view user_dynamic_view as where owner_id = users.user_id and status = 0 - and ( - join_count = 0 - or ( - join_count = player_count - and not exists ( - select 1 from players where players.game_id = games.game_id and players.is_invite - ) - ) - ) + and join_count = 0 ) as waiting, is_banned from |