mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor: stream queue migration (#17997)
This commit is contained in:
parent
732b06eec8
commit
526c02297c
9 changed files with 25 additions and 98 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue