Merge 3836f5441e06feecdf759c74c65e8c333843bf6b into 28cf259651f11bad122a2aef11f12bb1763224c2

This commit is contained in:
Andy Ruland 2017-05-30 05:22:23 +00:00 committed by GitHub
commit 18084562b0

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
}