bigdir/db/migrate/044_set_language_length_to_...

10 lines
209 B
Ruby

class SetLanguageLengthToFive < ActiveRecord::Migration
def self.up
change_column :users, :language, :string, :limit => 5, :default => ""
end
def self.down
raise IrreversibleMigration
end
end