1
0
mirror of https://github.com/beego/bee.git synced 2024-10-31 18:50:54 +00:00

support tinyblob mediumblob

This commit is contained in:
astaxie 2014-08-27 11:41:31 +08:00
parent b3674b5b06
commit d0c36db1ca

View File

@ -87,6 +87,8 @@ var typeMappingMysql = map[string]string{
"text": "string", "text": "string",
"longtext": "string", "longtext": "string",
"blob": "string", // blob "blob": "string", // blob
"tinyblob": "string",
"mediumblob": "string",
"longblob": "string", "longblob": "string",
"date": "time.Time", // time "date": "time.Time", // time
"datetime": "time.Time", "datetime": "time.Time",