New query
This commit is contained in:
parent
6ebfc8cbe5
commit
00b8991961
@ -116,7 +116,8 @@ SELECT paths.path,
|
|||||||
$SELECT_GLOBAL
|
$SELECT_GLOBAL
|
||||||
where requests.path = paths.path and date > NOW() - interval '1 month'
|
where requests.path = paths.path and date > NOW() - interval '1 month'
|
||||||
) as unique_ips_last_month
|
) as unique_ips_last_month
|
||||||
FROM paths;
|
FROM paths
|
||||||
|
WHERE paths.last_seen > NOW() - INTERVAL '1 month';
|
||||||
EOF
|
EOF
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user