2016-08-25 01:54:41 -04:00
|
|
|
class MergeRequest::Metrics < ActiveRecord::Base
|
|
|
|
belongs_to :merge_request
|
2016-11-15 09:22:35 -05:00
|
|
|
belongs_to :pipeline, class_name: 'Ci::Pipeline', foreign_key: :pipeline_id
|
2017-12-07 12:41:30 -05:00
|
|
|
belongs_to :latest_closed_by, class_name: 'User'
|
|
|
|
belongs_to :merged_by, class_name: 'User'
|
2016-08-25 01:54:41 -04:00
|
|
|
end
|