add everything to manage reputations

This commit is contained in:
2021-05-01 00:22:15 +02:00
parent ca80fd55fa
commit d227cdc87c
30 changed files with 366 additions and 43 deletions

View 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