Retrospring/db/migrate/20150704072402_change_defau...

8 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