Sha256: 113e1d1cdedb8b37cf94c4f1ad02de3f5f86d77f8855e971e60c04f6e0eba466
Contents?: true
Size: 264 Bytes
Versions: 59
Compression:
Stored size: 264 Bytes
Contents
class AddRpmNvra < ActiveRecord::Migration[4.2] def up add_column :katello_rpms, :nvra, :string, :limit => 1020 Katello::Rpm.find_each { |r| r.update_attributes!(:nvra => r.build_nvra) } end def down remove_column :katello_rpms, :nvra end end
Version data entries
59 entries across 59 versions & 1 rubygems