Add support for jsonb (#19)

`jsonb` type can work like `json` type now.
This commit is contained in:
u0x01 2016-12-14 11:05:06 +08:00 committed by Lunny Xiao
parent 67db61fb96
commit 87aca22337
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func (s *SQLType) IsNumeric() bool {
}
func (s *SQLType) IsJson() bool {
return s.Name == Json
return s.Name == Json || s.Name == Jsonb
}
var (