redmine/db/migrate/031_add_repository_root_url.rb
Jean-Philippe Lang fd37f37ee4 fixed problems when svn path doesn't point to the root directory of the repository.
a root_url property has been added on the repository. it's automatically retrieved the first time the repository is browsed

git-svn-id: http://redmine.rubyforge.org/svn/trunk@344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-03-18 15:48:05 +00:00

10 lines
223 B
Ruby

class AddRepositoryRootUrl < ActiveRecord::Migration
def self.up
add_column :repositories, :root_url, :string, :limit => 255, :default => ""
end
def self.down
remove_column :repositories, :root_url
end
end