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

20221213064717_change_default_partition_id_on_ci_resources.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 889659cdc2c516148843b17fcd39cb1efe67a06c (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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

  def change
    change_column_default :ci_resources, :partition_id, from: 100, to: nil
  end
end