Merge branch 'maks/fix_noauto_template' into dev

This commit is contained in:
Aaron L 2017-04-24 10:15:00 -07:00
commit a9264e6447

View file

@ -56,7 +56,7 @@ func (o *{{$tableNameSingular}}) Update(exec boil.Executor, whitelist ... string
{{if eq .DriverName "mssql"}}
wl = strmangle.SetComplement(wl, {{$varNameSingular}}ColumnsWithAuto)
{{end}}
{{- if not .NoAutoTimestamps}}
{{if not .NoAutoTimestamps}}
if len(whitelist) == 0 {
wl = strmangle.SetComplement(wl, []string{"created_at"})
}