Skip to content

Commit

Permalink
add type tag for gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyenought authored Jul 24, 2024
1 parent f6853f4 commit 720ead7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func Model(c *config.ModelArgument) error {
FieldNullable: c.FieldNullable,
FieldSignable: c.FieldSignable,
FieldWithIndexTag: c.FieldWithIndexTag,
FieldWithTypeTag: c.FieldWithTypeTag,
}

if len(c.ExcludeTables) > 0 || c.Type == string(consts.Sqlite) {
Expand Down

0 comments on commit 720ead7

Please sign in to comment.