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

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

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

  TABLE = :ci_pipelines
  COLUMNS = %i[id]

  def up
    initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
  end

  def down
    revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS)
  end
end