mirror of
https://github.com/beego/bee.git
synced 2024-11-22 05:00:54 +00:00
Merge pull request #60 from ZhengYang/master
add time into temporal type
This commit is contained in:
commit
89a23fefca
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user