wangdl 939adcebd3
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 43s
feat(API-AI-081): add KnowledgeItem.sourceId FK to KnowledgeSource
- Prisma schema: add sourceId field + @relation to KnowledgeSource
- KnowledgeSource: add items[] reverse relation + @index on sourceId
- KnowledgeItemsRepository: accept sourceId in create()
- ImportCandidateService.accept(): pass sourceId to create()
- DocumentImport worker: pass sourceId alongside sourceRef

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-18 21:54:58 +08:00
..