From 120604c13127a6ff2c582e071eb09aef88a92ab0 Mon Sep 17 00:00:00 2001 From: filifa Date: Tue, 20 Aug 2024 20:23:27 -0500 Subject: [PATCH] find/replaces spaces so hashtags work better --- plays/postplays.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plays/postplays.sql b/plays/postplays.sql index 7222670..bf8bd0a 100644 --- a/plays/postplays.sql +++ b/plays/postplays.sql @@ -5,9 +5,9 @@ select json ->> 'description', json ->> 'halfInning', json ->> 'inning', -json ->> 'awayTeam', +replace(json ->> 'awayTeam', ' ', ''), json ->> 'awayScore', -json ->> 'homeTeam', +replace(json ->> 'homeTeam', ' ', ''), json ->> 'homeScore' from plays where