From 9a6010ea79287c4f23a3cc3a707d20620cc7ca2d Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 18 Jul 2023 22:15:55 -0500 Subject: [PATCH] [Scripts] Accept variants of "with a kiss" trivia answer Accept "by kiss", "by kissing him", and "kiss" --- scripts/update_trivia.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/update_trivia.py b/scripts/update_trivia.py index d962f24b45..a2af5124b4 100644 --- a/scripts/update_trivia.py +++ b/scripts/update_trivia.py @@ -116,6 +116,17 @@ ) connection.commit() +connection.execute( + """ + UPDATE trivia.clues + SET acceptable_answers = ARRAY[ + 'by kiss','by kissing him','kiss','with a kiss' + ] + WHERE answer = 'with a kiss' + """ +) +connection.commit() + connection.execute( """ UPDATE trivia.clues