add everything to manage reputations
This commit is contained in:
6
app/models/wow_reputation_tier.rb
Normal file
6
app/models/wow_reputation_tier.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class WowReputationTier < ApplicationRecord
|
||||
has_many :wow_reputations, dependent: :nullify
|
||||
has_many :wow_reputation_tier_levels, dependent: :destroy
|
||||
|
||||
validates :reputation_tier_id, presence: true, uniqueness: true
|
||||
end
|
||||
Reference in New Issue
Block a user