feat: add features
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
"github.com/go-jet/jet/v2/generator/postgres"
|
||||
"github.com/go-jet/jet/v2/generator/template"
|
||||
pg "github.com/go-jet/jet/v2/postgres"
|
||||
"github.com/gofiber/fiber/v3/log"
|
||||
_ "github.com/lib/pq"
|
||||
"github.com/samber/lo"
|
||||
"github.com/spf13/cobra"
|
||||
@@ -117,6 +118,7 @@ func Serve(cmd *cobra.Command, args []string) error {
|
||||
ImportPath: splits[0],
|
||||
})
|
||||
|
||||
log.Infof("Convert table %s field %s type to : %s", table.Name, column.Name, toType)
|
||||
return defaultTableModelField
|
||||
})
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user