2019-05-02 17:17:27 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-02-13 13:01:01 -06:00
|
|
|
class UserAuthTokenLog < ActiveRecord::Base
|
2018-08-31 03:18:06 -05:00
|
|
|
belongs_to :user
|
2017-02-13 13:01:01 -06:00
|
|
|
end
|
2017-03-22 01:26:53 -05:00
|
|
|
|
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: user_auth_token_logs
|
|
|
|
#
|
|
|
|
# id :integer not null, primary key
|
|
|
|
# action :string not null
|
|
|
|
# user_auth_token_id :integer
|
|
|
|
# user_id :integer
|
|
|
|
# client_ip :inet
|
|
|
|
# user_agent :string
|
|
|
|
# auth_token :string
|
|
|
|
# created_at :datetime
|
|
|
|
# path :string
|
|
|
|
#
|
2019-04-26 03:23:27 -05:00
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_user_auth_token_logs_on_user_id (user_id)
|
|
|
|
#
|