Files
codeocean/db/migrate/20181122090244_add_study_group_to_submission.rb
2018-12-12 12:09:52 +01:00

6 lines
175 B
Ruby

class AddStudyGroupToSubmission < ActiveRecord::Migration[5.2]
def change
add_reference :submissions, :study_group, index: true, null: true, foreign_key: true
end
end