fix removing whitespace
This commit is contained in:
parent
d9b991e487
commit
bdd28d9d5b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func (o *{{$tableNameSingular}}) Update(exec boil.Executor, whitelist ... string
|
||||||
{{if eq .DriverName "mssql"}}
|
{{if eq .DriverName "mssql"}}
|
||||||
wl = strmangle.SetComplement(wl, {{$varNameSingular}}ColumnsWithAuto)
|
wl = strmangle.SetComplement(wl, {{$varNameSingular}}ColumnsWithAuto)
|
||||||
{{end}}
|
{{end}}
|
||||||
{{- if not .NoAutoTimestamps}}
|
{{if not .NoAutoTimestamps}}
|
||||||
if len(whitelist) == 0 {
|
if len(whitelist) == 0 {
|
||||||
wl = strmangle.SetComplement(wl, []string{"created_at"})
|
wl = strmangle.SetComplement(wl, []string{"created_at"})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue