Merge 74fec261c8c6662391a78ed22c068b32e19f37ca into f1caf058c5624a4d3e7176ee387df6a2e4c9c018
This commit is contained in:
commit
eb7f6c3795
@ -232,7 +232,7 @@ type CustomizeAccount struct {
|
||||
|
||||
To define a self-referencing many2many relationship, you have to change association's foreign key in the join table.
|
||||
|
||||
to make it different with source's foreign key, which is generated using struct's name and its priamry key, for example:
|
||||
to make it different with source's foreign key, which is generated using struct's name and its primary key, for example:
|
||||
|
||||
```go
|
||||
type User struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user