diff --git a/db/migrate/081_create_projects_trackers.rb b/db/migrate/081_create_projects_trackers.rb index 70fea188e..193da07f6 100644 --- a/db/migrate/081_create_projects_trackers.rb +++ b/db/migrate/081_create_projects_trackers.rb @@ -5,7 +5,7 @@ class CreateProjectsTrackers < ActiveRecord::Migration t.column :tracker_id, :integer, :default => 0, :null => false end add_index :projects_trackers, :project_id, :name => :projects_trackers_project_id - + # Associates all trackers to all projects (as it was before) tracker_ids = Tracker.find(:all).collect(&:id) Project.find(:all).each do |project|