@@ -392,7 +392,7 @@ func makeValueFuncs(conn *sql.DB, fields []tableparser.Field) insertValues {
392
392
values = append (values , getters .NewRandomDate (field .ColumnName , field .IsNullable ))
393
393
case "datetime" , "timestamp" :
394
394
values = append (values , getters .NewRandomDateTime (field .ColumnName , field .IsNullable ))
395
- case "blob" , "text" , "mediumtext" , "mediumblob" , "longblob" , "longtext" :
395
+ case "tinyblob" , "tinytext" , " blob" , "text" , "mediumtext" , "mediumblob" , "longblob" , "longtext" :
396
396
values = append (values , getters .NewRandomString (field .ColumnName ,
397
397
field .CharacterMaximumLength .Int64 , field .IsNullable ))
398
398
case "time" :
@@ -458,8 +458,8 @@ func getSamples(conn *sql.DB, schema, table, field string, samples int64, dataTy
458
458
var v int64
459
459
err = rows .Scan (& v )
460
460
val = v
461
- case "char" , "varchar" , "varbinary" , "blob " , "text " , "mediumtext " ,
462
- "mediumblob" , "longblob" , "longtext" :
461
+ case "char" , "varchar" , "varbinary" , "tinyblob " , "tinytext " , "blob" , "text " ,
462
+ "mediumtext" , " mediumblob" , "longblob" , "longtext" :
463
463
var v string
464
464
err = rows .Scan (& v )
465
465
val = v
@@ -508,6 +508,8 @@ func isSupportedType(fieldType string) bool {
508
508
"timestamp" : true ,
509
509
"time" : true ,
510
510
"year" : true ,
511
+ "tinyblob" : true ,
512
+ "tinytext" : true ,
511
513
"blob" : true ,
512
514
"text" : true ,
513
515
"mediumblob" : true ,
0 commit comments