Added MySQL year data type

This commit is contained in:
Carlos Salguero 2017-05-29 15:48:57 -03:00
parent 9e4a43f08a
commit b4bee5cceb
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ var typeMappingMysql = map[string]string{
"decimal": "float64",
"binary": "string", // binary
"varbinary": "string",
"year": "int16",
}
// typeMappingPostgres maps SQL data type to corresponding Go data type