Sha256: 94dea7b278719474c6848b38d7a2fecb1c4ce316bd9e590ee28effaf5b54979d
Contents?: true
Size: 378 Bytes
Versions: 9
Compression:
Stored size: 378 Bytes
Contents
class RemoveDrpmFromIgnorableContent < ActiveRecord::Migration[6.0] def up Katello::RootRepository.select { |r| !r&.ignorable_content&.blank? }.each do |root| if root&.ignorable_content&.include?("srpm") root.ignorable_content = ["srpm"] else root.ignorable_content = [] end root.save! end end def down #noop end end
Version data entries
9 entries across 9 versions & 1 rubygems