3
0

Revert "Dont omit empty record values value"

This reverts commit 959e2742c1.

This issue was resolved inside corteza-js
https://github.com/cortezaproject/corteza-js/pull/10
This commit is contained in:
Tomaž Jerman
2020-05-10 14:25:53 +02:00
parent 959e2742c1
commit d09fec19ca

View File

@@ -14,7 +14,7 @@ type (
RecordValue struct {
RecordID uint64 `db:"record_id" json:"-"`
Name string `db:"name" json:"name"`
Value string `db:"value" json:"value"`
Value string `db:"value" json:"value,omitempty"`
Ref uint64 `db:"ref" json:"-"`
Place uint `db:"place" json:"-"`
DeletedAt *time.Time `db:"deleted_at" json:"deletedAt,omitempty"`