mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-28 17:41:15 +00:00
fix: fixed user follow/following relation
This commit is contained in:
parent
91f69e9711
commit
3938f48efd
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ model User {
|
|||
profileImage String?
|
||||
likedPosts PostLike[]
|
||||
likedComments CommentLike[]
|
||||
followers Follows[] @relation("following")
|
||||
following Follows[] @relation("follower")
|
||||
followers Follows[] @relation("follower")
|
||||
following Follows[] @relation("following")
|
||||
postComments Comments[]
|
||||
fromNotifications Notifications[] @relation("fromNotifications")
|
||||
toNotifications Notifications[] @relation("toNotifications")
|
||||
|
|
Loading…
Reference in a new issue