diff --git a/data/view/cnf/def.go b/data/view/cnf/def.go index eecd369..96c259f 100644 --- a/data/view/cnf/def.go +++ b/data/view/cnf/def.go @@ -16,9 +16,9 @@ var TypeMysqlDicMp = map[string]string{ "char": "string", "date": "time.Time", "datetime": "time.Time", - "bit(1)": "bool", - "tinyint(1)": "bool", - "tinyint(1) unsigned": "bool", + "bit(1)": "int8", + "tinyint(1)": "int8", + "tinyint(1) unsigned": "int8", "json": "string", "text": "string", "timestamp": "time.Time",