change tinyint(1) to bool
change tinyint(1) to bool
This commit is contained in:
@@ -23,8 +23,8 @@ var TypeMysqlDicMp = map[string]string{
|
|||||||
"bit(1)": "int8",
|
"bit(1)": "int8",
|
||||||
"tinyint": "int8",
|
"tinyint": "int8",
|
||||||
"tinyint unsigned": "uint8",
|
"tinyint unsigned": "uint8",
|
||||||
"tinyint(1)": "int8",
|
"tinyint(1)": "bool",
|
||||||
"tinyint(1) unsigned": "int8",
|
"tinyint(1) unsigned": "bool",
|
||||||
"json": "string",
|
"json": "string",
|
||||||
"text": "string",
|
"text": "string",
|
||||||
"timestamp": "time.Time",
|
"timestamp": "time.Time",
|
||||||
|
|||||||
Reference in New Issue
Block a user