2012-01-17 11:48:40 +00:00
|
|
|
class AddLanguageToUsers < ActiveRecord::Migration
|
|
|
|
def self.up
|
2014-01-21 04:51:49 +00:00
|
|
|
add_column :users, :language, :string, default: 'en'
|
2012-01-17 11:48:40 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_column :users, :language
|
|
|
|
end
|
|
|
|
end
|