diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-25 13:37:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-25 13:37:29 +0000 |
commit | dfcc8e1492dc4a30b1cddf600aed105f3284528d (patch) | |
tree | b3dd6b5e52a35bc7e83821a657c631bff5155c7e /db/migrate/094_change_projects_homepage_limit.rb | |
parent | c7d83be6131a386928c48f093a7426505c028dfc (diff) | |
download | redmine-dfcc8e1492dc4a30b1cddf600aed105f3284528d.tar.gz redmine-dfcc8e1492dc4a30b1cddf600aed105f3284528d.zip |
Change projects homepage limit to 255 chars (#663, #1095).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1457 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/094_change_projects_homepage_limit.rb')
-rw-r--r-- | db/migrate/094_change_projects_homepage_limit.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/094_change_projects_homepage_limit.rb b/db/migrate/094_change_projects_homepage_limit.rb new file mode 100644 index 000000000..98374aa4e --- /dev/null +++ b/db/migrate/094_change_projects_homepage_limit.rb @@ -0,0 +1,9 @@ +class ChangeProjectsHomepageLimit < ActiveRecord::Migration + def self.up + change_column :projects, :homepage, :string, :limit => nil, :default => '' + end + + def self.down + change_column :projects, :homepage, :string, :limit => 60, :default => '' + end +end |