diff --git a/db/migrate/055_add_repositories_type.rb b/db/migrate/055_add_repositories_type.rb index 599f70aac..f5a71620c 100644 --- a/db/migrate/055_add_repositories_type.rb +++ b/db/migrate/055_add_repositories_type.rb @@ -1,6 +1,6 @@ class AddRepositoriesType < ActiveRecord::Migration def self.up - add_column :repositories, :type, :string + add_column :repositories, :type, :string # Set class name for existing SVN repositories Repository.update_all "type = 'Subversion'" end