remove trailing white-spaces from db/migrate/055_add_repositories_type.rb (#9510)
Contributed by Igor Zubkov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7749 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5bdbf1aa15
commit
90c10d16b8
|
@ -1,6 +1,6 @@
|
||||||
class AddRepositoriesType < ActiveRecord::Migration
|
class AddRepositoriesType < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
add_column :repositories, :type, :string
|
add_column :repositories, :type, :string
|
||||||
# Set class name for existing SVN repositories
|
# Set class name for existing SVN repositories
|
||||||
Repository.update_all "type = 'Subversion'"
|
Repository.update_all "type = 'Subversion'"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue