retrospring/db/migrate/20150704072402_change_default_value_of_locale.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
176 B
Ruby
Raw Normal View History

2023-10-20 01:37:34 +02:00
# frozen_string_literal: true
class ChangeDefaultValueOfLocale < ActiveRecord::Migration[4.2]
def change
2023-10-20 01:37:34 +02:00
change_column :users, :locale, :string, default: "en"
end
end