Merge commit '1cdb9e8501' into rails3-multiple-recurring-tasks
Conflicts: Gemfile db/schema.rb
This commit is contained in:
commit
981944b869
7 changed files with 75 additions and 3 deletions
13
db/migrate/20121115073715_create_periodic_task_groups.rb
Normal file
13
db/migrate/20121115073715_create_periodic_task_groups.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue