clean up funnel migration and report errors

This commit is contained in:
Francis Cao 2025-09-10 16:38:51 -07:00
parent 1825524e95
commit f3125c2add
4 changed files with 31 additions and 11 deletions

View file

@ -48,15 +48,15 @@ async function relationalQuery(
from website_event
${cohortQuery}
${joinSessionQuery}
where website_id = {websiteId:UUID}
where website_id = {{websiteId::uuid}}
${dateQuery}
${filterQuery}
) as total
from website_event
${cohortQuery}
${joinSessionQuery}
where website_id = {websiteId:UUID}
and ${column} = {value:String}
where website_id = {{websiteId::uuid}}
and ${column} = {{value}}
${dateQuery}
${filterQuery}
`,