rosa-build/db/migrate/20120117110723_add_language...

11 lines
221 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
class AddLanguageToUsers < ActiveRecord::Migration
def self.up
add_column :users, :language, :string, :default => 'en'
end
def self.down
remove_column :users, :language
end
end