From 8b230c9b43a42818256691a6d8eeed085d66ce8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Fri, 9 Feb 2024 14:58:47 +0000 Subject: [PATCH] fix: Typo in down.sql --- .../migrations/1707239828082_update_node_type_names/down.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hasura.planx.uk/migrations/1707239828082_update_node_type_names/down.sql b/hasura.planx.uk/migrations/1707239828082_update_node_type_names/down.sql index b00e66825e..b3f41e6714 100644 --- a/hasura.planx.uk/migrations/1707239828082_update_node_type_names/down.sql +++ b/hasura.planx.uk/migrations/1707239828082_update_node_type_names/down.sql @@ -2,7 +2,7 @@ UPDATE public.analytics_logs SET node_type = CASE - WHEN node_type 'Question' THEN 'Statement' - WHEN node_type 'Answer' THEN 'Response' + WHEN node_type = 'Question' THEN 'Statement' + WHEN node_type = 'Answer' THEN 'Response' ELSE node_type END; \ No newline at end of file