2014-05-21 17:19:40 -05:00
|
|
|
class GoogleUserInfo < ActiveRecord::Base
|
|
|
|
belongs_to :user
|
|
|
|
end
|
2014-05-27 20:49:50 -05:00
|
|
|
|
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: google_user_infos
|
|
|
|
#
|
|
|
|
# id :integer not null, primary key
|
|
|
|
# user_id :integer not null
|
2016-02-22 17:33:53 -06:00
|
|
|
# google_user_id :string not null
|
|
|
|
# first_name :string
|
|
|
|
# last_name :string
|
|
|
|
# email :string
|
|
|
|
# gender :string
|
|
|
|
# name :string
|
|
|
|
# link :string
|
|
|
|
# profile_link :string
|
|
|
|
# picture :string
|
2014-08-27 00:19:25 -05:00
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2014-05-27 20:49:50 -05:00
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_google_user_infos_on_google_user_id (google_user_id) UNIQUE
|
|
|
|
# index_google_user_infos_on_user_id (user_id) UNIQUE
|
|
|
|
#
|