remove trailing white-spaces from db/migrate/068_create_enabled_modules.rb (#9510)
Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7753 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9497eb5b48
commit
f8da2233db
|
@ -5,7 +5,7 @@ class CreateEnabledModules < ActiveRecord::Migration
|
|||
t.column :name, :string, :null => false
|
||||
end
|
||||
add_index :enabled_modules, [:project_id], :name => :enabled_modules_project_id
|
||||
|
||||
|
||||
# Enable all modules for existing projects
|
||||
Project.find(:all).each do |project|
|
||||
project.enabled_module_names = Redmine::AccessControl.available_project_modules
|
||||
|
|
Loading…
Reference in New Issue