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

20220902065317_add_partition_id_to_ci_builds.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6257164b44e5bc709bdd968490b7d95e986289f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class AddPartitionIdToCiBuilds < Gitlab::Database::Migration[2.0]
  enable_lock_retries!

  # rubocop:disable Migration/AddColumnsToWideTables
  def change
    add_column :ci_builds, :partition_id, :bigint, default: 100, null: false
  end
  # rubocop:enable Migration/AddColumnsToWideTables
end