foodsoft/db/migrate/20121216180646_remove_assigned_from_tasks.rb
benni 0dff5ea784 Fixed some bugs in tasks, apple feature:
* Update ordergroup stats when task is destroyed.
* Removed assigned caching attribute in task object.
* A lot of eager loading for tasks controller.
2012-12-16 19:07:45 +01:00

9 lines
172 B
Ruby

class RemoveAssignedFromTasks < ActiveRecord::Migration
def up
remove_column :tasks, :assigned
end
def down
add_column :tasks, :assigned, :boolean
end
end