Raised maximum length of project names and identifiers to 255 and 100 respectively (#6446).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4402 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
eaab2ede76
commit
8ef06826c3
4 files changed
+26
-5
No files matched your search
@@ -0,0 +1,9 @@
|
||||
class ChangeProjectsNameLimit < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_column :projects, :name, :string, :limit => nil, :default => '', :null => false
|
||||
end
|
||||
|
||||
def self.down
|
||||
change_column :projects, :name, :string, :limit => 30, :default => '', :null => false
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
class ChangeProjectsIdentifierLimit < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_column :projects, :identifier, :string, :limit => nil
|
||||
end
|
||||
|
||||
def self.down
|
||||
change_column :projects, :identifier, :string, :limit => 20
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user