2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-02-13 14:01:01 -05:00
|
|
|
class UserAuthTokenLog < ActiveRecord::Base
|
2018-08-31 04:18:06 -04:00
|
|
|
belongs_to :user
|
2017-02-13 14:01:01 -05:00
|
|
|
end
|
2017-03-22 02:26:53 -04: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 04:23:27 -04:00
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_user_auth_token_logs_on_user_id (user_id)
|
|
|
|
#
|