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?
|
profileImage String?
|
||||||
likedPosts PostLike[]
|
likedPosts PostLike[]
|
||||||
likedComments CommentLike[]
|
likedComments CommentLike[]
|
||||||
followers Follows[] @relation("following")
|
followers Follows[] @relation("follower")
|
||||||
following Follows[] @relation("follower")
|
following Follows[] @relation("following")
|
||||||
postComments Comments[]
|
postComments Comments[]
|
||||||
fromNotifications Notifications[] @relation("fromNotifications")
|
fromNotifications Notifications[] @relation("fromNotifications")
|
||||||
toNotifications Notifications[] @relation("toNotifications")
|
toNotifications Notifications[] @relation("toNotifications")
|
||||||
|
|
Loading…
Reference in a new issue