1
0
mirror of https://github.com/beego/bee.git synced 2024-12-22 20:20:49 +00:00

add time into temporal type

This commit is contained in:
ZhengYang 2014-08-28 17:11:56 +08:00
parent 5ec39d71ed
commit 05882bb4f6

View File

@ -892,7 +892,7 @@ func camelCase(in string) string {
}
func isSQLTemporalType(t string) bool {
return t == "date" || t == "datetime" || t == "timestamp"
return t == "date" || t == "datetime" || t == "timestamp" || t == "time"
}
func isSQLStringType(t string) bool {