Skip to content

Commit

Permalink
Update 400-self-relations.mdx : Fix typo, by swapping follower and fo…
Browse files Browse the repository at this point in the history
…llowing relations
  • Loading branch information
redbar0n authored and nilubava committed Feb 13, 2023
1 parent b96024a commit 3e645ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ If you need the relation to hold other fields, you can create an [explicit](many
model User {
id Int @id @default(autoincrement())
name String?
followedBy Follows[] @relation("following")
following Follows[] @relation("follower")
followedBy Follows[] @relation("follower")
following Follows[] @relation("following")
}
model Follows {
Expand Down

0 comments on commit 3e645ce

Please sign in to comment.