We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7157b7e commit 7dd702dCopy full SHA for 7dd702d
utils/tests/models.go
@@ -11,7 +11,7 @@ import (
11
// He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table)
12
// He speaks many languages (many to many) and has many friends (many to many - single-table)
13
// His pet also has one Toy (has one - polymorphic)
14
-// NamedPet is a reference to a Named `Pets` (has many)
+// NamedPet is a reference to a named `Pet` (has one)
15
type User struct {
16
gorm.Model
17
Name string
0 commit comments