# == Schema Information # # Table name: admins # # id :bigint(8) not null, primary key # email :string(255) default(""), not null # description :string(80) # encrypted_password :string(255) default(""), not null # reset_password_token :string(255) # reset_password_sent_at :datetime # remember_created_at :datetime # sign_in_count :integer default(0), not null # current_sign_in_at :datetime # last_sign_in_at :datetime # current_sign_in_ip :string(255) # last_sign_in_ip :string(255) # failed_attempts :integer default(0), not null # unlock_token :string(255) # locked_at :datetime # created_at :datetime not null # updated_at :datetime not null # # Administrators of application class Admin < ApplicationRecord # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable, :registerable, devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable end