Changed the maximum length of LDAP account to 255 characters.
Added length validations on AuthSource model. git-svn-id: http://redmine.rubyforge.org/svn/trunk@948 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
8c65cc4712
commit
7d8af70a63
2 files changed
+12
No files matched your search
@@ -0,0 +1,9 @@
|
||||
class ChangeAuthSourcesAccountLimit < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_column :auth_sources, :account, :string
|
||||
end
|
||||
|
||||
def self.down
|
||||
change_column :auth_sources, :account, :string, :limit => 60
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user