mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore!: remove deviceId and deviceAssetId (#27818)
chore: remove deviceId and deviceAssetId
This commit is contained in:
@@ -250,8 +250,6 @@ select
|
||||
"asset"."id",
|
||||
"asset"."checksum",
|
||||
"asset"."checksumAlgorithm",
|
||||
"asset"."deviceAssetId",
|
||||
"asset"."deviceId",
|
||||
"asset"."fileCreatedAt",
|
||||
"asset"."fileModifiedAt",
|
||||
"asset"."isExternal",
|
||||
|
||||
@@ -242,17 +242,6 @@ where
|
||||
limit
|
||||
$3
|
||||
|
||||
-- AssetRepository.getAllByDeviceId
|
||||
select
|
||||
"deviceAssetId"
|
||||
from
|
||||
"asset"
|
||||
where
|
||||
"ownerId" = $1::uuid
|
||||
and "deviceId" = $2
|
||||
and "visibility" != $3
|
||||
and "deletedAt" is null
|
||||
|
||||
-- AssetRepository.getLivePhotoCount
|
||||
select
|
||||
count(*) as "count"
|
||||
@@ -312,9 +301,8 @@ limit
|
||||
-- AssetRepository.updateAll
|
||||
update "asset"
|
||||
set
|
||||
"deviceId" = $1
|
||||
where
|
||||
"id" = any ($2::uuid[])
|
||||
"id" = any ($1::uuid[])
|
||||
|
||||
-- AssetRepository.getByChecksum
|
||||
select
|
||||
|
||||
Reference in New Issue
Block a user