debian-mirror-gitlab/lib/gitlab/cycle_analytics/production_helper.rb

14 lines
288 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
module Gitlab
module CycleAnalytics
module ProductionHelper
2018-03-27 19:54:05 +05:30
def stage_query(project_ids)
super(project_ids)
2018-03-17 18:26:18 +05:30
.where(mr_metrics_table[:first_deployed_to_production_at]
2019-09-30 21:07:59 +05:30
.gteq(options[:from]))
2017-08-17 22:00:37 +05:30
end
end
end
end