summaryrefslogtreecommitdiff
path: root/app/models/merge_request/metrics.rb
blob: 65e94a97b0afc1ca576d01ccf304d8833844ecb5 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class MergeRequest::Metrics < ActiveRecord::Base
  belongs_to :merge_request
  belongs_to :pipeline, class_name: 'Ci::Pipeline', foreign_key: :pipeline_id
  belongs_to :latest_closed_by, class_name: 'User'
  belongs_to :merged_by, class_name: 'User'
end