Retrospring/db/migrate/20150704072402_change_defau...

6 lines
148 B
Ruby

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