foodsoft/db/migrate/20110507184920_add_duration_to_tasks.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
192 B
Ruby

class AddDurationToTasks < ActiveRecord::Migration
def self.up
add_column :tasks, :duration, :integer, :default => 1
end
def self.down
remove_column :tasks, :duration
end
end