do not update empty value
This commit is contained in:
parent
7194f2b354
commit
e24f7f3dc0
|
@ -40,7 +40,7 @@ func (d *Data) IsTwigExpression() bool {
|
|||
}
|
||||
|
||||
func (d *Data) Update(row map[string]Data) {
|
||||
if !d.IsPrimaryKey && d.Faker != "" {
|
||||
if !d.IsPrimaryKey && d.Faker != "" && d.Value != "" {
|
||||
if d.IsTwigExpression() {
|
||||
env := twig.New(nil)
|
||||
params := map[string]stick.Value{}
|
||||
|
|
Loading…
Reference in a new issue