redmine/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb
Jean-Philippe Lang a78d565959 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
2011-02-26 13:09:25 +00:00

10 rivejä
298 B
Ruby

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