add default type of string

This commit is contained in:
Simon Vieille 2024-07-18 15:26:45 +02:00
commit 6c9e1cfd06
Signed by untrusted user: deblan
GPG key ID: 579388D585F70417
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,9 @@
## [Unreleased] ## [Unreleased]
## v1.2.1
### Fixed
- add default type of string
## v1.2.0 ## v1.2.0
### Added ### Added
- add "lorem_word" faker - add "lorem_word" faker

View file

@ -73,6 +73,7 @@ func GetRows(db *sql.DB, query, table, dbType string) map[int]map[string]data.Da
value := values[i] value := values[i]
d := data.Data{ d := data.Data{
IsVirtual: false, IsVirtual: false,
IsString: true,
IsNull: value == nil, IsNull: value == nil,
} }