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.18.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.18.0 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.17.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.16.2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.18.0.rc2.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.18.0.rc2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.17.0 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.18.0.rc1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.17.0.rc2.2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.17.0.rc2.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.16.1.2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.16.1.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.17.0.rc2 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.16.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.17.0.rc1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.16.0 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.16.0.rc5.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.16.0.rc5 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.16.0.rc4.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb
katello-3.15.3.1 db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb