Sha256: 00e53379a494bb1b4ff41d2a1437512ff0728b0b610dcdebb7b75436c29671fe
Contents?: true
Size: 583 Bytes
Versions: 19
Compression:
Stored size: 583 Bytes
Contents
class ChangeScapWidgetNames < ActiveRecord::Migration def up Widget.where(:name => 'OpenSCAP Host reports widget')\ .update_all(:name => 'Latest Compliance Reports') Widget.where(:name => 'OpenSCAP Reports breakdown widget')\ .update_all(:name => 'Compliance Reports Breakdown') end def down Widget.where(:name => 'Latest Compliance Reports')\ .update_all(:name => 'OpenSCAP Host reports widget') Widget.where(:name => 'Compliance Reports Breakdown')\ .update_all(:name => 'OpenSCAP Reports breakdown widget') end end
Version data entries
19 entries across 19 versions & 1 rubygems