From 720ead74e4e37dd9138aee1fb2d4413dbd9a86ec Mon Sep 17 00:00:00 2001 From: Jiun Lee Date: Wed, 24 Jul 2024 14:34:01 +0800 Subject: [PATCH] add type tag for gen --- pkg/model/model.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/model/model.go b/pkg/model/model.go index cc7728d6..892a85f2 100644 --- a/pkg/model/model.go +++ b/pkg/model/model.go @@ -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) {