Files
codeocean/app/models/testrun.rb
2022-04-15 15:22:19 +02:00

8 lines
241 B
Ruby

# frozen_string_literal: true
class Testrun < ApplicationRecord
belongs_to :file, class_name: 'CodeOcean::File', optional: true
belongs_to :submission
belongs_to :testrun_execution_environment, optional: true, dependent: :destroy
end