clarion/app/models/conflict_count.rb
2019-04-28 22:02:02 +03:00

6 lines
164 B
Ruby

class ConflictCount < ActiveRecord::Base
belongs_to :left, class_name: "Event"
belongs_to :right, class_name: "Event"
has_one :conference, through: :left
end