Removed special case for mssql

This commit is contained in:
Sergey Kurt 2017-04-01 20:16:05 +03:00
parent e1dfd0bb1e
commit b6d0a5142a

View file

@ -41,11 +41,7 @@ func test{{$tableNamePlural}}InsertWhitelist(t *testing.T) {
tx := MustTx(boil.Begin())
defer tx.Rollback()
{{if ne .DriverName "mssql"}}
if err = {{$varNameSingular}}.Insert(tx, {{$varNameSingular}}Columns...); err != nil {
{{- else -}}
if err = {{$varNameSingular}}.Insert(tx, {{$varNameSingular}}ColumnsWithoutDefault...); err != nil {
{{- end}}
t.Error(err)
}