Adds support for SCM/LDAP passwords encryption in the database (#7411).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4950 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class ChangeRepositoriesPasswordLimit < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_column :repositories, :password, :string, :limit => nil, :default => ''
|
||||
end
|
||||
|
||||
def self.down
|
||||
change_column :repositories, :password, :string, :limit => 60, :default => ''
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
class ChangeAuthSourcesAccountPasswordLimit < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_column :auth_sources, :account_password, :string, :limit => nil, :default => ''
|
||||
end
|
||||
|
||||
def self.down
|
||||
change_column :auth_sources, :account_password, :string, :limit => 60, :default => ''
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user