17 lines
452 B
Ruby
17 lines
452 B
Ruby
# 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
|
|
# no-op based on https://docs.gitlab.com/ee/development/background_migrations.html#rescheduling-background-migrations
|
|
end
|
|
|
|
def down
|
|
# no-op
|
|
end
|
|
end
|