Merge 256dbd7142ff91e28a0f844e467bc40cd19a1ed0 into a4e0ef6509b42be2360e339da12c8aaaf94aac12
This commit is contained in:
commit
0b60e1ec3c
@ -52,6 +52,9 @@ func Update(scope *Scope) {
|
||||
if field.DefaultValue != nil && field.IsBlank {
|
||||
continue
|
||||
}
|
||||
if field.Name == "CreatedAt" {
|
||||
continue
|
||||
}
|
||||
sqls = append(sqls, fmt.Sprintf("%v = %v", scope.Quote(field.DBName), scope.AddToVars(field.Field.Interface())))
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user