[questions][feat] add sorting index

pull/384/head
hpkoh 3 years ago
parent 3b1828ef3f
commit bfbaa1abd4

@ -408,6 +408,9 @@ model QuestionsQuestion {
votes QuestionsQuestionVote[]
comments QuestionsQuestionComment[]
answers QuestionsAnswer[]
@@index([lastSeenAt, id])
@@index([upvotes, id])
}
model QuestionsQuestionEncounter {

Loading…
Cancel
Save