mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-03-14 05:53:39 +00:00
fix: do not update package status if it is unchanged
In order to prevent timestamp bumps, filter by status is added
This commit is contained in:
@@ -292,6 +292,7 @@ class PackageOperations(Operations):
|
||||
(:package_base, :status, :last_updated, :repository)
|
||||
on conflict (package_base, repository) do update set
|
||||
status = :status, last_updated = :last_updated
|
||||
where status != :status
|
||||
""",
|
||||
{
|
||||
"package_base": package_base,
|
||||
|
||||
Reference in New Issue
Block a user