20090318181151_extend_settings_name.rb
9 lines
| 235 B
| text/x-ruby
|
RubyLexer
|
r2531 | 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 | ||||