blob: 9de3ac34669265f05e9d0a3e7d3fc56ed8f41371 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# frozen_string_literal: true
class ScheduleDestroyInvalidProjectMembers < Gitlab::Database::Migration[2.0]
MIGRATION = 'DestroyInvalidProjectMembers'
DELAY_INTERVAL = 2.minutes
BATCH_SIZE = 50_000
MAX_BATCH_SIZE = 100_000
SUB_BATCH_SIZE = 200
restrict_gitlab_migration gitlab_schema: :gitlab_main
def up
# no-op
# We want to no-op this due to potential inconsistencies in SM upgrade path
end
def down
# no-op
end
end
|