Merge 739ac3d677ccee5715c194443a62a1482b11c74a into 8e2c4ee981869a34e10f0d48258aed969481bc24
This commit is contained in:
commit
1870d5f4a9
@ -21,7 +21,7 @@ type User struct {
|
|||||||
ShippingAddress Address // One-To-One relationship (belongs to - use ShippingAddressID as foreign key)
|
ShippingAddress Address // One-To-One relationship (belongs to - use ShippingAddressID as foreign key)
|
||||||
ShippingAddressID int
|
ShippingAddressID int
|
||||||
|
|
||||||
IgnoreMe int `gorm:"-"` // Ignore this field
|
IgnoreMe int `sql:"-"` // Ignore this field
|
||||||
Languages []Language `gorm:"many2many:user_languages;"` // Many-To-Many relationship, 'user_languages' is join table
|
Languages []Language `gorm:"many2many:user_languages;"` // Many-To-Many relationship, 'user_languages' is join table
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user