gitlab-org--gitlab-foss/db/migrate/20190612111404_add_geo_container_sync_capacity.rb
Valery Sizov f519a4b72f Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809
Introducing Docker Registry replication
2019-08-01 20:38:07 +03:00

13 lines
316 B
Ruby

# 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