mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 06:01:12 +00:00
Merge pull request #448 from ChrisBr/introduce_participants_relation
Introduces participants relation to conference #416
This commit is contained in:
commit
70e3d0af35
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ class Conference < ActiveRecord::Base
|
|||
has_many :difficulty_levels, dependent: :destroy
|
||||
has_many :rooms, dependent: :destroy
|
||||
has_many :registrations, dependent: :destroy
|
||||
has_many :participants, through: :registrations, source: :user
|
||||
has_many :vdays, dependent: :destroy
|
||||
has_many :vpositions, dependent: :destroy
|
||||
has_many :sponsorship_levels, dependent: :destroy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue