summaryrefslogtreecommitdiffstats
path: root/db/migrate/20090318181151_extend_settings_name.rb
blob: eca03d555e5b300242e98c87e7a1ca0974de6db0 (plain)
1
2
3
4
5
6
7
8
9
class ExtendSettingsName < ActiveRecord::Migration
  def self.up
    change_column :settings, :name, :string, :limit => 255, :default => '', :null => false
  end

  def self.down
    raise ActiveRecord::IrreversibleMigration
  end
end