Renames confirmed_oauth_email to oauth_email
Refactors the way oauth_email is used to cover more cases (fixes pending specs)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class RenameConfirmedOauthEmailToOauthEmail < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :users, :confirmed_oauth_email, :oauth_email
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20160125100637) do
|
||||
ActiveRecord::Schema.define(version: 20160126090634) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -398,7 +398,7 @@ ActiveRecord::Schema.define(version: 20160125100637) do
|
||||
t.integer "notifications_count", default: 0
|
||||
t.string "locale"
|
||||
t.boolean "registering_with_oauth", default: false
|
||||
t.string "confirmed_oauth_email"
|
||||
t.string "oauth_email"
|
||||
end
|
||||
|
||||
add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree
|
||||
|
||||
Reference in New Issue
Block a user