优化
This commit is contained in:
@@ -29,7 +29,7 @@ type positionPO struct {
|
||||
func (positionPO) TableName() string { return "sys_positions" }
|
||||
|
||||
type userPositionPO struct {
|
||||
// GVA does not declare a key on this explicit join model. Do not let a
|
||||
// The reference implementation does not declare a key on this explicit join model. Do not let a
|
||||
// database uniqueness constraint change duplicate-assignment behavior.
|
||||
UserID uint `gorm:"column:sys_user_id"`
|
||||
PositionID uint `gorm:"column:sys_position_id"`
|
||||
|
||||
Reference in New Issue
Block a user