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 'db/migrate/20200204070729_add_elasticsearch_indexed_field_length_limit_to_application_settings.rb')
-rw-r--r--db/migrate/20200204070729_add_elasticsearch_indexed_field_length_limit_to_application_settings.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20200204070729_add_elasticsearch_indexed_field_length_limit_to_application_settings.rb b/db/migrate/20200204070729_add_elasticsearch_indexed_field_length_limit_to_application_settings.rb
deleted file mode 100644
index 7d478706613..00000000000
--- a/db/migrate/20200204070729_add_elasticsearch_indexed_field_length_limit_to_application_settings.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddElasticsearchIndexedFieldLengthLimitToApplicationSettings < ActiveRecord::Migration[6.0]
- DOWNTIME = false
-
- def up
- add_column :application_settings, :elasticsearch_indexed_field_length_limit, :integer, null: false, default: 0
-
- if Gitlab.com?
- execute 'UPDATE application_settings SET elasticsearch_indexed_field_length_limit = 20000'
- end
- end
-
- def down
- remove_column :application_settings, :elasticsearch_indexed_field_length_limit
- end
-end