Sha256: 53d8e4e47ef4bdae00d35285912f049edb1db3ffbf0a1d571fef131055ff6984
Contents?: true
Size: 471 Bytes
Versions: 158
Compression:
Stored size: 471 Bytes
Contents
class AddHttpProxyPolicyToRepositoryRoot < ActiveRecord::Migration[5.2] def change add_column :katello_root_repositories, :http_proxy_policy, :string, default: Katello::RootRepository::GLOBAL_DEFAULT_HTTP_PROXY Katello::RootRepository.where(ignore_global_proxy: true).each do |repo| repo.update(http_proxy_policy: Katello::RootRepository::NO_DEFAULT_HTTP_PROXY) end remove_column :katello_root_repositories, :ignore_global_proxy end end
Version data entries
158 entries across 158 versions & 1 rubygems