|
|
@ -49,15 +49,15 @@ model User {
|
|
|
|
resumesStars ResumesStar[]
|
|
|
|
resumesStars ResumesStar[]
|
|
|
|
resumesComments ResumesComment[]
|
|
|
|
resumesComments ResumesComment[]
|
|
|
|
resumesCommentVotes ResumesCommentVote[]
|
|
|
|
resumesCommentVotes ResumesCommentVote[]
|
|
|
|
QuestionsQuestion QuestionsQuestion[]
|
|
|
|
questionsQuestions QuestionsQuestion[]
|
|
|
|
QuestionsQuestionEncounter QuestionsQuestionEncounter[]
|
|
|
|
questionsQuestionEncounters QuestionsQuestionEncounter[]
|
|
|
|
QuestionsQuestionVote QuestionsQuestionVote[]
|
|
|
|
questionsQuestionVotes QuestionsQuestionVote[]
|
|
|
|
QuestionsQuestionComment QuestionsQuestionComment[]
|
|
|
|
questionsQuestionComments QuestionsQuestionComment[]
|
|
|
|
QuestionsQuestionCommentVote QuestionsQuestionCommentVote[]
|
|
|
|
questionsQuestionCommentVotes QuestionsQuestionCommentVote[]
|
|
|
|
QuestionsAnswer QuestionsAnswer[]
|
|
|
|
questionsAnswers QuestionsAnswer[]
|
|
|
|
QuestionsAnswerVote QuestionsAnswerVote[]
|
|
|
|
questionsAnswerVotes QuestionsAnswerVote[]
|
|
|
|
QuestionsAnswerComment QuestionsAnswerComment[]
|
|
|
|
questionsAnswerComments QuestionsAnswerComment[]
|
|
|
|
QuestionsAnswerCommentVote QuestionsAnswerCommentVote[]
|
|
|
|
questionsAnswerCommentVotes QuestionsAnswerCommentVote[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
model VerificationToken {
|
|
|
|
model VerificationToken {
|
|
|
@ -193,10 +193,10 @@ model QuestionsQuestion {
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
|
|
|
|
|
|
|
|
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
|
|
|
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
|
|
|
QuestionsQuestionEncounter QuestionsQuestionEncounter[]
|
|
|
|
questionEncounters QuestionsQuestionEncounter[]
|
|
|
|
QuestionsQuestionVote QuestionsQuestionVote[]
|
|
|
|
questionVotes QuestionsQuestionVote[]
|
|
|
|
QuestionsQuestionComment QuestionsQuestionComment[]
|
|
|
|
questionComment QuestionsQuestionComment[]
|
|
|
|
QuestionsAnswer QuestionsAnswer[]
|
|
|
|
questionsAnswers QuestionsAnswer[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
model QuestionsQuestionEncounter {
|
|
|
|
model QuestionsQuestionEncounter {
|
|
|
@ -238,7 +238,7 @@ model QuestionsQuestionComment {
|
|
|
|
|
|
|
|
|
|
|
|
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
|
|
|
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
|
|
|
question QuestionsQuestion @relation(fields: [questionId], references: [id], onDelete: Cascade)
|
|
|
|
question QuestionsQuestion @relation(fields: [questionId], references: [id], onDelete: Cascade)
|
|
|
|
QuestionsQuestionCommentVote QuestionsQuestionCommentVote[]
|
|
|
|
questionCommentVotes QuestionsQuestionCommentVote[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
model QuestionsQuestionCommentVote {
|
|
|
|
model QuestionsQuestionCommentVote {
|
|
|
@ -265,8 +265,8 @@ model QuestionsAnswer {
|
|
|
|
|
|
|
|
|
|
|
|
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
|
|
|
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
|
|
|
question QuestionsQuestion @relation(fields: [questionId], references: [id], onDelete: Cascade)
|
|
|
|
question QuestionsQuestion @relation(fields: [questionId], references: [id], onDelete: Cascade)
|
|
|
|
QuestionsAnswerVote QuestionsAnswerVote[]
|
|
|
|
answerVotes QuestionsAnswerVote[]
|
|
|
|
QuestionsAnswerComment QuestionsAnswerComment[]
|
|
|
|
answerComments QuestionsAnswerComment[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
model QuestionsAnswerVote {
|
|
|
|
model QuestionsAnswerVote {
|
|
|
@ -293,7 +293,7 @@ model QuestionsAnswerComment {
|
|
|
|
|
|
|
|
|
|
|
|
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
|
|
|
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
|
|
|
answer QuestionsAnswer @relation(fields: [answerId], references: [id], onDelete: Cascade)
|
|
|
|
answer QuestionsAnswer @relation(fields: [answerId], references: [id], onDelete: Cascade)
|
|
|
|
QuestionsAnswerCommentVote QuestionsAnswerCommentVote[]
|
|
|
|
snswerCommentVotes QuestionsAnswerCommentVote[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
model QuestionsAnswerCommentVote {
|
|
|
|
model QuestionsAnswerCommentVote {
|
|
|
|