debian-mirror-gitlab/lib/gitlab/cycle_analytics/production_helper.rb
2019-02-15 15:39:39 +05:30

14 lines
342 B
Ruby

# frozen_string_literal: true
module Gitlab
module CycleAnalytics
module ProductionHelper
def stage_query(project_ids)
super(project_ids)
.where(mr_metrics_table[:first_deployed_to_production_at]
.gteq(@options[:from])) # rubocop:disable Gitlab/ModuleWithInstanceVariables
end
end
end
end