1
0
mirror of https://github.com/beego/bee.git synced 2025-06-20 03:20:38 +00:00

Merge pull request from ZhengYang/master

add time into temporal type
This commit is contained in:
astaxie
2014-08-28 17:14:46 +08:00

@ -892,7 +892,7 @@ func camelCase(in string) string {
} }
func isSQLTemporalType(t string) bool { 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 { func isSQLStringType(t string) bool {