mirror of
https://github.com/immich-app/immich.git
synced 2025-12-05 23:00:33 -08:00
chore: sync SQL
This commit is contained in:
@@ -95,7 +95,7 @@ select
|
|||||||
"allPaths"."path" as "path",
|
"allPaths"."path" as "path",
|
||||||
"allPaths"."assetId",
|
"allPaths"."assetId",
|
||||||
"allPaths"."fileAssetId",
|
"allPaths"."fileAssetId",
|
||||||
"integrity_report"."path" as "reportId"
|
"integrity_report"."id" as "reportId"
|
||||||
from
|
from
|
||||||
(
|
(
|
||||||
select
|
select
|
||||||
@@ -105,7 +105,7 @@ from
|
|||||||
from
|
from
|
||||||
"asset"
|
"asset"
|
||||||
where
|
where
|
||||||
"asset"."deletedAt" is not null
|
"asset"."deletedAt" is null
|
||||||
union all
|
union all
|
||||||
select
|
select
|
||||||
"asset"."encodedVideoPath" as "path",
|
"asset"."encodedVideoPath" as "path",
|
||||||
@@ -114,7 +114,7 @@ from
|
|||||||
from
|
from
|
||||||
"asset"
|
"asset"
|
||||||
where
|
where
|
||||||
"asset"."deletedAt" is not null
|
"asset"."deletedAt" is null
|
||||||
and "asset"."encodedVideoPath" is not null
|
and "asset"."encodedVideoPath" is not null
|
||||||
and "asset"."encodedVideoPath" != ''
|
and "asset"."encodedVideoPath" != ''
|
||||||
union all
|
union all
|
||||||
|
|||||||
Reference in New Issue
Block a user