Retrospring/db/migrate/20150704072402_change_defau...

6 lines
148 B
Ruby
Raw Normal View History

class ChangeDefaultValueOfLocale < ActiveRecord::Migration[4.2]
def change
change_column :users, :locale, :string, :default => 'en'
end
end