mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-16 15:57:22 +00:00
22 lines
455 B
Ruby
22 lines
455 B
Ruby
# frozen_string_literal: true
|
|
|
|
class FinalizeHkBackfillZoektReplicas < Gitlab::Database::Migration[2.2]
|
|
milestone '17.9'
|
|
|
|
disable_ddl_transaction!
|
|
|
|
restrict_gitlab_migration gitlab_schema: :gitlab_main
|
|
|
|
def up
|
|
ensure_batched_background_migration_is_finished(
|
|
job_class_name: 'BackfillZoektReplicas',
|
|
table_name: :zoekt_indices,
|
|
column_name: :id,
|
|
job_arguments: [],
|
|
finalize: true
|
|
)
|
|
end
|
|
|
|
def down; end
|
|
end
|