From 64847fa68e1d45d25497ac3ae0afda01c50988f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E6=B5=A9?= Date: Thu, 7 Nov 2019 16:02:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0smallint(6)=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加smallint(6)类型 --- data/view/cnf/def.go | 1 + 1 file changed, 1 insertion(+) diff --git a/data/view/cnf/def.go b/data/view/cnf/def.go index c690fd2..346db70 100644 --- a/data/view/cnf/def.go +++ b/data/view/cnf/def.go @@ -19,6 +19,7 @@ var TypeMysqlDicMp = map[string]string{ "tinyint(1)": "bool", "tinyint(1) unsigned": "bool", "tinyint(4)": "int8", + "smallint(6)": "int8", "json": "string", "text": "string", "timestamp": "time.Time",