Skip to content
Snippets Groups Projects
Commit 756cce56 authored by Madelein van Niekerk's avatar Madelein van Niekerk
Browse files

Undo rename

parent 3d702999
No related branches found
No related tags found
No related merge requests found
---
name: AddEmbeddingToWorkItemsElastic
name: AddEmbeddingToWorkItems
version: '20241003142503'
description: Adds the embedding field to workitems index when running Elasticsearch
group: group::global search
Loading
Loading
# frozen_string_literal: true
 
class AddEmbeddingToWorkItemsElastic < Elastic::Migration
class AddEmbeddingToWorkItems < Elastic::Migration
include Elastic::MigrationUpdateMappingsHelper
 
skip_if -> { !elasticsearch_8_plus? }
Loading
Loading
# frozen_string_literal: true
 
require 'spec_helper'
require File.expand_path('ee/elastic/migrate/20241003142503_add_embedding_to_work_items_elastic.rb')
require File.expand_path('ee/elastic/migrate/20241003142503_add_embedding_to_work_items.rb')
 
RSpec.describe AddEmbeddingToWorkItemsElastic, feature_category: :global_search do
RSpec.describe AddEmbeddingToWorkItems, feature_category: :global_search do
let(:version) { 20241003142503 }
let(:migration) { described_class.new(version) }
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment