10 lines
213 B
Ruby
10 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
|