class UseXInsteadOfTimesInLineItems < ActiveRecord::Migration
  def up
    LineItem.where(:quantity => 'times').update_all(:quantity => 'x')
  end

  def down
    LineItem.where(:quantity => 'x').update_all(:quantity => 'times')
  end
end

class UseXInsteadOfTimesInLineItems < ActiveRecord::Migration
  def up
    LineItem.unscoped.where(:quantity => 'times').update_all(:quantity => 'x')
  end

  def down
    LineItem.unscoped.where(:quantity => 'x').update_all(:quantity => 'times')
  end
end

Fix migration to not use default_scope on LineItem.
Fix migration to not use default_scope on LineItem.
