2014-05-22 06:19:40 +08:00
|
|
|
class GoogleUserInfo < ActiveRecord::Base
|
|
|
|
belongs_to :user
|
|
|
|
end
|
2014-05-28 09:49:50 +08:00
|
|
|
|
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: google_user_infos
|
|
|
|
#
|
|
|
|
# id :integer not null, primary key
|
|
|
|
# user_id :integer not null
|
2017-12-05 23:29:14 +08:00
|
|
|
# google_user_id :string(255) not null
|
|
|
|
# first_name :string(255)
|
|
|
|
# last_name :string(255)
|
|
|
|
# email :string(255)
|
|
|
|
# gender :string(255)
|
|
|
|
# name :string(255)
|
|
|
|
# link :string(255)
|
|
|
|
# profile_link :string(255)
|
|
|
|
# picture :string(255)
|
2014-08-27 13:19:25 +08:00
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2014-05-28 09:49:50 +08:00
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_google_user_infos_on_google_user_id (google_user_id) UNIQUE
|
|
|
|
# index_google_user_infos_on_user_id (user_id) UNIQUE
|
|
|
|
#
|