chore: sync SQL

This commit is contained in:
izzy
2025-12-03 16:46:08 +00:00
parent 5d5d421201
commit 6e7854b5bb

View File

@@ -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