21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-16 07:28:39 +02:00
chexpire/db/migrate/20180613055303_add_locale_to_users.rb

6 lines
155 B
Ruby

class AddLocaleToUsers < ActiveRecord::Migration[5.2]
def change
add_column :users, :locale, :string, null: false, default: "en", limit: 5
end
end