mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
22 lines
466 B
Ruby
22 lines
466 B
Ruby
# frozen_string_literal: true
|
|
|
|
class FinalizeHkResyncApprovalPolicies < Gitlab::Database::Migration[2.3]
|
|
milestone '18.3'
|
|
|
|
disable_ddl_transaction!
|
|
|
|
restrict_gitlab_migration gitlab_schema: :gitlab_main_cell
|
|
|
|
def up
|
|
ensure_batched_background_migration_is_finished(
|
|
job_class_name: 'ResyncApprovalPolicies',
|
|
table_name: :security_policies,
|
|
column_name: :id,
|
|
job_arguments: [],
|
|
finalize: true
|
|
)
|
|
end
|
|
|
|
def down; end
|
|
end
|