Add StudyGroups with ExternalUsers only

This commit is contained in:
Sebastian Serth
2018-11-26 17:06:35 +01:00
parent 141450a840
commit b137e64020
12 changed files with 86 additions and 6 deletions

View File

@ -6,6 +6,7 @@ class Submission < ApplicationRecord
FILENAME_URL_PLACEHOLDER = '{filename}'
belongs_to :exercise
belongs_to :study_group, optional: true
has_many :testruns
has_many :structured_errors