WIP reading news from app

This commit is contained in:
2024-07-21 07:53:02 -07:00
parent 5c0c45b99f
commit 0bf865fdef
11 changed files with 734 additions and 62 deletions

13
server/sql/tags.sql Normal file
View File

@@ -0,0 +1,13 @@
SELECT
site,
name,
count (
NOT is_read
OR NULL
) unread
FROM
post AS p
JOIN feed AS f ON p.site = f.slug
GROUP BY
1,
2;