resolved #498
This commit is contained in:
parent
64b3df6e63
commit
311abf25ab
|
@ -258,7 +258,7 @@ func buildUpdates(engine *Engine, table *core.Table, bean interface{},
|
||||||
if col.IsDeleted && !unscoped {
|
if col.IsDeleted && !unscoped {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if use, ok := columnMap[col.Name]; ok && !use {
|
if use, ok := columnMap[strings.ToLower(col.Name)]; ok && !use {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue