File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
4
4
and this project adheres to [ Semantic
5
5
Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ v4.8.1] - 2021-11-14
8
+
9
+ ### Fixed
10
+
11
+ - Fix a regression in the soft delete test template generation introduced in
12
+ 4.8.1
13
+
7
14
## [ v4.8.0] - 2021-11-14
8
15
9
16
### Added
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import (
16
16
"github.com/volatiletech/sqlboiler/v4/importers"
17
17
)
18
18
19
- const sqlBoilerVersion = "4.8.0 "
19
+ const sqlBoilerVersion = "4.8.1 "
20
20
21
21
var (
22
22
flagConfigFile string
Original file line number Diff line number Diff line change 1
1
{ {- $alias := .Aliases.Table .Table.Name -} }
2
- { {- $canSoftDelete := .Table.CanSoftDelete -} }
2
+ { {- $canSoftDelete := .Table.CanSoftDelete $.AutoColumns.Deleted -} }
3
3
{ {- $soft := and .AddSoftDeletes $canSoftDelete } }
4
4
{ {if $soft -} }
5
5
func test{ {$alias .UpPlural} }SoftDelete(t *testing.T) {
You can’t perform that action at this time.
0 commit comments