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

10 lines
194 B
Ruby

class AddLanguageToUsers < ActiveRecord::Migration
def self.up
add_column :users, :language, :string, :default => 'en'
end
def self.down
remove_column :users, :language
end
end