xormplus пре 8 година
родитељ
комит
62fdae93b7
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      column.go

+ 2 - 1
column.go

@@ -13,12 +13,13 @@ const (
 	ONLYFROMDB
 )
 
-// database column
+// Column defines database column
 type Column struct {
 	Name            string
 	TableName       string
 	FieldName       string
 	SQLType         SQLType
+	IsJSON          bool
 	Length          int
 	Length2         int
 	Nullable        bool