foodsoft/db/migrate/20110507192928_add_task_duration_to_workgroups.rb
2020-09-05 14:40:11 +02:00

9 lines
218 B
Ruby

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