1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-17 14:38:13 +00:00
redmine/rails-2.1/db/migrate/094_change_projects_homepage_limit.rb
Jean-Philippe Lang e61f35981c Rails 2.1 compatibility branch added.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-27 17:20:00 +00:00

10 lines
264 B
Ruby

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