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

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

class ChangeBatchedBackgroundMigrationsBatchClassNameDefault < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def change
    change_column_default :batched_background_migrations, :batch_class_name,
      from: 'Gitlab::Database::BackgroundMigration::PrimaryKeyBatchingStrategy', to: 'PrimaryKeyBatchingStrategy'
  end
end