1
0
mirror of https://github.com/beego/bee.git synced 2024-12-26 01:10:50 +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",
"longtext": "string",
"blob": "string", // blob
"tinyblob": "string",
"mediumblob": "string",
"longblob": "string",
"date": "time.Time", // time
"datetime": "time.Time",