diff --git a/data/view/cnf/def.go b/data/view/cnf/def.go index e87a203..91949aa 100644 --- a/data/view/cnf/def.go +++ b/data/view/cnf/def.go @@ -42,10 +42,15 @@ var TypeMysqlDicMp = map[string]string{ "longblob": "[]byte", } +// TypeMysqlMatchMp Fuzzy Matching Types.模糊匹配类型 + // TypeMysqlMatchMp Fuzzy Matching Types.模糊匹配类型 var TypeMysqlMatchMp = map[string]string{ - `^(tinyint)[(]\d+[)]`: "int8", `^(tinyint)[(]\d+[)] unsigned`: "uint8", + `^(smallint)[(]\d+[)] unsigned`: "uint16", + `^(int)[(]\d+[)] unsigned`: "uint32", + `^(bigint)[(]\d+[)] unsigned`: "uint64", + `^(tinyint)[(]\d+[)]`: "int8", `^(smallint)[(]\d+[)]`: "int16", `^(int)[(]\d+[)]`: "int", `^(bigint)[(]\d+[)]`: "int64",