add(crm): migrations for required and visible
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
ALTER TABLE `crm_module_form` ADD `is_required` TINYINT(1) NOT NULL AFTER `is_private`, ADD `is_visible` TINYINT(1) NOT NULL AFTER `is_required`;
|
||||
+4
-1
@@ -73,7 +73,10 @@ type (
|
||||
HelpText string `json:"helpText,omitempty" db:"help_text"`
|
||||
Default string `json:"defaultValue,omitempty" db:"default_value"`
|
||||
MaxLength int `json:"maxLength" db:"max_length"`
|
||||
Private bool `json:"isPrivate" db:"is_private"`
|
||||
|
||||
Private bool `json:"isPrivate" db:"is_private"`
|
||||
Required bool `json:"isRequired" db:"is_required"`
|
||||
Visible bool `json:"isVisible" db:"is_visible"`
|
||||
}
|
||||
|
||||
// Page - page structure
|
||||
|
||||
Reference in New Issue
Block a user