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 (