mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 01:11:46 +03:00
refactor: stream queue migration (#17997)
This commit is contained in:
@@ -495,3 +495,11 @@ where
|
||||
and "job_status"."facesRecognizedAt" is null
|
||||
order by
|
||||
"assets"."createdAt" desc
|
||||
|
||||
-- AssetJobRepository.streamForMigrationJob
|
||||
select
|
||||
"id"
|
||||
from
|
||||
"assets"
|
||||
where
|
||||
"assets"."deletedAt" is null
|
||||
|
||||
@@ -232,20 +232,6 @@ where
|
||||
limit
|
||||
$3
|
||||
|
||||
-- AssetRepository.getWithout (sidecar)
|
||||
select
|
||||
"assets".*
|
||||
from
|
||||
"assets"
|
||||
where
|
||||
"deletedAt" is null
|
||||
order by
|
||||
"createdAt"
|
||||
limit
|
||||
$1
|
||||
offset
|
||||
$2
|
||||
|
||||
-- AssetRepository.getTimeBuckets
|
||||
with
|
||||
"assets" as (
|
||||
|
||||
Reference in New Issue
Block a user