improve achievement management and and views
This commit is contained in:
@@ -19,4 +19,6 @@ class WowAchievement < ApplicationRecord
|
||||
|
||||
validates :name, presence: true
|
||||
validates :achievement_id, presence: true, uniqueness: true
|
||||
|
||||
scope :base_achievements, -> { where(prerequisite_achievement: nil) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user