Sha256: 7bec54942402e9aa6bc9e0ea3af0d766cf53a68902e9fdfc635bc66a90e98cae
Contents?: true
Size: 380 Bytes
Versions: 10
Compression:
Stored size: 380 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
10 entries across 10 versions & 1 rubygems