add creature and base rp_world
This commit is contained in:
7
app/models/wow_character_play_rp_world.rb
Normal file
7
app/models/wow_character_play_rp_world.rb
Normal 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
|
||||
Reference in New Issue
Block a user