Mercurial > hg > soundsoftware-site
view db/migrate/094_change_projects_homepage_limit.rb @ 921:39c318bf7263 cannam_integration
Rename the just-restored files as well
author | Chris Cannam |
---|---|
date | Tue, 06 Mar 2012 14:21:25 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
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