From 27709dc85138789092a624f78ef7e4658d6ffff4 Mon Sep 17 00:00:00 2001 From: Mannu Date: Thu, 28 May 2026 22:38:45 +0530 Subject: [PATCH] Add one-time fix: reset stuck processing memories to ready Co-Authored-By: Claude Sonnet 4.6 --- src/app/api/debug-migration/route.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/api/debug-migration/route.ts b/src/app/api/debug-migration/route.ts index 65fa050..b4f6efd 100644 --- a/src/app/api/debug-migration/route.ts +++ b/src/app/api/debug-migration/route.ts @@ -30,6 +30,9 @@ export async function POST(req: Request) { } const steps = [ + // One-time fix: memories stuck in 'processing' (vision pipeline was marking them failed) + // Reset to 'ready' so they're visible again — vision captions are optional + `UPDATE memories SET processing_status = 'ready', updated_at = now() WHERE processing_status = 'processing' AND created_at < NOW() - INTERVAL '10 minutes'`, // family_invites missing columns (0006) `ALTER TABLE family_invites ADD COLUMN IF NOT EXISTS display_name text`, `ALTER TABLE family_invites ADD COLUMN IF NOT EXISTS accepted_at timestamp`,