foodsoft/db/migrate/20110507192928_add_task_duration_to_workgroups.rb
benni c2496aa4fd Consider task duration in ordergroup stats.
* Also added duration to task template in workgroup task_duration.
2011-05-07 21:54:00 +02:00

9 lines
213 B
Ruby

class AddTaskDurationToWorkgroups < ActiveRecord::Migration
def self.up
add_column :groups, :task_duration, :integer, :default => 1
end
def self.down
remove_column :groups, :task_duration
end
end