diff --git a/db/Integration.go b/db/Integration.go
index ae159330..59e37363 100644
--- a/db/Integration.go
+++ b/db/Integration.go
@@ -80,7 +80,6 @@ type Integration struct {
AuthSecretID *int `db:"auth_secret_id" json:"auth_secret_id"`
AuthHeader string `db:"auth_header" json:"auth_header"`
AuthSecret AccessKey `db:"-" json:"-"`
- Searchable bool `db:"searchable" json:"searchable"`
}
func (env *Integration) Validate() error {
diff --git a/db/sql/integration.go b/db/sql/integration.go
index 2b883394..463d453d 100644
--- a/db/sql/integration.go
+++ b/db/sql/integration.go
@@ -16,15 +16,14 @@ func (d *SqlDb) CreateIntegration(integration db.Integration) (newIntegration db
insertID, err := d.insert(
"id",
"insert into project__integration "+
- "(project_id, name, template_id, auth_method, auth_secret_id, auth_header, searchable) values "+
+ "(project_id, name, template_id, auth_method, auth_secret_id, auth_header) values "+
"(?, ?, ?, ?, ?, ?, ?)",
integration.ProjectID,
integration.Name,
integration.TemplateID,
integration.AuthMethod,
integration.AuthSecretID,
- integration.AuthHeader,
- integration.Searchable)
+ integration.AuthHeader)
if err != nil {
return
@@ -83,13 +82,12 @@ func (d *SqlDb) UpdateIntegration(integration db.Integration) error {
}
_, err = d.exec(
- "update project__integration set `name`=?, template_id=?, auth_method=?, auth_secret_id=?, auth_header=?, searchable=? where `id`=?",
+ "update project__integration set `name`=?, template_id=?, auth_method=?, auth_secret_id=?, auth_header=? where `id`=?",
integration.Name,
integration.TemplateID,
integration.AuthMethod,
integration.AuthSecretID,
integration.AuthHeader,
- integration.Searchable,
integration.ID)
return err
diff --git a/web/src/views/project/IntegrationExtractor.vue b/web/src/views/project/IntegrationExtractor.vue
index f0e353a1..f691ffe1 100644
--- a/web/src/views/project/IntegrationExtractor.vue
+++ b/web/src/views/project/IntegrationExtractor.vue
@@ -16,7 +16,7 @@
- {{ aliases == null ? 'Loading aliases...' : 'Add Alias' }}
+ {{ aliases == null ? 'Loading aliases...' : 'Add Public Alias' }}
diff --git a/web/src/views/project/Integrations.vue b/web/src/views/project/Integrations.vue
index b8991630..63a1a137 100644
--- a/web/src/views/project/Integrations.vue
+++ b/web/src/views/project/Integrations.vue
@@ -59,7 +59,7 @@
- {{ aliases == null ? 'Loading aliases...' : 'Add Alias' }}
+ {{ aliases == null ? 'Loading aliases...' : 'Add Public Alias' }}