Sha256: e110c234772eb93e102afd0f7c5e508d44899a2fd38f3928c1ee0ea14ab28cab
Contents?: true
Size: 253 Bytes
Versions: 136
Compression:
Stored size: 253 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!(:nvra => r.build_nvra) } end def down remove_column :katello_rpms, :nvra end end
Version data entries
136 entries across 136 versions & 1 rubygems