Allow changing number of automaticly created next weekly tasks.
This commit is contained in:
parent
ca68091914
commit
7d54a416df
5 changed files with 35 additions and 19 deletions
|
|
@ -0,0 +1,9 @@
|
|||
class AddNextWeeklyTasksNumberToWorkgroups < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :groups, :next_weekly_tasks_number, :integer, :default => 8
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :groups, :next_weekly_tasks_number
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue