
* We want to identify a user that has triggered a testrun. Previously (in regular operation), only submission author who were regular users were able to start a testrun. Now, we want to prepare a future where submission authors are programming groups. Still, a testrun is triggered by an individual user and not a group. * Further, this commit fixes some missing foreign key constrains.
9 lines
244 B
Ruby
9 lines
244 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RequireContributorOnSubmission < ActiveRecord::Migration[7.0]
|
|
def change
|
|
change_column_null :submissions, :contributor_id, false
|
|
change_column_null :submissions, :contributor_type, false
|
|
end
|
|
end
|