remove trailing white-spaces from db/migrate/081_create_projects_trackers.rb (#9510)
Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7754 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f8da2233db
commit
a40e2ec5c7
|
@ -5,7 +5,7 @@ class CreateProjectsTrackers < ActiveRecord::Migration
|
||||||
t.column :tracker_id, :integer, :default => 0, :null => false
|
t.column :tracker_id, :integer, :default => 0, :null => false
|
||||||
end
|
end
|
||||||
add_index :projects_trackers, :project_id, :name => :projects_trackers_project_id
|
add_index :projects_trackers, :project_id, :name => :projects_trackers_project_id
|
||||||
|
|
||||||
# Associates all trackers to all projects (as it was before)
|
# Associates all trackers to all projects (as it was before)
|
||||||
tracker_ids = Tracker.find(:all).collect(&:id)
|
tracker_ids = Tracker.find(:all).collect(&:id)
|
||||||
Project.find(:all).each do |project|
|
Project.find(:all).each do |project|
|
||||||
|
|
Loading…
Reference in New Issue