Sha256: 27eb78ab55d98fdfe586e0c3bb4c1de0d5898fab077b8e93925f13bd6650fd53
Contents?: true
Size: 375 Bytes
Versions: 37
Compression:
Stored size: 375 Bytes
Contents
class AddDownloadPolicyToKatelloRepositories < ActiveRecord::Migration class DownloadPolicyRepository < ActiveRecord::Base self.table_name = "katello_repositories" end def change add_column :katello_repositories, :download_policy, :string, :limit => 255 DownloadPolicyRepository.where(content_type: 'yum').update_all(download_policy: 'immediate') end end
Version data entries
37 entries across 37 versions & 1 rubygems