trustieforge/db/migrate/094_change_projects_homepag...

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