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`,