044_set_language_length_to_five.rb
9 lines
| 209 B
| text/x-ruby
|
RubyLexer
|
r515 | class SetLanguageLengthToFive < ActiveRecord::Migration | ||
def self.up | ||||
change_column :users, :language, :string, :limit => 5, :default => "" | ||||
end | ||||
def self.down | ||||
raise IrreversibleMigration | ||||
end | ||||
end | ||||