2021-11-19 12:12:41 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class ScheduleRecalculateVulnerabilityFindingSignaturesForFindings < Gitlab::Database::Migration[1.0]
|
|
|
|
MIGRATION = 'RecalculateVulnerabilityFindingSignaturesForFindings'
|
|
|
|
BATCH_SIZE = 1_000
|
|
|
|
DELAY_INTERVAL = 2.minutes
|
|
|
|
|
|
|
|
disable_ddl_transaction!
|
|
|
|
|
|
|
|
def up
|
2022-01-21 03:11:08 +00:00
|
|
|
# no-op based on https://docs.gitlab.com/ee/development/background_migrations.html#rescheduling-background-migrations
|
2021-11-19 12:12:41 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
# no-op
|
|
|
|
end
|
|
|
|
end
|