retrospring/db/migrate/20150704072402_change_default_value_of_locale.rb
2023-10-21 13:01:07 +02:00

7 lines
176 B
Ruby

# frozen_string_literal: true
class ChangeDefaultValueOfLocale < ActiveRecord::Migration[4.2]
def change
change_column :users, :locale, :string, default: "en"
end
end