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