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:
authorValery Sizov <valery@gitlab.com>2019-08-01 15:03:08 +0300
committerValery Sizov <valery@gitlab.com>2019-08-01 20:38:07 +0300
commitf519a4b72f81a1e3c81e5e684d236bbe30e0dd2d (patch)
tree469cbc073884f0a8f30ae7fd474b699c4ac47c13 /db/migrate
parentbeb7d8922746942f1f4108108b04859ba61ea1ea (diff)
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809
Introducing Docker Registry replication
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190612111404_add_geo_container_sync_capacity.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20190612111404_add_geo_container_sync_capacity.rb b/db/migrate/20190612111404_add_geo_container_sync_capacity.rb
new file mode 100644
index 00000000000..d4cd569f460
--- /dev/null
+++ b/db/migrate/20190612111404_add_geo_container_sync_capacity.rb
@@ -0,0 +1,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