Skip to content

Commit

Permalink
incorporate feedback changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Nov 19, 2024
1 parent fe7d6a8 commit 2685228
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ CREATE OR REPLACE VIEW "public"."analytics_summary" AS
((al.allow_list_answers -> 'application.information.harmful'::text))::text AS pre_app_harmful_info,
((al.allow_list_answers -> 'application.information.sensitive'::text))::text AS pre_app_sensitive_info,
(((al.allow_list_answers -> 'application.type'::text) -> 0))::text AS application_type,
((al.allow_list_answers -> '_feedback') ->> 'feedbackScore'::text)::int AS feedback_score
FROM (((analytics a
LEFT JOIN analytics_logs al ON ((a.id = al.analytics_id)))
LEFT JOIN flows f ON ((a.flow_id = f.id)))
Expand Down Expand Up @@ -142,6 +143,7 @@ CREATE OR REPLACE VIEW "public"."submission_services_summary" AS
((ls.allow_list_answers -> 'application.information.harmful'::text))::text AS pre_app_harmful_info,
((ls.allow_list_answers -> 'application.information.sensitive'::text))::text AS pre_app_sensitive_info,
(((ls.allow_list_answers -> 'application.type'::text) -> 0))::text AS application_type,
((ls.allow_list_answers -> '_feedback') ->> 'feedbackScore'::text)::int AS feedback_score
FROM (((((((((lowcal_sessions ls
LEFT JOIN flows f ON ((f.id = ls.flow_id)))
LEFT JOIN teams t ON ((t.id = f.team_id)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ CREATE OR REPLACE VIEW "public"."analytics_summary" AS
((al.allow_list_answers -> 'application.information.harmful'::text))::text AS pre_app_harmful_info,
((al.allow_list_answers -> 'application.information.sensitive'::text))::text AS pre_app_sensitive_info,
al.allow_list_answers -> 'application.type' ->> 0 AS application_type,
((al.allow_list_answers -> '_feedback') ->> 'feedbackScore'::text)::int AS feedback_score,
al.allow_list_answers -> 'applicant.researchOptIn' ->> 0 AS applicant_research_opt_in
FROM (((analytics a
LEFT JOIN analytics_logs al ON ((a.id = al.analytics_id)))
Expand Down Expand Up @@ -143,6 +144,7 @@ CREATE OR REPLACE VIEW "public"."submission_services_summary" AS
((ls.allow_list_answers -> 'application.information.harmful'::text))::text AS pre_app_harmful_info,
((ls.allow_list_answers -> 'application.information.sensitive'::text))::text AS pre_app_sensitive_info,
ls.allow_list_answers -> 'application.type' ->> 0 AS application_type,
((ls.allow_list_answers -> '_feedback') ->> 'feedbackScore'::text)::int AS feedback_score,
ls.allow_list_answers -> 'applicant.researchOptIn' ->> 0 AS applicant_research_opt_in
FROM (((((((((lowcal_sessions ls
LEFT JOIN flows f ON ((f.id = ls.flow_id)))
Expand Down

0 comments on commit 2685228

Please sign in to comment.