mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
BUGFIX: facebook does not always provide username
We key on facebook_user_id its the only thing that matters
This commit is contained in:
@@ -9,7 +9,7 @@ end
|
||||
# id :integer not null, primary key
|
||||
# user_id :integer not null
|
||||
# facebook_user_id :integer not null
|
||||
# username :string(255) not null
|
||||
# username :string(255)
|
||||
# first_name :string(255)
|
||||
# last_name :string(255)
|
||||
# email :string(255)
|
||||
@@ -24,4 +24,3 @@ end
|
||||
# index_facebook_user_infos_on_facebook_user_id (facebook_user_id) UNIQUE
|
||||
# index_facebook_user_infos_on_user_id (user_id) UNIQUE
|
||||
#
|
||||
|
||||
|
||||
Reference in New Issue
Block a user