fix: partner and album backfill acks (#19371)

fix: partner sync being entirely broken
This commit is contained in:
Zack Pollard
2025-06-20 17:14:36 +01:00
committed by GitHub
parent a04c6ed80d
commit 0b44d4b6f2
4 changed files with 103 additions and 29 deletions

View File

@@ -130,7 +130,7 @@ from
where
"ownerId" = $1
and "updatedAt" < now() - interval '1 millisecond'
and "updateId" < $2
and "updateId" <= $2
and "updateId" >= $3
order by
"updateId" asc
@@ -274,7 +274,7 @@ from
where
"assets"."ownerId" = $1
and "exif"."updatedAt" < now() - interval '1 millisecond'
and "exif"."updateId" < $2
and "exif"."updateId" <= $2
and "exif"."updateId" >= $3
order by
"exif"."updateId" asc
@@ -418,7 +418,7 @@ from
where
"albumsId" = $1
and "updatedAt" < now() - interval '1 millisecond'
and "updateId" < $2
and "updateId" <= $2
and "updateId" >= $3
order by
"updateId" asc