From 0fe84b225c86d6004fd51ed8043c49e02d6f098e Mon Sep 17 00:00:00 2001 From: strong <372045127@qq.com> Date: Tue, 21 Feb 2023 19:40:29 +0800 Subject: [PATCH] fix(goctl): unsupported database type: bpchar (#2840) --- tools/goctl/model/sql/converter/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/goctl/model/sql/converter/types.go b/tools/goctl/model/sql/converter/types.go index 296657f7..587f5fc9 100644 --- a/tools/goctl/model/sql/converter/types.go +++ b/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",