debian-mirror-gitlab/db/migrate/20211224112937_add_packages_cleanup_package_file_worker_capacity_to_application_settings.rb
2022-03-02 08:16:31 +05:30

14 lines
365 B
Ruby

# 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