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

10 lines
191 B
Ruby
Raw Permalink Normal View History

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