diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-14 12:33:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-14 12:33:14 +0000 |
commit | 8ef06826c31b3042f6720c249199504a49e08c01 (patch) | |
tree | e6025ddc383960429ab63b9e4a17b591339c51b2 /db/migrate/20101114115114_change_projects_name_limit.rb | |
parent | eaab2ede76c9bb3d1ed89af87029316a32e9968f (diff) | |
download | redmine-8ef06826c31b3042f6720c249199504a49e08c01.tar.gz redmine-8ef06826c31b3042f6720c249199504a49e08c01.zip |
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
Diffstat (limited to 'db/migrate/20101114115114_change_projects_name_limit.rb')
-rw-r--r-- | db/migrate/20101114115114_change_projects_name_limit.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20101114115114_change_projects_name_limit.rb b/db/migrate/20101114115114_change_projects_name_limit.rb new file mode 100644 index 000000000..fabc3c9d8 --- /dev/null +++ b/db/migrate/20101114115114_change_projects_name_limit.rb @@ -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 |