mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor: dedicated get album thumbnail files query (#17657)
This commit is contained in:
parent
8cefa0b84b
commit
85c2d36d99
4 changed files with 39 additions and 19 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue