From d98d8be69a64acb7396c0a8cb425f6b502f3a152 Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Tue, 4 Dec 2018 14:43:20 +0100 Subject: [PATCH] add(crm): add options field as json --- crm/types/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crm/types/types.go b/crm/types/types.go index 5a3e6f588..55c8a489d 100644 --- a/crm/types/types.go +++ b/crm/types/types.go @@ -74,6 +74,8 @@ type ( Default string `json:"defaultValue,omitempty" db:"default_value"` MaxLength int `json:"maxLength" db:"max_length"` + Options types.JSONText `json:"options" db:"json"` + Private bool `json:"isPrivate" db:"is_private"` Required bool `json:"isRequired" db:"is_required"` Visible bool `json:"isVisible" db:"is_visible"`