diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-09 18:03:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-09 18:03:31 +0000 |
commit | 7a20a4d32b718f803aa4e3af286ab6a2275b8b6f (patch) | |
tree | 6c8d7d0bf8c4b58cb4f6b7ac4d1b13840fa3890e /db | |
parent | 8cbb78bb1dd2926f1168573d3ec0c86ea459f8f0 (diff) | |
download | redmine-7a20a4d32b718f803aa4e3af286ab6a2275b8b6f.tar.gz redmine-7a20a4d32b718f803aa4e3af286ab6a2275b8b6f.zip |
feature #9137 Password-protected SVN repositories
* added login and password attributes on repositories
* fixed svn calls (svn waiting for user input)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@319 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/026_add_repository_login_and_password.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/026_add_repository_login_and_password.rb b/db/migrate/026_add_repository_login_and_password.rb new file mode 100644 index 000000000..5fc919725 --- /dev/null +++ b/db/migrate/026_add_repository_login_and_password.rb @@ -0,0 +1,11 @@ +class AddRepositoryLoginAndPassword < ActiveRecord::Migration + def self.up + add_column :repositories, :login, :string, :limit => 60, :default => "" + add_column :repositories, :password, :string, :limit => 60, :default => "" + end + + def self.down + remove_column :repositories, :login + remove_column :repositories, :password + end +end |