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

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

class RemoveCiBuildsPartitionIdDefaultV2 < Gitlab::Database::Migration[2.1]
  enable_lock_retries!

  def up
    change_column_default :ci_builds, :partition_id, from: 100, to: nil
  end

  def down
    change_column_default :ci_builds, :partition_id, from: nil, to: 100
  end
end