Sha256: 6d3666cd36d4dcec044380196ad0d2cfb0b205470cb306939ffd8cf3121e736b
Contents?: true
Size: 494 Bytes
Versions: 4
Compression:
Stored size: 494 Bytes
Contents
class ChangeTasksWidgetNames < ActiveRecord::Migration def up Widget.where(:name => 'Tasks Status table').\ update_all(:name => 'Task Status') Widget.where(:name => 'Tasks in Error/Warning').\ update_all(:name => 'Latest Warning/Error Tasks') end def down Widget.where(:name => 'Task Status').\ update_all(:name => 'Tasks Status table') Widget.where(:name => 'Latest Warning/Error Tasks').\ update_all(:name => 'Tasks in Error/Warning') end end
Version data entries
4 entries across 4 versions & 1 rubygems