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

20190515125613_add_application_settings_elasticsearch_shards.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9cebc0f8db41d6d4e09993fc7309fa9981e2f860 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class AddApplicationSettingsElasticsearchShards < ActiveRecord::Migration[5.1]
  DOWNTIME = false

  def change
    add_column :application_settings, :elasticsearch_shards, :integer, null: false, default: 5
    add_column :application_settings, :elasticsearch_replicas, :integer, null: false, default: 1
  end
end