Files
codeocean/app/models/anomaly_notification.rb
2018-11-06 16:46:00 +01:00

6 lines
145 B
Ruby

class AnomalyNotification < ApplicationRecord
belongs_to :user, polymorphic: true
belongs_to :exercise
belongs_to :exercise_collection
end