Refactor LTI parameters and add study group

* This change also requires that submissions in our test need to have a valid study group.
This commit is contained in:
Sebastian Serth
2023-08-19 11:28:57 +02:00
committed by Sebastian Serth
parent e2baa2ee55
commit e3603758ef
18 changed files with 114 additions and 54 deletions

View File

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