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

Version Path
katello-3.14.0 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.13.3 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.14.0.rc2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.13.2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.14.0.rc1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.13.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.13.0 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.13.0.rc2.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.13.0.rc2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.12.3 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.12.2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.13.0.rc1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.12.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.11.2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.10.2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.12.0 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.12.0.rc2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.10.1.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.12.0.rc1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.10.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb