Merge 3836f5441e06feecdf759c74c65e8c333843bf6b into 28cf259651f11bad122a2aef11f12bb1763224c2
This commit is contained in:
commit
18084562b0
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user