From 477d43290b693df9d76c7ed1e2f07a103ca4396c Mon Sep 17 00:00:00 2001 From: izzy Date: Wed, 11 Feb 2026 16:19:13 +0000 Subject: [PATCH] chore: update readme/sql Signed-off-by: izzy --- mobile/openapi/README.md | 2 +- server/src/queries/integrity.repository.sql | 16 ++++------------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md index 3e5abdfe16..f170c706a0 100644 --- a/mobile/openapi/README.md +++ b/mobile/openapi/README.md @@ -3,7 +3,7 @@ Immich API This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 2.5.5 +- API version: 2.5.6 - Generator version: 7.8.0 - Build package: org.openapitools.codegen.languages.DartClientCodegen diff --git a/server/src/queries/integrity.repository.sql b/server/src/queries/integrity.repository.sql index 6a521d7bc8..71cbb50404 100644 --- a/server/src/queries/integrity.repository.sql +++ b/server/src/queries/integrity.repository.sql @@ -10,20 +10,12 @@ where -- IntegrityRepository.getIntegrityReportSummary select - count(*) filter ( - where - "type" = $1 - ) as "checksum_mismatch", - count(*) filter ( - where - "type" = $2 - ) as "missing_file", - count(*) filter ( - where - "type" = $3 - ) as "untracked_file" + "type", + count(*) as "count" from "integrity_report" +group by + "type" -- IntegrityRepository.getIntegrityReports select