fix: fixed user follow/following relation

This commit is contained in:
Hackntosh 2024-01-24 14:37:46 +00:00
parent 91f69e9711
commit 3938f48efd

View file

@ -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")