This commit is contained in:
Lunny Xiao 2016-11-23 21:27:15 +08:00
parent 64b3df6e63
commit 311abf25ab
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ func buildUpdates(engine *Engine, table *core.Table, bean interface{},
if col.IsDeleted && !unscoped {
continue
}
if use, ok := columnMap[col.Name]; ok && !use {
if use, ok := columnMap[strings.ToLower(col.Name)]; ok && !use {
continue
}