blob: e5d97d890ab8b059d006602c261256b33d364b54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# frozen_string_literal: true
class ScheduleDestroyInvalidGroupMembers < Gitlab::Database::Migration[2.0]
MIGRATION = 'DestroyInvalidGroupMembers'
DELAY_INTERVAL = 2.minutes
BATCH_SIZE = 1_000
MAX_BATCH_SIZE = 2_000
SUB_BATCH_SIZE = 50
restrict_gitlab_migration gitlab_schema: :gitlab_main
disable_ddl_transaction!
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
|