Sha256: c8608b5b86ce3a0000e67794e5602d512f2ff9f73f602901ef9b080f22156763
Contents?: true
Size: 344 Bytes
Versions: 104
Compression:
Stored size: 344 Bytes
Contents
class InstalledPackageBadNvrea < ActiveRecord::Migration[5.2] def up Katello::InstalledPackage.where(:epoch => "0").find_each do |pkg| simple = Katello::Pulp::SimplePackage.new(pkg.attributes) if pkg.nvrea != simple.nvrea pkg.update_column(:nvrea, simple.nvrea) end end end def down #noop end end
Version data entries
104 entries across 104 versions & 1 rubygems