add geo info and do refractor on workers
This commit is contained in:
@@ -9,6 +9,8 @@ class WowCharacter < ApplicationRecord
|
||||
belongs_to :wow_class
|
||||
belongs_to :wow_race
|
||||
belongs_to :wow_character_title, optional: true
|
||||
belongs_to :last_position, class_name: 'WowGeoPosition', optional: true
|
||||
belongs_to :bind_position, class_name: 'WowGeoPosition', optional: true
|
||||
has_one :wow_character_medium, dependent: :nullify
|
||||
|
||||
validates :name, presence: true
|
||||
|
||||
Reference in New Issue
Block a user