2022-04-20 00:09:27 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class FinalizeTraversalIdsBackgroundMigrations < Gitlab::Database::Migration[1.0]
|
2022-05-13 03:08:13 +00:00
|
|
|
disable_ddl_transaction!
|
|
|
|
|
2022-04-20 00:09:27 +00:00
|
|
|
def up
|
|
|
|
finalize_background_migration('BackfillNamespaceTraversalIdsRoots')
|
|
|
|
finalize_background_migration('BackfillNamespaceTraversalIdsChildren')
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
# no-op
|
|
|
|
end
|
|
|
|
end
|