2014-02-24 21:30:49 -06:00
|
|
|
class SingleSignOnRecord < ActiveRecord::Base
|
|
|
|
belongs_to :user
|
|
|
|
end
|
2014-03-19 23:35:51 -05:00
|
|
|
|
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: single_sign_on_records
|
|
|
|
#
|
2014-08-19 02:49:14 -05:00
|
|
|
# id :integer not null, primary key
|
|
|
|
# user_id :integer not null
|
|
|
|
# external_id :string(255) not null
|
|
|
|
# last_payload :text not null
|
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
|
|
|
# external_username :string(255)
|
|
|
|
# external_email :string(255)
|
|
|
|
# external_name :string(255)
|
|
|
|
# external_avatar_url :string(255)
|
2014-03-19 23:35:51 -05:00
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_single_sign_on_records_on_external_id (external_id) UNIQUE
|
|
|
|
#
|