1.6.1: Updated matches.
This commit is contained in:
@@ -1100,7 +1100,11 @@ def save_match(cursor, m: MatchData):
|
||||
ON CONFLICT(steam_id_64) DO UPDATE SET
|
||||
uid=excluded.uid,
|
||||
username=excluded.username,
|
||||
avatar_url=excluded.avatar_url,
|
||||
avatar_url=CASE
|
||||
WHEN excluded.avatar_url IS NOT NULL AND excluded.avatar_url != ''
|
||||
THEN excluded.avatar_url
|
||||
ELSE dim_players.avatar_url
|
||||
END,
|
||||
domain=excluded.domain,
|
||||
created_at=excluded.created_at,
|
||||
updated_at=excluded.updated_at,
|
||||
|
||||
Reference in New Issue
Block a user