Removed special case for mssql
This commit is contained in:
parent
e1dfd0bb1e
commit
b6d0a5142a
1 changed files with 0 additions and 4 deletions
|
@ -41,11 +41,7 @@ func test{{$tableNamePlural}}InsertWhitelist(t *testing.T) {
|
||||||
|
|
||||||
tx := MustTx(boil.Begin())
|
tx := MustTx(boil.Begin())
|
||||||
defer tx.Rollback()
|
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 {
|
if err = {{$varNameSingular}}.Insert(tx, {{$varNameSingular}}ColumnsWithoutDefault...); err != nil {
|
||||||
{{- end}}
|
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue