Sha256: d52da0732dee027af547c8012dacd4ee235bb04271dd5e62ddb2c9eb780018b7
Contents?: true
Size: 515 Bytes
Versions: 113
Compression:
Stored size: 515 Bytes
Contents
class ChangeTasksWidgetNames < ActiveRecord::Migration[4.2] 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
113 entries across 113 versions & 1 rubygems