mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
Revert "chore(server): AssetOcrSyncReset.ts"
This reverts commit c0647382cd.
This commit is contained in:
parent
c0647382cd
commit
51a4e838d4
1 changed files with 0 additions and 12 deletions
|
|
@ -1,12 +0,0 @@
|
|||
import { Kysely, sql } from 'kysely';
|
||||
|
||||
export async function up(db: Kysely<any>): Promise<void> {
|
||||
// OCR visibility updates did not bump updateId before the asset_ocr_updatedAt trigger was added,
|
||||
// so clients never received those changes. There is no way to know which rows were missed, so
|
||||
// reset the checkpoint to backfill all OCR rows on the next sync.
|
||||
await sql`DELETE FROM session_sync_checkpoint WHERE type = 'AssetOcrV1'`.execute(db);
|
||||
}
|
||||
|
||||
export async function down(): Promise<void> {
|
||||
// Not implemented
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue