From a68e6cadc9aa43b1cd3ad1023f8d6fa5147decc5 Mon Sep 17 00:00:00 2001 From: Saif Ul Islam Date: Tue, 27 Feb 2024 12:30:42 +0500 Subject: [PATCH] Update models.md The `One To Many` section felt a bit unreadable because using `####` and `**Content**` have the same font size. I changed `####` to be `###`, and provided sub-text for the below foreign key explanations. --- en-US/mvc/model/models.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en-US/mvc/model/models.md b/en-US/mvc/model/models.md index 918d34d5..2e8e98b4 100644 --- a/en-US/mvc/model/models.md +++ b/en-US/mvc/model/models.md @@ -244,7 +244,7 @@ type User struct { ## Relationships -#### One to one +### One to one **RelOneToOne**: @@ -266,9 +266,9 @@ type Profile struct { } ``` -#### One to many +### One to many -**RelForeignKey**: +The initial referenced foreign key, `RelForeignKey`: ```go type Post struct { @@ -278,7 +278,7 @@ type Post struct { } ``` -The reverse relationship **RelReverseMany**: +The reversed relationship, `RelReverseMany`: ```go type User struct {