Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220322205004_change_search_rate_limit_default_values.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 34ebdddb8ebc1a578578e321e83e428e2e91ad84 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class ChangeSearchRateLimitDefaultValues < Gitlab::Database::Migration[1.0]
  def change
    change_column_default :application_settings, :search_rate_limit, from: 30, to: 300
    change_column_default :application_settings, :search_rate_limit_unauthenticated, from: 10, to: 100
  end
end