mirror of
https://github.com/beego/bee.git
synced 2024-11-25 20:10:55 +00:00
add time into temporal type
This commit is contained in:
parent
5ec39d71ed
commit
05882bb4f6
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user