add creature and base rp_world

This commit is contained in:
2021-06-02 22:24:04 +02:00
parent 5b3da08707
commit 62464846a3
56 changed files with 432 additions and 13 deletions

View File

@@ -17,6 +17,8 @@ class WowCharacter < ApplicationRecord
has_one :wow_character_medium, dependent: :destroy
has_many :wow_standings, dependent: :destroy
has_many :wow_reputations, through: :wow_standings
has_many :wow_character_play_rp_worlds, dependent: :destroy
has_many :rp_worlds, through: :wow_character_play_rp_worlds
validates :name, presence: true
validates :character_id, presence: true, uniqueness: true