only show notifications from last 2 weeks
This commit is contained in:
@ -64,7 +64,7 @@ WHERE
|
||||
user_id = ?
|
||||
AND (
|
||||
read_at IS NULL
|
||||
OR read_at >= datetime('now', '-30 days')
|
||||
OR read_at >= datetime('now', '-14 days')
|
||||
)
|
||||
ORDER BY read_at DESC, created_at DESC;
|
||||
",
|
||||
|
Reference in New Issue
Block a user