diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-08-01 23:15:51 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-08-01 23:15:51 +0300 |
commit | b2dd581be375e4f21af9d2c487528ffd06508618 (patch) | |
tree | 95c3be4f5fe1dd078b84a3ab81db2ff90c211f86 /db/migrate | |
parent | cbe51cce7a5676a0c8808218cf12754c9e1d5e53 (diff) | |
parent | f519a4b72f81a1e3c81e5e684d236bbe30e0dd2d (diff) |
Merge branch 'ce-docker_image_replication' into 'master'
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809
See merge request gitlab-org/gitlab-ce!31375
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190612111404_add_geo_container_sync_capacity.rb | 13 |
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 |