094_change_projects_homepage_limit.rb
9 lines
| 264 B
| text/x-ruby
|
RubyLexer
|
r1443 | 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 | ||||