retrospring/db/migrate/20150704072402_change_default_value_of_locale.rb
2020-04-19 18:10:31 +02:00

5 lines
148 B
Ruby

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