From 7575d4b5c51c14bd023e8c402166a50ac4381139 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 19 Dec 2024 12:40:50 +0100 Subject: [PATCH] try to fix ci error --- migrations/2024-12-18-214511_site-stats/up.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/2024-12-18-214511_site-stats/up.sql b/migrations/2024-12-18-214511_site-stats/up.sql index d465a2c..2deea1f 100644 --- a/migrations/2024-12-18-214511_site-stats/up.sql +++ b/migrations/2024-12-18-214511_site-stats/up.sql @@ -102,7 +102,7 @@ DECLARE count_ integer; BEGIN SELECT - count(*) INTO count_ + count(users) INTO count_ FROM ( SELECT e.creator_id @@ -111,7 +111,7 @@ BEGIN INNER JOIN person p ON e.creator_id = p.id WHERE e.published > ('now'::timestamp - i::interval) - AND p.local = TRUE); + AND p.local = TRUE) as users; RETURN count_; END; $$;