23 lines
		
	
	
		
			746 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			746 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # == Schema Information
 | |
| #
 | |
| # Table name: users
 | |
| #
 | |
| #  id                     :bigint           not null, primary key
 | |
| #  email                  :string           default(""), not null
 | |
| #  encrypted_password     :string           default(""), not null
 | |
| #  remember_created_at    :datetime
 | |
| #  reset_password_sent_at :datetime
 | |
| #  reset_password_token   :string
 | |
| #  created_at             :datetime         not null
 | |
| #  updated_at             :datetime         not null
 | |
| #
 | |
| # Indexes
 | |
| #
 | |
| #  index_users_on_email                 (email) UNIQUE
 | |
| #  index_users_on_reset_password_token  (reset_password_token) UNIQUE
 | |
| #
 | |
| class User < ApplicationRecord
 | |
|   devise :database_authenticatable, :registerable,
 | |
|          :recoverable, :validatable, :confirmable, :lockable
 | |
| end
 |