Skip to content

Commit

Permalink
Filter by current_date instead of current_timestamp
Browse files Browse the repository at this point in the history
dhakalaashish committed Apr 5, 2024
1 parent 79f7d04 commit 0b83e22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -13,5 +13,5 @@ FROM
"SiteAlert"
WHERE
"deletedAt" IS NULL
AND "eventDate" > CURRENT_TIMESTAMP - INTERVAL '30 days';
AND "eventDate" >= CURRENT_DATE - INTERVAL '30 days';

0 comments on commit 0b83e22

Please sign in to comment.