summaryrefslogtreecommitdiff
path: root/lib/gitlab/cycle_analytics/production_helper.rb
blob: 778757a9ede80ae4e01b55a7bbf688d2d7c64655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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]))
      end
    end
  end
end