fix(core): Drop the unused Assistant memory table before its threads table (no-changelog)

The migration that moves Assistant threads to the Agents runtime now also drops instance_ai_observational_memory.
That table is unused and has a foreign key to instance_ai_threads, so the threads table could not be dropped cleanly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018gK4jZbBjL8toMAnrfJ4mh
This commit is contained in:
Claude 2026-10-07 21:07:54 +00:00
parent 6ce9db03f8
commit 752b2a9cb0
No known key found for this signature in database

View File

@ -12,6 +12,8 @@ const replacedTables = [
'instance_ai_observation_locks',
'instance_ai_resources',
'instance_ai_thread_grants',
// Unused since the observation tables replaced it, but it still has a foreign key to the threads table.
'instance_ai_observational_memory',
];
/** Assistant data that stays, but belongs to an Agents session now. */