Sha256: a15b934dc4e08f8570dce4a284895f706d66d6cc0b2552adba03c4aa97535ef2
Contents?: true
Size: 335 Bytes
Versions: 65
Compression:
Stored size: 335 Bytes
Contents
class FixDockerDownloadPolicy < ActiveRecord::Migration[6.0] def up Katello::RootRepository.where(content_type: "docker") .where(download_policy: [nil, ""]) .update_all(:download_policy => "immediate") end def down fail ActiveRecord::IrreversibleMigration end end
Version data entries
65 entries across 65 versions & 1 rubygems