Corrects the logic dealing with confirmations of users via oauth

This commit is contained in:
kikito
2016-01-25 12:13:25 +01:00
parent 248bff712c
commit 98f99954e7
4 changed files with 23 additions and 9 deletions

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160122153329) do
ActiveRecord::Schema.define(version: 20160125100637) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -398,6 +398,7 @@ ActiveRecord::Schema.define(version: 20160122153329) do
t.integer "notifications_count", default: 0
t.string "locale"
t.boolean "registering_with_oauth", default: false
t.string "confirmed_oauth_email"
end
add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree