mirror of
https://github.com/Nutomic/ibis.git
synced 2025-01-03 21:01:26 +00:00
Fix ci error
This commit is contained in:
parent
6bde2922ed
commit
9a57b49005
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ DECLARE
|
||||||
count_ integer;
|
count_ integer;
|
||||||
BEGIN
|
BEGIN
|
||||||
SELECT
|
SELECT
|
||||||
count(*) INTO count_
|
count(users) INTO count_
|
||||||
FROM (
|
FROM (
|
||||||
SELECT
|
SELECT
|
||||||
e.creator_id
|
e.creator_id
|
||||||
|
@ -111,7 +111,7 @@ BEGIN
|
||||||
INNER JOIN person p ON e.creator_id = p.id
|
INNER JOIN person p ON e.creator_id = p.id
|
||||||
WHERE
|
WHERE
|
||||||
e.published > ('now'::timestamp - i::interval)
|
e.published > ('now'::timestamp - i::interval)
|
||||||
AND p.local = TRUE);
|
AND p.local = TRUE) as users;
|
||||||
RETURN count_;
|
RETURN count_;
|
||||||
END;
|
END;
|
||||||
$$;
|
$$;
|
||||||
|
|
Loading…
Reference in a new issue