瀏覽代碼

fix(goctl): unsupported database type: bpchar (#2840)

strong 2 年之前
父節點
當前提交
0fe84b225c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/goctl/model/sql/converter/types.go

+ 1 - 0
tools/goctl/model/sql/converter/types.go

@@ -118,6 +118,7 @@ var commonMysqlDataTypeMapString = map[string]string{
 	"nvarchar":        "string",
 	"nchar":           "string",
 	"char":            "string",
+	"bpchar":          "string",
 	"_char":           "pq.StringArray",
 	"character":       "string",
 	"varchar":         "string",