set field.IsNormal = false for duplicated column struct field
This commit is contained in:
parent
51ac582a7a
commit
afef5813d8
@ -627,6 +627,7 @@ func (scope *Scope) GetModelStruct() *ModelStruct {
|
||||
}
|
||||
if field.DBName == column {
|
||||
field.IsIgnored = true
|
||||
field.IsNormal = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user