xormplus пре 9 година
родитељ
комит
608c49847e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      type.go

+ 1 - 1
type.go

@@ -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 (