Outlined new concept for multiple periodically recurring tasks (#3).

This commit is contained in:
Robert Waltemath 2012-11-28 10:13:54 +01:00
parent 1822b330d1
commit 1cdb9e8501
7 changed files with 73 additions and 8 deletions

View file

@ -0,0 +1,13 @@
class CreatePeriodicTaskGroups < ActiveRecord::Migration
def change
create_table :periodic_task_groups do |t|
t.date :next_task_date
t.timestamps
end
change_table :tasks do |t|
t.references :periodic_task_group
end
end
end