blob: 9aeb09f8dded1b6a78aa63c4ee7b09383aa5636d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# frozen_string_literal: true
class FinalizeDeleteInvalidProtectedTagCreateAccessLevels < Gitlab::Database::Migration[2.2]
milestone '16.8'
MIGRATION = 'DeleteInvalidProtectedTagCreateAccessLevels'
disable_ddl_transaction!
restrict_gitlab_migration gitlab_schema: :gitlab_main
def up
ensure_batched_background_migration_is_finished(
job_class_name: MIGRATION,
table_name: :protected_tag_create_access_levels,
column_name: :id,
job_arguments: [],
finalize: true
)
end
def down
# no-op
end
end
|