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,7 @@
class WowCharacterPlayRpWorld < ApplicationRecord
belongs_to :wow_character
belongs_to :rp_world
validates :status, presence: true, format: { with: /(INVITED|PENDING|PLAYING|BANNED)/ }
validates :role, presence: true, format: { with: /(PLAYER|MODERATOR|ADMIN)/ }
end