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