diff --git a/templates/boilv4/mysql/101_types.go.tpl b/templates/boilv4/mysql/101_types.go.tpl index e367591..fee0a8b 100644 --- a/templates/boilv4/mysql/101_types.go.tpl +++ b/templates/boilv4/mysql/101_types.go.tpl @@ -5,7 +5,10 @@ // Expose table columns var ( {{$alias.UpSingular}}AllColumns = {{$alias.DownSingular}}AllColumns + {{$alias.UpSingular}}ColumnsWithoutDefault = {{$alias.DownSingular}}ColumnsWithoutDefault {{$alias.UpSingular}}ColumnsWithDefault = {{$alias.DownSingular}}ColumnsWithDefault + {{$alias.UpSingular}}PrimaryKeyColumns = {{$alias.DownSingular}}PrimaryKeyColumns + {{$alias.UpSingular}}GeneratedColumns = {{$alias.DownSingular}}GeneratedColumns ) {{end -}} diff --git a/templates/boilv4/postgres/101_types.go.tpl b/templates/boilv4/postgres/101_types.go.tpl index e367591..fee0a8b 100644 --- a/templates/boilv4/postgres/101_types.go.tpl +++ b/templates/boilv4/postgres/101_types.go.tpl @@ -5,7 +5,10 @@ // Expose table columns var ( {{$alias.UpSingular}}AllColumns = {{$alias.DownSingular}}AllColumns + {{$alias.UpSingular}}ColumnsWithoutDefault = {{$alias.DownSingular}}ColumnsWithoutDefault {{$alias.UpSingular}}ColumnsWithDefault = {{$alias.DownSingular}}ColumnsWithDefault + {{$alias.UpSingular}}PrimaryKeyColumns = {{$alias.DownSingular}}PrimaryKeyColumns + {{$alias.UpSingular}}GeneratedColumns = {{$alias.DownSingular}}GeneratedColumns ) {{end -}}