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 = ?