From e44d80ee4cf31ab8f91459871801676e582ce1cb Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Sat, 16 Nov 2024 05:28:56 -0800 Subject: [PATCH] feat: increment on cache_name --- queries/records/increment_downloads.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/records/increment_downloads.sql b/queries/records/increment_downloads.sql index dee117a..80bf04a 100644 --- a/queries/records/increment_downloads.sql +++ b/queries/records/increment_downloads.sql @@ -1,3 +1,3 @@ UPDATE record SET downloads = downloads + 1 -WHERE id = ? +WHERE cache_name = ?