Merge 739ac3d677ccee5715c194443a62a1482b11c74a into 8e2c4ee981869a34e10f0d48258aed969481bc24

This commit is contained in:
Takahiro Ikeuchi 2017-04-18 11:14:42 +00:00 committed by GitHub
commit 1870d5f4a9

View File

@ -21,7 +21,7 @@ type User struct {
ShippingAddress Address // One-To-One relationship (belongs to - use ShippingAddressID as foreign key)
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
}