mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
update CH event to website_event
This commit is contained in:
parent
05933ff1d2
commit
95ed8a09aa
12 changed files with 15 additions and 142 deletions
|
|
@ -101,7 +101,7 @@ async function clickhouseQuery(
|
|||
(select
|
||||
${getDateQuery('created_at', unit, timezone)} t,
|
||||
count(${count !== '*' ? 'distinct session_id' : count}) y
|
||||
from event
|
||||
from website_event
|
||||
where website_id = {websiteId:UUID}
|
||||
and event_type = ${EVENT_TYPE.pageView}
|
||||
and created_at >= ${getDateFormat(resetDate)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue