refactor: dedicated get album thumbnail files query (#17657)

This commit is contained in:
Daniel Dietzler 2025-04-16 21:10:27 +02:00 committed by GitHub
parent 8cefa0b84b
commit 85c2d36d99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 39 additions and 19 deletions

View file

@ -183,6 +183,16 @@ from
where
"assets"."id" = $1
-- AssetJobRepository.getAlbumThumbnailFile
select
"asset_files"."id",
"asset_files"."path",
"asset_files"."type"
from
"asset_files"
where
"asset_files"."assetId" = $1
-- AssetJobRepository.getForStorageTemplateJob
select
"assets"."id",