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

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

class RemovePartitionIdDefaultValueForCiPipelineArtifact < Gitlab::Database::Migration[2.2]
  milestone '16.9'
  enable_lock_retries!

  TABLE_NAME = :ci_pipeline_artifacts
  COLUM_NAME = :partition_id

  def change
    change_column_default(TABLE_NAME, COLUM_NAME, from: 100, to: nil)
  end
end