summaryrefslogtreecommitdiff
path: root/db/migrate/20190612111404_add_geo_container_sync_capacity.rb
blob: d4cd569f4604f422bae02bb474269b06e5063a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddGeoContainerSyncCapacity < ActiveRecord::Migration[5.1]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    change_table :geo_nodes do |t|
      t.column :container_repositories_max_capacity, :integer, default: 10, null: false
    end
  end
end