class ExtendSettingsName < ActiveRecord::Migration
def self.up
change_column :settings, :name, :string, :limit => 255, :default => '', :null => false
end
def self.down
raise ActiveRecord::IrreversibleMigration