fix: int32

This commit is contained in:
aliang
2022-07-28 14:15:58 +08:00
parent fee955634c
commit 43d75f23a0

View File

@@ -507,17 +507,17 @@ type tableColumnIndex struct {
}
var typeForMysqlToGo = map[string]string{
"int": "int64",
"integer": "int64",
"int": "int32",
"integer": "int32",
"tinyint": "int32",
"smallint": "int32",
"mediumint": "int32",
"bigint": "int64",
"int unsigned": "uint64",
"integer unsigned": "uint64",
"int unsigned": "uint32",
"integer unsigned": "uint32",
"tinyint unsigned": "uint32",
"smallint unsigned": "uint64",
"mediumint unsigned": "uint64",
"smallint unsigned": "uint32",
"mediumint unsigned": "uint32",
"bigint unsigned": "uint64",
"bit": "int64",
"bool": "bool",