From 978b838e037d0028249e8f41124c2ca498e7aa1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Mon, 20 Nov 2023 13:05:27 +0000 Subject: [PATCH] chore: Add new input_errors column --- .../migrations/1700303840464_setup_analytics_summary_view/up.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/hasura.planx.uk/migrations/1700303840464_setup_analytics_summary_view/up.sql b/hasura.planx.uk/migrations/1700303840464_setup_analytics_summary_view/up.sql index 8eab876aaa..693d10937b 100644 --- a/hasura.planx.uk/migrations/1700303840464_setup_analytics_summary_view/up.sql +++ b/hasura.planx.uk/migrations/1700303840464_setup_analytics_summary_view/up.sql @@ -14,6 +14,7 @@ select node_type, node_title, has_clicked_help, + input_errors, CAST(EXTRACT(EPOCH FROM (al.next_log_created_at - al.created_at)) as numeric (10, 1)) as time_spent_on_node_seconds from analytics a left join analytics_logs al on a.id = al.analytics_id