10 lines
264 B
Ruby
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
|