diff --git a/server/src/schema/migrations/1786716028459-AssetOcrSyncReset.ts b/server/src/schema/migrations/1786716028459-AssetOcrSyncReset.ts deleted file mode 100644 index 767778e6a1..0000000000 --- a/server/src/schema/migrations/1786716028459-AssetOcrSyncReset.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Kysely, sql } from 'kysely'; - -export async function up(db: Kysely): Promise { - // 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 { - // Not implemented -}