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

  def self.down
    raise ActiveRecord::IrreversibleMigration
  end
end