2020-05-11 17:37:22 +00:00
|
|
|
# == Schema Information
|
|
|
|
#
|
2022-01-26 00:58:49 +00:00
|
|
|
# Table name: users
|
2020-05-11 17:37:22 +00:00
|
|
|
#
|
2022-02-15 06:40:53 +00:00
|
|
|
# id :integer not null, primary key
|
|
|
|
# availability :integer default("online")
|
|
|
|
# confirmation_sent_at :datetime
|
|
|
|
# confirmation_token :string
|
|
|
|
# confirmed_at :datetime
|
|
|
|
# current_sign_in_at :datetime
|
|
|
|
# current_sign_in_ip :string
|
|
|
|
# custom_attributes :jsonb
|
|
|
|
# display_name :string
|
|
|
|
# email :string
|
|
|
|
# encrypted_password :string default(""), not null
|
2022-12-12 06:27:01 +00:00
|
|
|
# failed_attempts :integer
|
2022-02-15 06:40:53 +00:00
|
|
|
# last_sign_in_at :datetime
|
|
|
|
# last_sign_in_ip :string
|
2022-12-12 06:27:01 +00:00
|
|
|
# locked_at :datetime
|
2022-02-15 06:40:53 +00:00
|
|
|
# message_signature :text
|
|
|
|
# name :string not null
|
|
|
|
# provider :string default("email"), not null
|
|
|
|
# pubsub_token :string
|
|
|
|
# remember_created_at :datetime
|
|
|
|
# reset_password_sent_at :datetime
|
|
|
|
# reset_password_token :string
|
|
|
|
# sign_in_count :integer default(0), not null
|
|
|
|
# tokens :json
|
|
|
|
# type :string
|
|
|
|
# ui_settings :jsonb
|
|
|
|
# uid :string default(""), not null
|
|
|
|
# unconfirmed_email :string
|
2022-12-12 06:27:01 +00:00
|
|
|
# unlock_token :string
|
2022-02-15 06:40:53 +00:00
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2020-05-11 17:37:22 +00:00
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
2022-01-26 00:58:49 +00:00
|
|
|
# index_users_on_email (email)
|
|
|
|
# index_users_on_pubsub_token (pubsub_token) UNIQUE
|
|
|
|
# index_users_on_reset_password_token (reset_password_token) UNIQUE
|
|
|
|
# index_users_on_uid_and_provider (uid,provider) UNIQUE
|
2020-05-11 17:37:22 +00:00
|
|
|
#
|
2022-01-26 00:58:49 +00:00
|
|
|
class SuperAdmin < User
|
2020-05-11 17:37:22 +00:00
|
|
|
end
|