xoldyckk
Explore posts from serversDTDrizzle Team
•Created by xoldyckk on 8/14/2023 in #help
Need help implementing one to many relations for a table on itself
I want to implement a one to many self relation on the comments table, where a comment can have child comments recursively. The comment where parentCommentId is null would be the root comment that has no parent comment. Somehow this doesn't work. What's the problem in this schema? Here's the error:-
13 replies