From 3e645ce3dd6b398b38296afa6b8a7234856d061a Mon Sep 17 00:00:00 2001 From: redbar0n Date: Mon, 30 Jan 2023 15:51:44 +0100 Subject: [PATCH] Update 400-self-relations.mdx : Fix typo, by swapping follower and following relations --- .../01-prisma-schema/06-relations/400-self-relations.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/200-concepts/100-components/01-prisma-schema/06-relations/400-self-relations.mdx b/content/200-concepts/100-components/01-prisma-schema/06-relations/400-self-relations.mdx index 469551ba26..14ac5fa1f8 100644 --- a/content/200-concepts/100-components/01-prisma-schema/06-relations/400-self-relations.mdx +++ b/content/200-concepts/100-components/01-prisma-schema/06-relations/400-self-relations.mdx @@ -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 {