mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
Change day range for retention.
This commit is contained in:
parent
d7bf793050
commit
3601cb63a5
1 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ async function relationalQuery(
|
||||||
from cohort_date c
|
from cohort_date c
|
||||||
join cohort_size s
|
join cohort_size s
|
||||||
on c.cohort_date = s.cohort_date
|
on c.cohort_date = s.cohort_date
|
||||||
where c.day_number IN (0,1,2,3,4,5,6,7,14,21,30)
|
where c.day_number <= 31
|
||||||
order by 1, 2`,
|
order by 1, 2`,
|
||||||
{
|
{
|
||||||
websiteId,
|
websiteId,
|
||||||
|
|
@ -165,7 +165,7 @@ async function clickhouseQuery(
|
||||||
from cohort_date c
|
from cohort_date c
|
||||||
join cohort_size s
|
join cohort_size s
|
||||||
on c.cohort_date = s.cohort_date
|
on c.cohort_date = s.cohort_date
|
||||||
where c.day_number IN (0,1,2,3,4,5,6,7,14,21,30)
|
where c.day_number <= 31
|
||||||
order by 1, 2`,
|
order by 1, 2`,
|
||||||
{
|
{
|
||||||
websiteId,
|
websiteId,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue