Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/migrations/elasticsearch/elasticsearch_clash_migration.txt')
-rw-r--r--spec/fixtures/migrations/elasticsearch/elasticsearch_clash_migration.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/fixtures/migrations/elasticsearch/elasticsearch_clash_migration.txt b/spec/fixtures/migrations/elasticsearch/elasticsearch_clash_migration.txt
new file mode 100644
index 00000000000..e723d9f44e7
--- /dev/null
+++ b/spec/fixtures/migrations/elasticsearch/elasticsearch_clash_migration.txt
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+class ClashMigration < Elastic::Migration
+ include Elastic::MigrationCreateIndex
+
+ retry_on_failure
+
+ def document_type
+ :epic
+ end
+
+ def target_class
+ Epic
+ end
+end