2020-08-07 01:14:14 +02:00
|
|
|
class AddTaskDurationToWorkgroups < ActiveRecord::Migration[4.2]
|
2011-05-07 21:54:00 +02:00
|
|
|
def self.up
|
2023-05-12 13:01:12 +02:00
|
|
|
add_column :groups, :task_duration, :integer, default: 1
|
2011-05-07 21:54:00 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_column :groups, :task_duration
|
|
|
|
end
|
|
|
|
end
|