Verified Commit 3d4d024a authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

feat(semester_process_volunteer): complete model through relations for mission

parent 52215d72
......@@ -9,6 +9,9 @@ class SemesterProcessVolunteer < ApplicationRecord
inverse_of: 'semester_processes', optional: true
has_many :semester_process_volunteer_missions, dependent: :destroy
has_many :assignments, through: :semester_process_volunteer_missions
has_many :group_assignments, through: :semester_process_volunteer_missions
has_many :semester_feedbacks, dependent: :destroy
has_many :hours, dependent: :nullify
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment