Merge pull request #78 from bingbingtea/patch-2

Update def.go
master
xxj 4 years ago committed by GitHub
commit aacd550f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,10 +51,10 @@ var TypeMysqlMatchMp = map[string]string{
`^(smallint)[(]\d+[)] unsigned`: "uint16",
`^(int)[(]\d+[)] unsigned`: "uint32",
`^(bigint)[(]\d+[)] unsigned`: "uint64",
`^(tinyint)[(]\d+[)]`: "int8",
`^(smallint)[(]\d+[)]`: "int16",
`^(int)[(]\d+[)]`: "int",
`^(bigint)[(]\d+[)]`: "int64",
`^(tinyint)[(]\d+[)]$`: "int8",
`^(smallint)[(]\d+[)]$`: "int16",
`^(int)[(]\d+[)]$`: "int",
`^(bigint)[(]\d+[)]$`: "int64",
`^(char)[(]\d+[)]`: "string",
`^(enum)[(](.)+[)]`: "string",
`^(varchar)[(]\d+[)]`: "string",

Loading…
Cancel
Save