Sha256: 2d5444769ccb5060aae55cdca212c661775433f49657b8777e54e91b89d23392
Contents?: true
Size: 374 Bytes
Versions: 7
Compression:
Stored size: 374 Bytes
Contents
class AddDownloadPolicyToKatelloRepositories < ActiveRecord::Migration class DownloadPolicyRepository < ApplicationRecord 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
7 entries across 7 versions & 1 rubygems