fix: User + KnowledgeBase 补充 Quiz 反向关联
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 11s
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 11s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
6033fbc997
commit
a1a4b26444
@ -37,6 +37,7 @@ model User {
|
||||
learningSessions LearningSession[]
|
||||
learningRecords LearningRecord[]
|
||||
activeRecallQuestions ActiveRecallQuestion[]
|
||||
quizAttempts QuizAttempt[]
|
||||
activeRecallAnswers ActiveRecallAnswer[]
|
||||
aiAnalysisJobs AiAnalysisJob[]
|
||||
aiAnalysisResults AiAnalysisResult[]
|
||||
@ -189,6 +190,7 @@ model KnowledgeBase {
|
||||
focusItems FocusItem[]
|
||||
folders KnowledgeFolder[]
|
||||
subscriptions KnowledgeBaseSubscription[]
|
||||
quizzes Quiz[]
|
||||
|
||||
@@index([userId])
|
||||
@@index([status])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user