mirror of
https://github.com/beego/bee.git
synced 2024-11-25 15:00:55 +00:00
add time type
This commit is contained in:
parent
d0c36db1ca
commit
5ec39d71ed
@ -93,6 +93,7 @@ var typeMappingMysql = map[string]string{
|
|||||||
"date": "time.Time", // time
|
"date": "time.Time", // time
|
||||||
"datetime": "time.Time",
|
"datetime": "time.Time",
|
||||||
"timestamp": "time.Time",
|
"timestamp": "time.Time",
|
||||||
|
"time": "time.Time",
|
||||||
"float": "float32", // float & decimal
|
"float": "float32", // float & decimal
|
||||||
"double": "float64",
|
"double": "float64",
|
||||||
"decimal": "float64",
|
"decimal": "float64",
|
||||||
|
Loading…
Reference in New Issue
Block a user