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