debian-mirror-gitlab/app/models/ci/build_trace_metadata.rb
2021-10-27 15:23:28 +05:30

13 lines
331 B
Ruby

# frozen_string_literal: true
module Ci
class BuildTraceMetadata < Ci::ApplicationRecord
self.table_name = 'ci_build_trace_metadata'
self.primary_key = :build_id
belongs_to :build, class_name: 'Ci::Build'
belongs_to :trace_artifact, class_name: 'Ci::JobArtifact'
validates :build, presence: true
end
end