mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
7 lines
169 B
Ruby
7 lines
169 B
Ruby
class CharacterEnemy < ApplicationRecord
|
|
belongs_to :user, optional: true
|
|
belongs_to :character
|
|
|
|
belongs_to :enemy, class_name: Character.name, optional: true
|
|
end
|