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

@@ -0,0 +1,10 @@
class WowCreature < ApplicationRecord
extend Mobility
translates :name
belongs_to :wow_creature_family, optional: true
belongs_to :wow_creature_type, optional: true
validates :name, presence: true
validates :creature_id, presence: true, uniqueness: true
end