mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add survey with target after_event
This commit is contained in:
parent
e1adf28081
commit
9908f88570
10 changed files with 45 additions and 9 deletions
|
|
@ -21,6 +21,7 @@ class Event < ApplicationRecord
|
|||
has_many :votes, dependent: :destroy
|
||||
has_many :voters, through: :votes, source: :user
|
||||
has_many :commercials, as: :commercialable, dependent: :destroy
|
||||
has_many :surveys, as: :surveyable, dependent: :destroy
|
||||
belongs_to :event_type
|
||||
|
||||
has_many :events_registrations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue