Add user locale setting
This commit is contained in:
5
db/migrate/20161116162355_add_locale_to_users.rb
Normal file
5
db/migrate/20161116162355_add_locale_to_users.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class AddLocaleToUsers < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :users, :locale, :string
|
||||
end
|
||||
end
|
@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20161105130633) do
|
||||
ActiveRecord::Schema.define(version: 20161116162355) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@ -203,6 +203,7 @@ ActiveRecord::Schema.define(version: 20161105130633) do
|
||||
t.datetime "confirmed_at"
|
||||
t.datetime "confirmation_sent_at"
|
||||
t.string "unconfirmed_email"
|
||||
t.string "locale"
|
||||
t.index ["account_id"], name: "index_users_on_account_id", using: :btree
|
||||
t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree
|
||||
t.index ["email"], name: "index_users_on_email", unique: true, using: :btree
|
||||
|
Reference in New Issue
Block a user