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

20230908072626_analyze_p_ci_builds_metadata.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ba75d9e6bd677bedffcba06f8a5e4d1005d449b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class AnalyzePCiBuildsMetadata < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    disable_statement_timeout do
      execute('ANALYZE VERBOSE p_ci_builds_metadata;')
    end
  end

  def down
    # no-op
  end
end