discourse/app/models/single_sign_on_record.rb

24 lines
657 B
Ruby
Raw Normal View History

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-22 12:01:44 -05:00
# id :integer not null, primary key
# user_id :integer not null
2016-02-22 17:33:53 -06:00
# external_id :string not null
2014-08-22 12:01:44 -05:00
# last_payload :text not null
# created_at :datetime not null
# updated_at :datetime not null
2016-02-22 17:33:53 -06:00
# external_username :string
# external_email :string
# external_name :string
# external_avatar_url :string
2014-03-19 23:35:51 -05:00
#
# Indexes
#
# index_single_sign_on_records_on_external_id (external_id) UNIQUE
#