Removed indexing for value fields

This commit is contained in:
frikky
2020-09-28 07:20:14 +02:00
parent f6edb2aeb7
commit 62c01b2df8
2 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -150,7 +150,7 @@ type UserAuth struct {
type UserAuthField struct { type UserAuthField struct {
Key string `json:"key" datastore:"key"` Key string `json:"key" datastore:"key"`
Value string `json:"value" datastore:"value"` Value string `json:"value" datastore:"value,noindex"`
} }
// Not environment, but execution environment // Not environment, but execution environment
@@ -209,7 +209,7 @@ type Contact struct {
type Translator struct { type Translator struct {
Src struct { Src struct {
Name string `json:"name" datastore:"name"` Name string `json:"name" datastore:"name"`
Value string `json:"value" datastore:"value"` Value string `json:"value" datastore:"value,noindex"`
Description string `json:"description" datastore:"description,noindex"` Description string `json:"description" datastore:"description,noindex"`
Required string `json:"required" datastore:"required"` Required string `json:"required" datastore:"required"`
Type string `json:"type" datastore:"type"` Type string `json:"type" datastore:"type"`
@@ -219,7 +219,7 @@ type Translator struct {
} `json:"src" datastore:"src"` } `json:"src" datastore:"src"`
Dst struct { Dst struct {
Name string `json:"name" datastore:"name"` Name string `json:"name" datastore:"name"`
Value string `json:"value" datastore:"value"` Value string `json:"value" datastore:"value,noindex"`
Type string `json:"type" datastore:"type"` Type string `json:"type" datastore:"type"`
Description string `json:"description" datastore:"description,noindex"` Description string `json:"description" datastore:"description,noindex"`
Required string `json:"required" datastore:"required"` Required string `json:"required" datastore:"required"`
@@ -231,7 +231,7 @@ type Translator struct {
type Appconfig struct { type Appconfig struct {
Key string `json:"key" datastore:"key"` Key string `json:"key" datastore:"key"`
Value string `json:"value" datastore:"value"` Value string `json:"value" datastore:"value,noindex"`
} }
type ScheduleApp struct { type ScheduleApp struct {
+5 -5
View File
@@ -129,7 +129,7 @@ type WorkflowAppActionParameter struct {
ID string `json:"id" datastore:"id" yaml:"id,omitempty"` ID string `json:"id" datastore:"id" yaml:"id,omitempty"`
Name string `json:"name" datastore:"name" yaml:"name"` Name string `json:"name" datastore:"name" yaml:"name"`
Example string `json:"example" datastore:"example" yaml:"example"` Example string `json:"example" datastore:"example" yaml:"example"`
Value string `json:"value" datastore:"value" yaml:"value,omitempty"` Value string `json:"value" datastore:"value,noindex" yaml:"value,omitempty"`
Multiline bool `json:"multiline" datastore:"multiline" yaml:"multiline"` Multiline bool `json:"multiline" datastore:"multiline" yaml:"multiline"`
Options []string `json:"options" datastore:"options" yaml:"options"` Options []string `json:"options" datastore:"options" yaml:"options"`
ActionField string `json:"action_field" datastore:"action_field" yaml:"actionfield,omitempty"` ActionField string `json:"action_field" datastore:"action_field" yaml:"actionfield,omitempty"`
@@ -163,7 +163,7 @@ type WorkflowAppAction struct {
Description string `json:"description" datastore:"description,noindex"` Description string `json:"description" datastore:"description,noindex"`
ID string `json:"id" datastore:"id"` ID string `json:"id" datastore:"id"`
Name string `json:"name" datastore:"name"` Name string `json:"name" datastore:"name"`
Value string `json:"value" datastore:"value"` Value string `json:"value" datastore:"value,noindex"`
} `json:"execution_variable" datastore:"execution_variables"` } `json:"execution_variable" datastore:"execution_variables"`
Returns struct { Returns struct {
Description string `json:"description" datastore:"returns" yaml:"description,omitempty"` Description string `json:"description" datastore:"returns" yaml:"description,omitempty"`
@@ -308,7 +308,7 @@ type Workflow struct {
Description string `json:"description" datastore:"description,noindex"` Description string `json:"description" datastore:"description,noindex"`
ID string `json:"id" datastore:"id"` ID string `json:"id" datastore:"id"`
Name string `json:"name" datastore:"name"` Name string `json:"name" datastore:"name"`
Value string `json:"value" datastore:"value"` Value string `json:"value" datastore:"value,noindex"`
} `json:"workflow_variables" datastore:"workflow_variables"` } `json:"workflow_variables" datastore:"workflow_variables"`
ExecutionVariables []struct { ExecutionVariables []struct {
Description string `json:"description" datastore:"description,noindex"` Description string `json:"description" datastore:"description,noindex"`
@@ -338,7 +338,7 @@ type AuthenticationParams struct {
ID string `json:"id" datastore:"id" yaml:"id"` ID string `json:"id" datastore:"id" yaml:"id"`
Name string `json:"name" datastore:"name" yaml:"name"` Name string `json:"name" datastore:"name" yaml:"name"`
Example string `json:"example" datastore:"example" yaml:"example"` Example string `json:"example" datastore:"example" yaml:"example"`
Value string `json:"value,omitempty" datastore:"value" yaml:"value"` Value string `json:"value,omitempty" datastore:"value,noindex" yaml:"value"`
Multiline bool `json:"multiline" datastore:"multiline" yaml:"multiline"` Multiline bool `json:"multiline" datastore:"multiline" yaml:"multiline"`
Required bool `json:"required" datastore:"required" yaml:"required"` Required bool `json:"required" datastore:"required" yaml:"required"`
In string `json:"in" datastore:"in" yaml:"in"` In string `json:"in" datastore:"in" yaml:"in"`
@@ -348,7 +348,7 @@ type AuthenticationParams struct {
type AuthenticationStore struct { type AuthenticationStore struct {
Key string `json:"key" datastore:"key"` Key string `json:"key" datastore:"key"`
Value string `json:"value" datastore:"value"` Value string `json:"value" datastore:"value,noindex"`
} }
type ExecutionRequestWrapper struct { type ExecutionRequestWrapper struct {