1
0
Fork 0
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:
Felix Ableitner 2024-12-19 12:40:50 +01:00
parent 6bde2922ed
commit 9a57b49005

View file

@ -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;
$$; $$;