feat: establish formal relationship between KnowledgeUnit and Ebook (#35) #43

Merged
mjasin merged 2 commits from fix/issue-35-knowledge-unit-relationship into develop 2026-05-14 18:17:17 +00:00

2 Commits

Author SHA1 Message Date
mjasin 5925aa796a fix: make EbookId nullable to support global knowledge units and resolve PR comments 2026-05-13 20:51:25 +02:00
mjasin 82a4d29598 feat: establish formal relationship between KnowledgeUnit and Ebook (#35)
- Refactored KnowledgeUnit to use Guid EbookId and added navigation property
- Updated AppDbContext with fluent configuration and cascade delete
- Propagated ebookId through IKnowledgeService and API endpoints
- Generated EF migration for schema changes
2026-05-13 20:39:09 +02:00