socialforge/db/migrate/094_change_projects_homepag...

10 lines
264 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
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