Add StudyGroup to RemoteEvaluationMapping

This commit is contained in:
Sebastian Serth
2021-04-26 16:40:34 +02:00
parent 91a0e4a7d5
commit 4958f5b9a9
7 changed files with 20 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddStudyGroupToRemoteEvaluationMapping < ActiveRecord::Migration[5.2]
def change
add_reference :remote_evaluation_mappings, :study_group, index: true, null: true, foreign_key: true
end
end