diff options
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 27ff9b2..ed3f425 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -3,6 +3,7 @@ class User < ApplicationRecord # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable devise :database_authenticatable, :rememberable - has_many :runs, dependent: :restrict_with_error has_many :checkpoints, through: :runs + has_many :pokedex_entries, dependent: :destroy + has_many :runs, dependent: :restrict_with_error end |