Files
MonkeyCode/backend/migration
xmv97andClaude Opus 4.7 0baf1a7102 fix(migration): 补软删过滤,避免唯一索引阻塞重建同名资源
agent_skills / agent_plugins 的 (repo_id, name) 唯一索引未带
is_deleted 过滤,mcp_tools 的两个 partial unique 也未带
deleted_at IS NULL,导致软删旧资源后重建/上传同名资源会撞
unique constraint。统一改为 partial unique。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-23 11:07:55 +00:00
..