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

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

class AddPackagesCleanupPackageFileWorkerCapacityToApplicationSettings < Gitlab::Database::Migration[1.0]
  enable_lock_retries!

  def change
    add_column :application_settings,
               :packages_cleanup_package_file_worker_capacity,
               :smallint,
               default: 2,
               null: false
  end
end