Migrate AnomalyNotification to contributor
* Also, this commit aims to fix the (broken) anomaly notifications.
This commit is contained in:

committed by
Sebastian Serth

parent
a1941336d9
commit
9d1be1eeff
@@ -4,6 +4,7 @@ class ExerciseCollection < ApplicationRecord
|
||||
include Creation
|
||||
include TimeHelper
|
||||
|
||||
has_many :anomaly_notifications, dependent: :destroy
|
||||
has_many :exercise_collection_items, dependent: :delete_all
|
||||
alias items exercise_collection_items
|
||||
has_many :exercises, through: :exercise_collection_items, inverse_of: :exercise_collections
|
||||
|
Reference in New Issue
Block a user