summaryrefslogtreecommitdiffstats
path: root/db/migrate/094_change_projects_homepage_limit.rb
blob: 950c53ede8e97e1a50e00d4018031dc8f1be257d (plain)
1
2
3
4
5
6
7
8
9
class ChangeProjectsHomepageLimit < ActiveRecord::Migration[4.2]
  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