summaryrefslogtreecommitdiff
path: root/app/models/user.rb
blob: ed3f42541e01d3f0d0751b00db1a31b4fc021e79 (plain)
1
2
3
4
5
6
7
8
9
class User < ApplicationRecord
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
  devise :database_authenticatable, :rememberable

  has_many :checkpoints, through: :runs
  has_many :pokedex_entries, dependent: :destroy
  has_many :runs, dependent: :restrict_with_error
end