summaryrefslogtreecommitdiff
path: root/app/models/merge_request/metrics.rb
blob: 9e660eccd86a0dcf9b37832ec00549e48bbf1237 (plain)
1
2
3
4
5
6
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