Sha256: 12185b205ec73022720aa2fdbbd057544dab49fcf3964b3bb390065d72994a5b
Contents?: true
Size: 379 Bytes
Versions: 185
Compression:
Stored size: 379 Bytes
Contents
class AddDownloadPolicyToKatelloRepositories < ActiveRecord::Migration[4.2] 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
185 entries across 185 versions & 1 rubygems