mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
feat: asset copy (#23172)
This commit is contained in:
@@ -422,3 +422,15 @@ group by
|
||||
"asset"."ownerId"
|
||||
order by
|
||||
"assetCount" desc
|
||||
|
||||
-- AlbumRepository.copyAlbums
|
||||
insert into
|
||||
"album_asset"
|
||||
select
|
||||
"album_asset"."albumsId",
|
||||
$1 as "assetsId"
|
||||
from
|
||||
"album_asset"
|
||||
where
|
||||
"album_asset"."assetsId" = $2
|
||||
on conflict do nothing
|
||||
|
||||
Reference in New Issue
Block a user